You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/09/17 19:17:34 UTC

[jira] [Resolved] (XMLSCHEMA-1) xs:redefine does not set baseUri correctly so relative paths do not work

     [ https://issues.apache.org/jira/browse/XMLSCHEMA-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved XMLSCHEMA-1.
---------------------------------
       Resolution: Fixed
    Fix Version/s: XmlSchema 2.0
         Assignee: Daniel Kulp


I'm marking this resolved as I believe this was fixed as part of the updates for XmlSchema 2.   The handleRedefine just passes to the same resolveXmlSchema method used elsewhere which would set the SourceURI.

> xs:redefine does not set baseUri correctly so relative paths do not work
> ------------------------------------------------------------------------
>
>                 Key: XMLSCHEMA-1
>                 URL: https://issues.apache.org/jira/browse/XMLSCHEMA-1
>             Project: XmlSchema
>          Issue Type: Bug
>    Affects Versions: XmlSchema 1.4.6
>            Reporter: Michael Roberts
>            Assignee: Daniel Kulp
>             Fix For: XmlSchema 2.0
>
>
> The handleRedefine method in SchemaBuilder does not properly set the baseUri to the referencing schema.  This means that schema components that could be found relative to referencing schema won't be found.
> SchemaBuilder already does this correctly in handleInclude and handleImport--the implementation should be copied to handleRedefine



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org