xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18828] New: - setEntityResolver(null) throws NulPointerException
Date Tue, 08 Apr 2003 18:04:01 GMT
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=18828>.
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=18828

setEntityResolver(null) throws NulPointerException

           Summary: setEntityResolver(null) throws NulPointerException
           Product: Xerces2-J
           Version: 2.4.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: elharo@metalab.unc.edu


Sometime between Xerces2.1 and Xerces 2.4 the
XMLReader/SAXParser.setEntityResolver method began throwing a
NullPointerException when null was passed to it. This is not the correct
behavior. setEntityResolver(null) should remove the currently installed
EntityResolver (if any). It should not throw a NullPointerException. Without
allowing this, there is no way within SAX to uninstall an EntityResolver.

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


Mime
View raw message