You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xml-commons-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <ji...@apache.org> on 2010/12/07 04:39:19 UTC

[jira] Updated: (XMLCOMMONS-74) Xml Catalog Resovler fails with included schemas

     [ 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: 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: 1.x
>         Environment: Operating System: Windows Vista
> Platform: PC
>            Reporter: Robert Streich
>            Assignee: Commons Developers Mailing List
>             Fix For: XML Commons Resolver 1.2.0
>
>         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: xml-commons-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: xml-commons-dev-help@xerces.apache.org