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

Hudson commented on XMLSCHEMA-3:
--------------------------------

Integrated in xmlschema-trunk-jdk15 #11 (See 
[https://builds.apache.org/hudson/job/xmlschema-trunk-jdk15/11/])
    XMLSCHEMA-3: Make sure that DefaultURIResolver properly resolves schema 
locations relative to JAR style URLs. This is important to be able to load 
schemas from the classpath.


> DefaultURIResolver doesn't resolve JAR style URLs properly
> ----------------------------------------------------------
>
>                 Key: XMLSCHEMA-3
>                 URL: https://issues.apache.org/jira/browse/XMLSCHEMA-3
>             Project: XmlSchema
>          Issue Type: Bug
>    Affects Versions: XmlSchema 1.4.2, XmlSchema 1.4.6
>            Reporter: Andreas Veithen
>            Priority: Minor
>
> DefaultURIResolver is unable to resolve entities against a base URI of the 
> following form:
> jar:file:/D:/data/my.jar!/package/schema.xsd
> The reason is that resolveEntity uses java.net.URI: the URI is opaque and 
> java.net.URI doesn't resolve relative URIs against opaque URIs. The original 
> version of DefaultURIResolver (r396478) used java.net.URL and worked 
> perfectly in that case. This was broken in r400374.
> The impact of this issue is that it is not possible to load schemas from the 
> classpath, if they have imports and DefaultURIResolver is used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to