I do include a DTD and I also call

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.
    

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

Reply via email to