You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Michael Roberts (JIRA)" <ji...@apache.org> on 2008/03/12 21:22:50 UTC

[jira] Created: (WSCOMMONS-311) xs:redefine does not set baseUri correctly so relative paths do not work

xs:redefine does not set baseUri correctly so relative paths do not work
------------------------------------------------------------------------

                 Key: WSCOMMONS-311
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-311
             Project: WS-Commons
          Issue Type: Bug
          Components: XmlSchema
            Reporter: Michael Roberts


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (WSCOMMONS-311) xs:redefine does not set baseUri correctly so relative paths do not work

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581297#action_12581297 ] 

Ajith Harshana Ranabahu commented on WSCOMMONS-311:
---------------------------------------------------

Added a fix but need a test case to verify and mark the issue resolved

> xs:redefine does not set baseUri correctly so relative paths do not work
> ------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-311
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-311
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Michael Roberts
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (WSCOMMONS-311) xs:redefine does not set baseUri correctly so relative paths do not work

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581627#action_12581627 ] 

Ajith Harshana Ranabahu commented on WSCOMMONS-311:
---------------------------------------------------

After a thorough look at the code I am not sure whether we can fix this soon. In fact I am doubting whether we are doing the right thing in the current code base for redefining. We can come back to this after a discussion in the mailing list.

> xs:redefine does not set baseUri correctly so relative paths do not work
> ------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-311
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-311
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>            Reporter: Michael Roberts
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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