cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Facundo Velazquez (JIRA)" <>
Subject [jira] [Created] (CXF-7489) Stax2Validation doesn't support schema imports.
Date Tue, 29 Aug 2017 14:32:00 GMT
Facundo Velazquez created CXF-7489:

             Summary: Stax2Validation doesn't support schema imports.
                 Key: CXF-7489
             Project: CXF
          Issue Type: Bug
            Reporter: Facundo Velazquez

Using the Stax2Validation for validating a wsdl, a NPE is being thown.
After some analysis I could find that the targetNamespace is being used as key to save schemas
to process (please see [this code line|])

However, a WSDL can have the following format in the <wsdl:types> element:

            <xsd:import namespace="" schemaLocation="foo.xsd"/>
            <xsd:import namespace="" schemaLocation="bar.xsd"/>

As you can see in these cases, the targetNamespace is not present in the schema element that
is only used for importing external schemas. 

This message was sent by Atlassian JIRA

View raw message