You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2004/02/22 20:02:16 UTC

DO NOT REPLY [Bug 27145] New: - Mozilla includes extra data from comments

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

Mozilla includes extra data from comments

           Summary: Mozilla includes extra data from comments
           Product: Xerces2-J
           Version: 2.6.1
          Platform: Other
               URL: http://dev.w3.org/cvsweb/~checkout~/2001/XML-Test-
                    Suite/xmlconf/ibm/valid/P09/ibm09v05.xml?rev=1.1.1.1&con
                    tent-type=text/plain
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: elharo@metalab.unc.edu


When processing the test case ibm09v05.xml, Xerces-J passes the data form the
comment to the characters method:

That is the output looks like this

This is a test of My Name is first , last , middle and my age is 21 testing
entity value with combination reference  Again first , last , middle first ,
last , middle and my status is \n\t\tfreshman freshman and first , last , middle
21 first , last , middle freshman That is all.</characters>


The text, "testing entity value with combination reference" comes from the
preceding comment.

This bug does not appear when the document is parsed in isolation. It seems to
require parser reuse. I am not yet sure which other document in the test suite
kicks the parser into the incorrect state whihc is then exposed on parsing a
later document.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org