cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien (JIRA) <>
Subject [jira] Updated: (CXF-2959) XMLBeans - XmlBeansSchemaInitializer can't support http schema location
Date Fri, 10 Sep 2010 08:01:34 GMT


Sébastien updated CXF-2959:


I've created a patch allowing to use an XmlCatalog before resolving schema locations.

This is a sample catalog:

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="uri">

    <!--We consider that every schema imported in web services have an XmlBeans counterpart.-->
    <rewriteURI uriStartString=""

In that way, when one of our schema is encountered, we guess that it has been included by
 XmlBeans in a JAR.

> XMLBeans - XmlBeansSchemaInitializer can't support http schema location
> -----------------------------------------------------------------------
>                 Key: CXF-2959
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: OtherDatabindings
>    Affects Versions: 2.2.6
>            Reporter: Sébastien
>         Attachments:,
> Currently CXF doesn't seem to support schema localized on the web. For instance if a
schema have imports like these:
>     <xsd:import namespace=""
>             schemaLocation=""/>
>     <xsd:import namespace=""
>             schemaLocation=""/>
> CXF tries to load the local file:
> schemaorg_apache_xmlbeans/src/
> 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:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message