[
Lists Home |
Date Index |
Thread Index
]
Ronald Bourret wrote:
> According to the XML specification, all white space is significant --
> that is, the processor (parser) must pass it to the application and let
> the application decide what to do with it.
Correct.
> "Insignificant whitespace" is a concept introduced by SAX 1.0 for the
> situation you described -- whitespace that appears between child
> elements in an element known to have element content.\
In fact the SAX term is "ignorable whitespace", and it means
ignorable *by the application* (usually), not by the processor.
However, the concept though not the term is present in the XML 1.0
Recommendation, which requires that if a processor knows that an
element does not allow character content, any whitespace it does
contain be specially marked.
--
Not to perambulate || John Cowan <jcowan@reutershealth.com>
the corridors || http://www.reutershealth.com
during the hours of repose || http://www.ccil.org/~cowan
in the boots of ascension. \\ Sign in Austrian ski-resort hotel
|