https://issues.apache.org/bugzilla/show_bug.cgi?id=45704





--- Comment #2 from Curt Arnold <[EMAIL PROTECTED]>  2008-09-26 16:45:04 PST ---
Passing the stream instead of the URL would result in relative URL's in entity
references not properly resolving.  That is if you had a configuration file
that looked like:

<!DOCTYPE log4j:configuration [
<!ENTITY A1 SYSTEM A1.xml>
]>
<log4j:configuration>
&A1;
</log4j:configuration>

if you only passed the stream, the parser would not know where to locate
A1.xml.  If you passed a URL or a InputSource, then the parser would know how
the resolve A1.xml.

Will have to look through the code, but it would seem the answer would be to
pass the URL down through the stack instead of trying to convert the URL to a
string and then back.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to