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

MalformedURLException if DTD in directory with a space in the path





------- Additional Comments From [EMAIL PROTECTED]  2003-02-26 09:48 -------
Hi again,

Looks like the URL encoding problems are to do with java.net.URL being rather
inconsistent, see:
http://developer.java.sun.com/developer/bugParade/bugs/4273532.html
I suspect that this shouldn't be seen as a Xerces problem rather the caller will
have to be responsible for making sure that they've sanitised the URL.

I've found that you can create URLs using unencoded spaces fine, I've also found
that calls like ClassLoader.getResource() return the paths URL encoded. As
pointed out in the bus on JDC its kind of hard to tell whether you should decode
the URL or not (was that %20 part of the path or encoding?).

HTH
Andi.

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

Reply via email to