[
https://issues.apache.org/jira/browse/XMLSCHEMA-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124534#comment-14124534
]
Martin Gainty commented on XMLSCHEMA-35:
----------------------------------------
Michael
What is your expectation of base URI for XMLSchemas to be searched
other than default base URI?
> Multiple-Base URI Resolver
> --------------------------
>
> Key: XMLSCHEMA-35
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-35
> Project: XmlSchema
> Issue Type: New Feature
> Affects Versions: 2.1.0
> Reporter: Michael Pigott
> Labels: PatchAvailable
> Fix For: 2.1.1
>
> Attachments: diff_multi_base_uri_resolver.zip
>
>
> When working with schemas across multiple namespaces and source URIs,
> multiple XML Schemas may be given relative paths, but DefaultURIResolver only
> supports one base URI.
> XmlSchemaMultiBaseUriResolver collects the base URIs of all schemas
> encountered, and when a relative path is requested, will search all of the
> base URIs looking for the XML Schema. This search is conducted in
> reverse-chronological-order of base-URI-added.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]