cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bozhong Lin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-361) XML Binding: inconsistency in schema for WSDL Extension.
Date Wed, 25 Apr 2007 09:45:16 GMT

     [ 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:     (was: 2.0-RC)
                   2.0

> 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
>
>
> 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.


Mime
View raw message