You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org> on 2009/06/23 07:47:07 UTC
[jira] Created: (TUSCANY-3117) XSDModelResolver needs to handle
namespace resolution
XSDModelResolver needs to handle namespace resolution
-----------------------------------------------------
Key: TUSCANY-3117
URL: https://issues.apache.org/jira/browse/TUSCANY-3117
Project: Tuscany
Issue Type: Bug
Components: Java SCA Assembly Model
Affects Versions: Java-SCA-2.0
Reporter: Ramkumar Ramalingam
Assignee: Ramkumar Ramalingam
Fix For: Java-SCA-2.0
The XSDModelResolvers are basically used to resolve inline schemas, so using a namespace import resolvers are not applicable in this case.
In case of XSD, the @schemaLocation is handled by org.apache.ws.commons.schema.XmlSchemaCollection
for any path specified in the schemaLocation attribute. I believe, we should be able to impose the namespace resolution
mechanism for XmlSchemaCollection by creating a custom implementing for org.apache.ws.commons.schema.resolver.URIResolver.
Currently, XSDModelResolver provides a custom implementation for org.apache.ws.commons.schema.resolver.URIResolver
to resolve the path relative to the contribution. We might have to modify the code for URIResolver to handle the
namespace resolution.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TUSCANY-3117) XSDModelResolver needs to handle
namespace resolution
Posted by "Ramkumar Ramalingam (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramkumar Ramalingam resolved TUSCANY-3117.
------------------------------------------
Resolution: Fixed
Committed revision 787566 in 2.x.
> XSDModelResolver needs to handle namespace resolution
> -----------------------------------------------------
>
> Key: TUSCANY-3117
> URL: https://issues.apache.org/jira/browse/TUSCANY-3117
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Assembly Model
> Affects Versions: Java-SCA-2.0
> Reporter: Ramkumar Ramalingam
> Assignee: Ramkumar Ramalingam
> Fix For: Java-SCA-2.0
>
>
> The XSDModelResolvers are basically used to resolve inline schemas, so using a namespace import resolvers are not applicable in this case.
> In case of XSD, the @schemaLocation is handled by org.apache.ws.commons.schema.XmlSchemaCollection
> for any path specified in the schemaLocation attribute. I believe, we should be able to impose the namespace resolution
> mechanism for XmlSchemaCollection by creating a custom implementing for org.apache.ws.commons.schema.resolver.URIResolver.
> Currently, XSDModelResolver provides a custom implementation for org.apache.ws.commons.schema.resolver.URIResolver
> to resolve the path relative to the contribution. We might have to modify the code for URIResolver to handle the
> namespace resolution.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.