Radu Coravu created XERCESJ-1709:
------------------------------------

             Summary: Utility org.apache.xerces.util.URI is not equivalent to 
java.net.URI
                 Key: XERCESJ-1709
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1709
             Project: Xerces2-J
          Issue Type: Bug
    Affects Versions: 2.12.0
            Reporter: Radu Coravu


Non-ASCII characters should be allowed when constructing URIs.
This works:
{code}
new java.net.URI("http://host/webdav/6发给亿科的样例维修手册底盘系统\\\\ESP控制系统/测试副本.dita";);
{code}

but the org.apache.xerces.util.URI is more restrictive to the characters 
allowed in an URI path.

In my opinion the org.apache.xerces.util.URI should be just a wrapper over the 
java.net.URI with a couple extra utility methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to