DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=23705>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=23705


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From [EMAIL PROTECTED]  2005-07-14 23:45 -------
The problem had been fixed as part of the Joran development on the CVS HEAD, 
but there were no tests 
for it.  The fix for this bug added DOMTest::test4 to both the CVS HEAD and 
v1.2_branch to check for 
the proper handling of external entities.

The fix on the v1.2 branch is mimicked the approach in the Joran configuration 
by introducing a 
delegate that is called to actually perform the parsing.  The original approach 
was to create an 
InputSource. Since there is no clean way prior to create a URL for an arbitrary 
file prior to JDK 1.4, the 
InputSource would not have a valid URL and attempts to resolve entities 
relative to the InputSource 
would fail.  Using the delegate, the parser can be passed a File which it knows 
how to use to resolve 
relative URL's.

The change should not change any successful call to DOMConfigurator.  For most 
error conditions, the 
change should only result in improved diagnostic messages since the parser now 
knows more about 
the source and has more robust error reporting code than we had.  If there are 
multiple error 
conditions, the change may affect which one gets reported.  For example, if 
there is no XML parser 
available and the configuration file does not exist, the original code will 
report the missing file and the 
new code will report the missing parser.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

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

Reply via email to