Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2959

XMLBeans - XmlBeansSchemaInitializer can't support http schema location

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.6
    • Fix Version/s: 2.3, 2.2.11
    • Component/s: OtherDatabindings
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              sebge2 Sébastien

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment