[
https://issues.apache.org/jira/browse/XERCESJ-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Coravu updated XERCESJ-1709:
---------------------------------
Description:
Non-ASCII characters should be allowed when constructing URIs.
This works:
{code}
new java.net.URI("http://host/webdav/6发给亿科的样例维修手册底.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.
was:
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.
> 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
> Priority: Major
>
> Non-ASCII characters should be allowed when constructing URIs.
> This works:
> {code}
> new java.net.URI("http://host/webdav/6发给亿科的样例维修手册底.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]