[
https://issues.apache.org/jira/browse/XMLCOMMONS-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Glavassevich updated XMLCOMMONS-74:
-------------------------------------------
Fix Version/s: (was: XML Commons Resolver 1.2.0)
Affects Version/s: (was: 1.x)
XML Commons Resolver 1.2.0
> Xml Catalog Resovler fails with included schemas
> ------------------------------------------------
>
> Key: XMLCOMMONS-74
> URL: https://issues.apache.org/jira/browse/XMLCOMMONS-74
> Project: XmlCommons
> Issue Type: Bug
> Components: XML Commons Resolver (resolver.jar)
> Affects Versions: XML Commons Resolver 1.2.0
> Environment: Operating System: Windows Vista
> Platform: PC
> Reporter: Robert Streich
> Assignee: Commons Developers Mailing List
> Attachments: xml.zip
>
>
> If you attempt to include a schema into one that has a targetNamespace,
> it fails to correctly resolve the included component. The problem is
> with line ~420 of XMLCatalogResolver:
> // The namespace is useful for resolving namespace aware
> // grammars such as XML schema. Let it take precedence over
> // the external identifier if one exists.
> String namespace = resourceIdentifier.getNamespace();
> if (namespace != null) {
> resolvedId = resolveURI(namespace);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]