xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HERRICK, CHUCK (SBCSI)" <CH6...@momail.sbc.com>
Subject RE: Xerces 1.0.2 DOMParser, whitespace and #text elements
Date Wed, 08 Mar 2000 22:25:22 GMT
Nope, my document does indeed have a
DOCTYPE line. In fact, the DTD is in 
a separate file, and it parses just fine,
using DOMParser with validation turned

Where should we go next?

	many thanks for your kind help!

-----Original Message-----
From: Andy Clark [mailto:andyc@apache.org]
Sent: Wednesday, March 08, 2000 4:07 PM
To: general@xml.apache.org
Subject: Re: Xerces 1.0.2 DOMParser, whitespace and #text elements

> 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