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=21415>.
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=21415

bug in XercesDOMParser treatment of whitespace and empty elements





------- Additional Comments From [EMAIL PROTECTED]  2003-07-11 16:22 -------
David,

  I've tried to reproduce your result but get a different result.

  1. First I modify the sample MemParse,  
     . add the line 
       #include <xercesc/parsers/XercesDOMParser.hpp>
     . change the line 
       SAXParser* parser = new SAXParser;       to
       XercesDOMParser *parser = new XercesDOMParser;
     . comment out 
       parser->setValidationScheme(valScheme);  and
       parser->setValidationScheme(valScheme);
     . change the line
       static const char*  gXMLInMemBuf = "<outer> <a></a><b>\n</b> </outer>";

      and result the sample, the result is something like this
       <outer> <a></a><b>
       </b> </outer>

   2. Second, I put your string into a file, and feed it to the sample DOMPrint 
      and i have the same result as #1.

   3. Last, in fact, the pair <b></b> is quivalent to <b/>, and there is **no 
      space** in between <b></b>.

   Please let us know what do you think, thanks.

Rgds,
PeiYong

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

Reply via email to