If I understand what you're after, the requested behavior would break compliance with the XML specification. See http://www.w3.org/TR/2004/REC-xml-20040204/#AVNormalize.


From: Tim Howson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 12:16 PM
To: '[EMAIL PROTECTED]'
Subject: Whitespace preservation and SAXParser

Hi,

 

Is it possible to return whitespace information within tags ie. carriage returns found in attribute values or carriage returns within a tag using the SAXParser?  I haven't come across anything yet.  It is just people tend to complain when we process there files and they don't come back exactly the same.  It is not a huge problem, but it would be nice.

 

Regards,

 

 

Tim H

Reply via email to