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

Can't open XML files with URI reserved characters

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|SAX                         |JAXP



------- Additional Comments From [EMAIL PROTECTED]  2003-06-21 16:19 -------
I'm unable to reproduce this problem, which leads me to believe one of the 
following:

- The version of Xerces you have actually isn't 2.4.0. You can check this by 
executing the 'main' method of org.apache.xerces.impl.Version from the command 
line.

- You have Xerces 2.4.0, but somehow there's another version of JAXP in your 
classpath, ahead of xml-apis.jar (or xmlParserAPIs.jar), and those classes are 
being loaded instead.

- You're running on JDK 1.4, which includes JAXP (and other XML APIs), as well 
as a parser implementation (which may be some older version of Xerces). If this 
is the case follow the instructions at: 
http://java.sun.com/j2se/1.4.1/docs/guide/standards/

--------------------

The JAXP packages distributed with Xerces 2.4.0 have been altered slightly from 
the main branch (I'm guessing the main is the one distributed with the JDK). 
One of these changes is the escaping of URI reserved or disallowed characters. 
This is not done on the main branch (although, it probably should be), so this 
is why I believe you're picking up some other version of JAXP.

If you can confirm that you have either of the three situation I listed, could 
you please close this bug.

As a side note, java.net.URLEncoder does not do URI escaping. What it will do 
is escape a String into application/x-www-form-urlencoded MIME format 
(http://java.sun.com/j2se/1.4.1/docs/api/java/net/URLEncoder.html), which is 
something different. So instead of mapping a space character ' ' to %20, it 
maps it to a '+' instead. I wouldn't recommend using this class in conjuction 
with the parser. You may not get the result you expected.

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

Reply via email to