[5483] WSDL schema defines fault 'element' incorrectly
Arthur Ryman <[email protected]> Wed, 19 Mar 2008 08:00:02 -0400
| Newsgroups | gmane.comp.web.services.description |
|---|---|
| Message-ID | <OF3EDA5CAA.2C9D893D-ON85257411.0015965A-85257411.0041EBFB@ca.ibm.com> |
This is a multipart message in MIME format.
--=_alternative 0016696A85257411_=
Content-Type: text/plain; charset="US-ASCII"
Philippe,
John Kaputin reported this bug.[1] I reviewed it and agree. The spec was
updated to include some tokens in the definition of the content for
faults, but the schema wasn't.
We haven't discussed the process for maintainance. In this case, the
schema was improperly updated when the spec changed so I propose to simply
correct the schema. Failure to do so means that the schema reports that
some valid WSDL documents are invalid, e.g. those with a token like #none,
#any, #other for the content of a Fault.
[1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=5483
The schema is currently:
<xs:complexType name="InterfaceFaultType" mixed="false">
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:any namespace="##other" processContents="lax" minOccurs="1"
maxOccurs="1"/>
</xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
<xs:attribute name="element" type="xs:QName" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
But it should be:
<xs:complexType name="InterfaceFaultType" mixed="false">
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:any namespace="##other" processContents="lax" minOccurs="1"
maxOccurs="1"/>
</xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
<xs:attribute name="element" type="wsdl:ElementReferenceType"
use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Arthur Ryman, Technical Executive (IBM DE)
Project and Program Management, Rational Division
phone: +1-905-413-3077, TL 313-3077
assistant: +1-905-413-3831, TL 313-3831
fax: +1-905-413-4920, TL 313-4920
mobile: +1-416-939-5063
--=_alternative 0016696A85257411_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Philippe,</font>
<br>
<br><font size=2 face="sans-serif">John Kaputin reported this bug.[1] I
reviewed it and agree. The spec was updated to include some tokens in the
definition of the content for faults, but the schema wasn't. </font>
<br>
<br><font size=2 face="sans-serif">We haven't discussed the process for
maintainance. In this case, the schema was improperly updated when the
spec changed so I propose to simply correct the schema. Failure to do so
means that the schema reports that some valid WSDL documents are invalid,
e.g. those with a token like #none, #any, #other for the content of a Fault.</font>
<br>
<br><font size=2 face="sans-serif">[1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=5483</font>
<br>
<br><font size=2 face="sans-serif">The schema is currently:</font>
<br>
<br><tt><font size=3> <xs:complexType name="InterfaceFaultType"
mixed="false"><br>
<xs:complexContent><br>
<xs:extension base="wsdl:ExtensibleDocumentedType"><br>
<xs:choice minOccurs="0" maxOccurs="unbounded"><br>
<xs:any namespace="##other"
processContents="lax" minOccurs="1" maxOccurs="1"/><br>
</xs:choice><br>
<xs:attribute name="name" type="xs:NCName"
use="required"/><br>
<b> <xs:attribute name="element"
type="xs:QName" use="optional"/><br>
</b> </xs:extension><br>
</xs:complexContent><br>
</xs:complexType><br>
</font></tt>
<br><font size=2 face="sans-serif">But it should be:</font>
<br>
<form action=http://www.w3.org/Bugs/Public/process_bug.cgi method=post>
<br><tt><font size=3> <xs:complexType name="InterfaceFaultType"
mixed="false"><br>
<xs:complexContent><br>
<xs:extension base="wsdl:ExtensibleDocumentedType"><br>
<xs:choice minOccurs="0" maxOccurs="unbounded"><br>
<xs:any namespace="##other"
processContents="lax" minOccurs="1" maxOccurs="1"/><br>
</xs:choice><br>
<xs:attribute name="name" type="xs:NCName"
use="required"/><br>
<b> <xs:attribute name="element"
type="wsdl:ElementReferenceType" use="optional"/><br>
</b> </xs:extension><br>
</xs:complexContent><br>
</xs:complexType><br>
</font></tt>
<br>
<br>
<br>
<br></form>
<hr>
<br>
<br><font size=2 face="sans-serif">Arthur Ryman, Technical Executive (IBM
DE)<br>
Project and Program Management, Rational Division<br>
<br>
phone: +1-905-413-3077, TL 313-3077<br>
assistant: +1-905-413-3831, TL 313-3831<br>
fax: +1-905-413-4920, TL 313-4920<br>
mobile: +1-416-939-5063</font>
--=_alternative 0016696A85257411_=--