DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16968>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16968

XercesDOMParser generates whitespace text nodes

           Summary: XercesDOMParser generates whitespace text nodes
           Product: Xerces-C++
           Version: Nightly build (please specify the date)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am using nightly build on Jan 11, 2003. This problem is most probably with 
other builds too. I used DOMWriter with gFormatPrettyPrint = true and 
gMyEOLSequence = XMLString::transcode( "\r\n" ) to add linefeed to the xml 
file, hence the xml file generated by DOMWriter contains some empty lines 
without text. Then I used XercesDOMParser to read the xml file and build DOM 
again. Because XercesDOMParser generates whitespace text nodes with tag 
of "#text", and my application will choke on it because it doesn't expect to 
get "#text" nodes.

How can I ask XercesDOMParser not to generate whitespace text nodes?

Yifan

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

Reply via email to