logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12366] - Cannot use Xerces 2.1.0 with XML configuration file because the file is not referred to as a URL by Log4J.
Date Thu, 12 Sep 2002 18:09:43 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=12366>.
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=12366

Cannot use Xerces 2.1.0 with XML configuration file because the file is not referred to as
a URL by Log4J.

paul@austin.name changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |



------- Additional Comments From paul@austin.name  2002-09-12 18:09 -------
I have also noted this problem and have looked at the code.

What the log4j code does is looks for the log4j.dtd file as a resource in the 
log4j.jar file and finds it. It then sets the system id on the input source for 
the log4j.xml file to be the url of the resource thus overiding the dtd from 
the document.

What happens in xerces2.1 is that it seems to ignore the system id dtd set in 
the input source and try to load the dtd using the dtd specified in the 
document. Therefore it tries to load the dtd using the log4j.dtd from the file 
system as a url which causes the error.

Should this be raised as a bug for xerces?

I would also like to see a fix for this.

Thanks,
Paul

--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message