xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Clark <an...@apache.org>
Subject Re: Xerces 1.0.2 DOMParser, whitespace and #text elements
Date Wed, 08 Mar 2000 22:07:09 GMT
> you get #text nodes that contain the white space
> (new line, tab, spaces, etc).
> What's up with that?

This is all clearly documented on the features page. For the 
parser to know that the whitespace can be ignored, there *must* 
be a DTD associated with the document. So my number one guess 
would be that your document does not have a DOCTYPE line. Is
this true?

Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org

View raw message