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

Too much malformed data is reported

           Summary: Too much malformed data is reported
           Product: Xerces2-J
           Version: 2.6.1
          Platform: All
               URL: http://dev.w3.org/cvsweb/~checkout~/2001/XML-Test-
                    Suite/xmlconf/xmltest/not-wf/sa/027.xml?content-
                    type=text/plain
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Consider the following malformed test case from the W3C XML conformance test
suite <xmltest/not-wf/sa/027.xml.html>:

<doc>
<!-- abc
</doc>

When processing this document with SAX, Xerces reports the content of the
malformed comment by invoking the characters method. That is, it reports <!--
abc as character data. There is no possible way anything later in the file could
change this into character data. Thus there is no way for the parser to think
that this is well-formed character data. Xerces should report a fatal error and
not report the <!-- abc as content.

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

Reply via email to