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

NPE when using an InputSource for a document with an external parsed entity

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From [EMAIL PROTECTED]  2001-10-29 10:41 -------
This is a duplicate of bug 4026.  As Glenn Marcy has pointed out elsewhere, the 
InputSource object needs to have its System ID set in order to always correctly 
resolve references relative to it - e.g., the relative reference to "baz.xml" 
in the entity declaration inside foo.xml.

You can do that explicitly using the InputSource.setSystemId(String) method.

In any event, Xerces shouldn't be throwing a NullPointerException, so there is 
still a bug there.


*** This bug has been marked as a duplicate of 4026 ***

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

Reply via email to