You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Radu Coravu (JIRA)" <xe...@xml.apache.org> on 2019/06/06 13:18:00 UTC

[jira] [Created] (XERCESJ-1709) Utility org.apache.xerces.util.URI is not equivalent to java.net.URI

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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org