Re: [5483] WSDL schema defines fault 'element' incorrectly

Arthur Ryman <[email protected]> Tue, 1 Apr 2008 09:10:45 -0400
Newsgroups gmane.comp.web.services.description
Message-ID <OF19E3E97A.5E782BE0-ON8525741E.0011DE82-8525741E.00486709@ca.ibm.com>
This is a multipart message in MIME format.
--=_alternative 0011F0718525741E_=
Content-Type: text/plain; charset="US-ASCII"

Philippe,

Thx for the update.

Wodenites/John - please verify the fix.

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



Philippe Le Hegaret <[email protected]> 
Sent by: [email protected]
03/31/2008 03:19 PM

To
Arthur Ryman/Toronto/IBM@IBMCA
cc
[email protected], [email protected]
Subject
Re: [5483] WSDL schema defines fault 'element' incorrectly







All,

Since the change has been on the list for quite a while and no one
argued against it, I updated the schema to reflect the suggested change.

http://www.w3.org/2007/06/wsdl/wsdl20.xsd and its respective copy on
dev.w3.org are now fixed.

Philippe


On Wed, 2008-03-19 at 08:00 -0400, Arthur Ryman wrote:
> 
> 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 0011F0718525741E_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Philippe,</font>
<br>
<br><font size=2 face="sans-serif">Thx for the update.</font>
<br>
<br><font size=2 face="sans-serif">Wodenites/John - please verify the fix.</font>
<br>
<br><font size=2 face="sans-serif">Arthur Ryman, Technical Executive (IBM
DE)<br>
Project and Program Management, Rational Division<br>
<br>
phone: &nbsp; &nbsp; &nbsp;+1-905-413-3077, TL 313-3077<br>
assistant: +1-905-413-3831, TL 313-3831<br>
fax: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+1-905-413-4920, TL 313-4920<br>
mobile: &nbsp; &nbsp; +1-416-939-5063</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Philippe Le Hegaret &lt;[email protected]&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: [email protected]</font>
<p><font size=1 face="sans-serif">03/31/2008 03:19 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Arthur Ryman/Toronto/IBM@IBMCA</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">[email protected], [email protected]</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [5483] WSDL schema defines fault
'element' incorrectly</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
All,<br>
<br>
Since the change has been on the list for quite a while and no one<br>
argued against it, I updated the schema to reflect the suggested change.<br>
<br>
http://www.w3.org/2007/06/wsdl/wsdl20.xsd and its respective copy on<br>
dev.w3.org are now fixed.<br>
<br>
Philippe<br>
<br>
<br>
On Wed, 2008-03-19 at 08:00 -0400, Arthur Ryman wrote:<br>
&gt; <br>
&gt; Philippe, <br>
&gt; <br>
&gt; John Kaputin reported this bug.[1] I reviewed it and agree. The spec<br>
&gt; was updated to include some tokens in the definition of the content<br>
&gt; for faults, but the schema wasn't. <br>
&gt; <br>
&gt; We haven't discussed the process for maintainance. In this case, the<br>
&gt; schema was improperly updated when the spec changed so I propose to<br>
&gt; simply correct the schema. Failure to do so means that the schema<br>
&gt; reports that some valid WSDL documents are invalid, e.g. those with
a<br>
&gt; token like #none, #any, #other for the content of a Fault. <br>
&gt; <br>
&gt; [1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=5483 <br>
&gt; <br>
&gt; The schema is currently: <br>
&gt; <br>
&gt; &nbsp; &lt;xs:complexType name=&quot;InterfaceFaultType&quot; mixed=&quot;false&quot;&gt;<br>
&gt; &nbsp; &nbsp;&lt;xs:complexContent&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&lt;xs:extension base=&quot;wsdl:ExtensibleDocumentedType&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:any namespace=&quot;##other&quot;
processContents=&quot;lax&quot;<br>
&gt; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/xs:choice&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:attribute name=&quot;name&quot;
type=&quot;xs:NCName&quot; use=&quot;required&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:attribute name=&quot;element&quot;
type=&quot;xs:QName&quot; use=&quot;optional&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&lt;/xs:extension&gt;<br>
&gt; &nbsp; &nbsp;&lt;/xs:complexContent&gt;<br>
&gt; &nbsp;&lt;/xs:complexType&gt;<br>
&gt; <br>
&gt; But it should be: <br>
&gt; <br>
&gt; &nbsp; &lt;xs:complexType name=&quot;InterfaceFaultType&quot; mixed=&quot;false&quot;&gt;<br>
&gt; &nbsp; &nbsp;&lt;xs:complexContent&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&lt;xs:extension base=&quot;wsdl:ExtensibleDocumentedType&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:any namespace=&quot;##other&quot;
processContents=&quot;lax&quot;<br>
&gt; minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/xs:choice&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:attribute name=&quot;name&quot;
type=&quot;xs:NCName&quot; use=&quot;required&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;xs:attribute name=&quot;element&quot;
type=&quot;wsdl:ElementReferenceType&quot;<br>
&gt; use=&quot;optional&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&lt;/xs:extension&gt;<br>
&gt; &nbsp; &nbsp;&lt;/xs:complexContent&gt;<br>
&gt; &nbsp;&lt;/xs:complexType&gt;<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; ______________________________________________________________________<br>
&gt; <br>
&gt; <br>
&gt; Arthur Ryman, Technical Executive (IBM DE)<br>
&gt; Project and Program Management, Rational Division<br>
&gt; <br>
&gt; phone: &nbsp; &nbsp; &nbsp;+1-905-413-3077, TL 313-3077<br>
&gt; assistant: +1-905-413-3831, TL 313-3831<br>
&gt; fax: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+1-905-413-4920, TL
313-4920<br>
&gt; mobile: &nbsp; &nbsp; +1-416-939-5063<br>
<br>
<br>
</font></tt>
<br>
--=_alternative 0011F0718525741E_=--