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.

Reply via email to