Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.6
-
None
Description
Currently CXF doesn't seem to support schema localized on the web. For instance if a schema have imports 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"/>
CXF tries to load the local file:
schemaorg_apache_xmlbeans/src/http://www.myCompany.com/schemas/sf/scheduler/core/scheduler-core.xsd
Moreover, it could be interesting to support an XML schema catalog avoiding to load the schema from the net. In that way the upper URL could be mapped to the following local file: schemaorg_apache_xmlbeans\src\com\myCompany\sf\scheduler\core\scheduler-core.xsd
Attachments
Attachments
Issue Links
- is related to
-
CXF-2083 XMLBeans - XmlBeansSchemaInitializer can't handle xs:import
- Closed