cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien (JIRA) <>
Subject [jira] Created: (CXF-3006) Upgrade to Xml Schema 1.4.6
Date Fri, 24 Sep 2010 07:48:33 GMT
Upgrade to Xml Schema 1.4.6

                 Key: CXF-3006
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.2.10, 2.2.6
            Reporter: S├ębastien

When CXF is publishing web services, the following exception occurs:

Caused by: java.lang.NullPointerException

If an XML prefix is used without being declared, that exception occurs. 

In the following sample, the prefix is "pel" and it's correctly declared: 

<xsd:schema xmlns:xsd="" xmlns:pel=""

xmlns:pol="" xmlns:cov=""

xmlns:prd="" xmlns:ind=""

targetNamespace="" elementFormDefault="qualified">

Unfortunately, there is a space in one of the usage of "pel":
<xsd:element name="prospect" type=" pel:PersonLight" />

Removing the space before the prefix avoids to have the exception.

That bug is corrected in the newest version of Xml schema:

Path to the dependency:
[INFO] +- com.bsb.sf.integration:bsb-sf-cxf-core-integration:jar:ws-migration-1-SNAPSHOT:compile
[INFO] |  +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.2.6:compile
[INFO] |  |  +- org.apache.cxf:cxf-api:jar:2.2.6:compile
[INFO] |  |  |  +-

Note that XmlSchema 1.4.5 is still present in the latest release.

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

View raw message