XMLBeans - XmlBeansSchemaInitializer can't support http schema location
-----------------------------------------------------------------------

                 Key: CXF-2959
                 URL: https://issues.apache.org/jira/browse/CXF-2959
             Project: CXF
          Issue Type: Improvement
          Components: OtherDatabindings
    Affects Versions: 2.2.6
            Reporter: Sébastien


I'm trying to import schema thanks to full qualified names like these:

    <xsd:import namespace="http://www.myCompany.com/sf/scheduler/core";
            
schemaLocation="http://www.myCompany.com/schemas/sf/scheduler/core/scheduler-core.xsd"/>
    <xsd:import namespace="http://www.myCompany.com/sf/execution/core";
            
schemaLocation="http://www.myCompany.com/schemas/sf/execution/core-interface/execution-core.xsd"/>

Unfortunately, it tries to load the local file:

schemaorg_apache_xmlbeans/src/http://www.myCompany.com/schemas/sf/scheduler/core/scheduler-core.xsd


Is there a way to configure an XmlSchemaCatalog avoiding to load the schema 
from the net ? so the schema is in fact in: 
schemaorg_apache_xmlbeans\src\com\myCompany\sf\scheduler\core\scheduler-core.xsd

So I would like to create a mapping between the HTTP URL and the local XSD file

-- 
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