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

BOM is not consumed by XMLEntityManager when user sets encoding on InputSource

           Summary: BOM is not consumed by XMLEntityManager when user sets
                    encoding on InputSource
           Product: Xerces2-J
           Version: 2.2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If a user attempts to parse a UTF-8 document containing a BOM using an 
InputSource, and sets the encoding to UTF-8 on the InputSource, 
XMLEntityManager.setupCurrentEntity() will not consume the BOM. This causes a 
parse error since the BOM is returned as the first character from UTF8Reader.

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

Reply via email to