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 20:14:47 UTC
DO NOT REPLY [Bug 5840] -
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.
zongaro@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From zongaro@ca.ibm.com 2002-01-14 11:14 -------
This problem typically shows up when the parser tries to resolve a relative URI
reference (like x.xml) using the system ID of the InputSource as the base. If
you set the system ID of the InputSource appropriately using the following
method, the problem typically goes away.
InputSource.setSystemId(String)
Of course, the parser should handle the error gracefully, rather than
generating a NullPointerException. See bug 4026.
*** This bug has been marked as a duplicate of 4026 ***
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org