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

Does not load schema, if path of XML has spaces

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Other                       |JAXP



------- Additional Comments From [EMAIL PROTECTED]  2002-09-20 13:39 -------
It's not a regression from 2.0.1. The reason it worked in 2.0.1 is because of 
another bug. If you provide a URI to 2.0.1 with "%" in it, you'll get the same 
error. It's essentially the same bug: having invalid characters in URI's.

And unfortunately, it's not easy to work around it. If the parser sees 
something like "a%20b", it doesn't know whether it's an escaped URI 
corresponding to "a b", or it really means "a%20b" and should be escaped to "a%
2020b".

Changing the component to JAXP. We are trying to work with JAXP guys to get it 
fixed there. Until then, the only workaround I see is to, in your code, use URI 
instead of File.

    doc = documentBuilder.parse("file:///E:/Test%20Test/Test.xml");

Hope this helps.

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

Reply via email to