OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Q. about 'DOM-Hash-total'

[ 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS