[ 
https://issues.apache.org/jira/browse/XERCESJ-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18139591#comment-18139591
 ] 

Elliotte Rusty Harold commented on XERCESJ-1709:
------------------------------------------------

java.net.URI is not normative. What do the specifications say?

> 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
(v10.3.26#10030026)

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

Reply via email to