You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/03/13 04:38:09 UTC
[jira] Updated: (CXF-361) XML Binding: inconsistency in schema for
WSDL Extension.
[ https://issues.apache.org/jira/browse/CXF-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bozhong Lin updated CXF-361:
----------------------------
Fix Version/s: 2.0-RC
Assignee: maomaode
Affects Version/s: (was: 2.0-M1)
2.0-RC
> XML Binding: inconsistency in schema for WSDL Extension.
> --------------------------------------------------------
>
> Key: CXF-361
> URL: https://issues.apache.org/jira/browse/CXF-361
> Project: CXF
> Issue Type: Bug
> Components: Resources
> Affects Versions: 2.0-RC
> Reporter: Michael Bricout
> Assigned To: maomaode
> Priority: Minor
> Fix For: 2.0-RC
>
>
> The "xml-binding.xsd" schema file that is currently packaged in cxf-rt-bindings-xml only defines the following WSDL extension:
> <xs:complexType name="XMLBindingMessageFormat">
> <xs:complexContent>
> <xs:extension base="wsdl:tExtensibilityElement">
> <xs:sequence />
> <xs:attribute name="rootNode" type="xs:QName"
> use="optional" />
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> <xs:element name="body" type="xformat:XMLBindingMessageFormat" />
> This is the definition for the "xformat:body" element extending wsdl:binding/wsdl:operation/wsdl:input.
> The schema is missing the declaration for the "xformat:binding" element that extends wsdl:binding.
> That element can be found in the type_test_xml.wsdl for example:
> <wsdl:binding type="tns:TypeTestPortType" name="TypeTestXML">
> <xformat:binding/>
> <!-- [...] -->
> </wsdl:binding>
> "type_test_xml.wsdl" does not validate against its schema
> Also, two different versions of the ""xml-binding.xsd" schema exist in the code base. Their
> are not consistent in their content, and they do not use the same target namespace.
> For instance:
> - ./common/schemas/src/main/resources/schemas/wsdl/xml-binding.xsd
> target namespace: "http://cxf.apache.org/bindings/xmlformat"
> - ./rt/bindings/xml/src/main/resources/schemas/wsdl/xml-binding.xsd
> target namespace: "http://cxf.apache.org/bindings/xformat"
> The first one actually defines the "xformat:binding" element, but in the wrong namespace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.