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 2002/01/14 18:16:14 UTC

DO NOT REPLY [Bug 5840] New: - Unable to read XML via InputSource object when internal subset DTD has external entities.

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

Unable to read XML via InputSource object when internal subset DTD has external entities.

           Summary: Unable to read XML via InputSource object when internal
                    subset DTD has external entities.
           Product: Xerces-J
           Version: 1.4.3
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: DOM
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: anthony.leon@ubsw.com


<?xml version="1.0" encoding"UTF-8"?>
<!DOCTYPE doc [ <!ENTITY x SYSTEM "x.xml"> ]>
<doc>&x;</doc>

DocumentBuilderFactory.....parse(new InputSource(...)); throws NullPointer
DocumentBuilderFactory.....parse("myfile.xml"); works

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