Hmm...I'd have thought so, but I'm clearly overlooking something. Check
out the mailing list archives; this topic comes up fairly regularly. (Maybe this
should be a FAQ.)
-----Original Message-----I do include a DTD and I also call
From: Jason Jesso [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 3:52 PM
To: [EMAIL PROTECTED]
Subject: Re: ignoring white space
parser->setValidationScheme( XercesDOMParser::Val_Always );
Is this good enough for the parser?
Thanks
Jesse Pelton wrote:
Do your documents include a DTD that allows the parser to determine what is ignorable whitespace?-----Original Message----- From: Jason Jesso [mailto:[EMAIL PROTECTED]] Sent: Monday, December 08, 2003 3:39 PM To: [EMAIL PROTECTED] Subject: ignoring white space Hi: I don't see a mailing list for users of Xerces C++. Sorry if I got the wrong list. My problem is: I want to ignore white space in parsing a document. I do call this when setting up the parser: parser->setIncludeIgnorableWhitespace( false ); I still get #text nodes in the parsing of the document. Am I doing something wrong? Where I expect there to be a parent node I get a text node and get null. Thanks.
