[SoapRMI] XPP bug parsing XML comments
Henry Minsky
hqm_at_ai.mit.edu
Sat, 08 Mar 2003 09:49:56 -0500
I am running v 3.1.1.2 of the XPP parser. I have found what seems to be a
bug in parsing
XML comments.
If you parse the following XML, the comment shows up as a regular
non-whitespace TEXT
event:
<foo><!-- this is a comment -->
</foo>
But if you add a newline or remove one, the comment is correctly ignored:
(1)
<foo><!-- this is a comment --></foo>
(2)
<foo>
<!-- this is a comment -->
</foo>
I am not sure if this is a bug or some adherence to some obscure XML
standards issue.
Anyway, I don't expect comments to show up in the parse stream...