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

NullPointerException in DocumentBuilder.parse()

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  2001-10-29 10:35 -------
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 correctly 
resolve references relative to it - e.g., the relative reference to "Test2.xml" 
in the entity declaration inside test.xml.

You can do that explicitly on an InputSource object, but you can't do it with 
an InputStream object - the DocumentBuild.parse(InputStream) method constructs 
the InputSource object for you in that case.

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