- From: Hugo Haas via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 27 Oct 2005 14:06:55 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/wsdl20
In directory homer:/tmp/cvs-serv16836
Modified Files:
wsdl20-adjuncts.xml
Log Message:
LC315
Index: wsdl20-adjuncts.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-adjuncts.xml,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** wsdl20-adjuncts.xml 20 Oct 2005 15:03:30 -0000 1.114
--- wsdl20-adjuncts.xml 27 Oct 2005 14:06:53 -0000 1.115
***************
*** 2685,2689 ****
<b>whttp:code</b>="<emph>union of xs:int, xs:token</emph>"? >
<documentation />*
! <<b>whttp:header</b> element="<emph>xs:QName</emph>" >
<documentation />*
</<b>whttp:header</b>>*
--- 2685,2689 ----
<b>whttp:code</b>="<emph>union of xs:int, xs:token</emph>"? >
<documentation />*
! <<b>whttp:header</b> name="<emph>xs:string</emph>" type="<emph>xs:QName</emph>" >
<documentation />*
</<b>whttp:header</b>>*
***************
*** 2898,2934 ****
<p><emph>HTTP Header Construction.</emph> If the
<prop comp="Binding Message Reference">http headers</prop> property as defined in section <specref
! ref="soap-headers-decl"/> exists and is not empty in a
! <comp>Binding Message Reference</comp> or <comp>Binding Fault</comp> component, &EII;
! conforming to the element declaration of a <comp>HTTP Header</comp> component's
! <prop comp="SOAP Header Block">element declaration</prop> property, in the
! <prop comp="Binding Message Reference">http headers</prop> property,
! MUST be turned into a HTTP header for the corresponding message.</p>
!
! <p>Only &EII;s of type <emph>xs:string</emph> or
! <emph>xs:anyURI</emph> may be serialized. All complex data
! types are ignored. Attributes on data elements are
! ignored.</p>
!
! <p>Each such &EII; is serialized as follows:</p>
<ulist>
<item>
<p>
! The HTTP header name used is the &EII; local
! name. The &EII; local name MUST follow the
! field-name production rules as specified in section
! 4.2 of <bibref ref="RFC2616"/>; if not, the &EII;
! MUST be ignored. If an HTTP header corresponding to
! the &EII; local name is set by a mechanism
! other than the HTTP binding, such as the HTTP stack
! or another feature, then an error MUST be raised.
</p>
</item>
<item>
<p>
! The HTTP header content is serialized from the
! corresponding &EII; value in UTF-8. If this
! serialization is NOT possible, then the &EII; MUST be
! ignored.
</p>
</item>
--- 2898,2924 ----
<p><emph>HTTP Header Construction.</emph> If the
<prop comp="Binding Message Reference">http headers</prop> property as defined in section <specref
! ref="http-headers-decl"/> exists and is not empty in a
! <comp>Binding Message Reference</comp> or <comp>Binding Fault</comp> component, HTTP headers
! conforming to each <comp>HTTP Header</comp> component contained in this <prop comp="Binding Message Reference">http headers</prop> property
! MUST be serialized as follows:</p>
<ulist>
<item>
<p>
! The HTTP header field name used is the value of the
! <prop comp="HTTP Header">name</prop> property of the
! <comp>HTTP Header</comp> component. If an HTTP
! header field corresponding to the value of <prop
! comp="HTTP Header">name</prop> property is set by a
! mechanism other than the HTTP binding, such as the
! HTTP stack or another feature, then an error MUST be
! raised.
</p>
</item>
<item>
<p>
! The HTTP header field value, whose XML Schema type
! is declared by the <prop comp="HTTP Header">type definition</prop> property of the <comp>HTTP
! Header</comp> component, is serialized following the rules of the <code>field-value</code> production of section 4.2 of <bibref ref="RFC2616"/>.
</p>
</item>
***************
*** 3385,3392 ****
in <bibref ref="WSDL-PART1"/>):</p>
- <ednote>
- <edtext>The propdef mark-up only applies to one component.</edtext>
- </ednote>
-
<ulist>
<item><p><propdef comp="Binding Message Reference">http headers</propdef> OPTIONAL.
--- 3375,3378 ----
***************
*** 3395,3398 ****
--- 3381,3390 ----
<item><p>Similarly, <propdef comp="Binding Fault">http headers</propdef> OPTIONAL, to the <comp>Binding Fault</comp> component.</p></item>
</ulist>
+
+ <p>It is an ERROR for a <comp>Binding Message
+ Reference</comp> or a <comp>Binding Fault</comp> component's
+ <prop comp="Binding Message Reference">http headers</prop>
+ property to contain multiple <comp>HTTP Header</comp> components
+ with the same <prop comp="HTTP Header">name</prop> property.</p>
</div3>
***************
*** 3413,3422 ****
<ulist>
! <item> <p><propdef comp="HTTP Header">element declaration</propdef> REQUIRED.
! A <emph>xs:QName</emph>, a
! reference to an XML element declaration in the
! <prop comp="Description">element declarations</prop> property of the
! <comp>Description</comp> component. This element represents a HTTP
! header.</p>
</item>
--- 3405,3420 ----
<ulist>
! <item> <p><propdef comp="HTTP Header">name</propdef> REQUIRED.
! A <emph>xs:string</emph> whose pattern facet is
! <emph><attval>[!#-'*+\-.0-9A-Z^-z|~]+</attval></emph>, the name of the HTTP header field. The value of this
! property follows the <code>field-name</code> production rules as specified
! in section 4.2 of <bibref ref="RFC2616"/>.</p>
! </item>
!
! <item> <p><propdef comp="HTTP Header">type definition</propdef> REQUIRED.
!
! A <emph>xs:QName</emph>, being a reference to a <comp>Type Definition</comp> component in
! the <prop comp="Description">type definitions</prop> property of the <comp>Description</comp> component
! constraining the value of the HTTP header field. This type MUST be a simple type.</p>
</item>
***************
*** 3436,3440 ****
<binding name="<emph>xs:NCName</emph>" type="<emph>&wsdl-http-ns;</emph>" >
<fault ref="<emph>xs:QName</emph>">
! <<b>whttp:header</b> element="<emph>xs:QName</emph>">
<documentation />*
</<b>whttp:header</b>>*
--- 3434,3438 ----
<binding name="<emph>xs:NCName</emph>" type="<emph>&wsdl-http-ns;</emph>" >
<fault ref="<emph>xs:QName</emph>">
! <<b>whttp:header</b> name="<emph>xs:QName</emph>" type="<emph>xs:QName</emph>">
<documentation />*
</<b>whttp:header</b>>*
***************
*** 3471,3480 ****
<ulist>
<item>
! <p>A REQUIRED <att>element</att>
&AII; with the following
Infoset properties:</p>
<ulist>
<item>
! <p>A [local name] of <att>element</att>
</p>
</item>
--- 3469,3496 ----
<ulist>
<item>
! <p>A REQUIRED <att>name</att>
&AII; with the following
Infoset properties:</p>
<ulist>
<item>
! <p>A [local name] of <att>name</att>
! </p>
! </item>
! <item>
! <p>A [namespace name] which has no value</p>
! </item>
! <item>
! <p>A type of <emph>xs:string</emph> whose pattern facet is
! <emph><attval>[!#-'*+\-.0-9A-Z^-z|~]+</attval></emph>.</p>
! </item>
! </ulist>
! </item>
! <item>
! <p>A REQUIRED <att>type</att>
! &AII; with the following
! Infoset properties:</p>
! <ulist>
! <item>
! <p>A [local name] of <att>type</att>
</p>
</item>
***************
*** 3535,3547 ****
</tr>
<tr>
! <td rowspan="1" colspan="1"><prop comp="HTTP Header">element declaration</prop></td>
! <td rowspan="1" colspan="1">The element declaration
! from the <prop comp="Description">element declarations</prop> resolved
! to by the value of the <att>element</att> &AII;. It is
! an error for the <att>element</att> &AII; to have a
! value and that value does not resolve to a global
! element declaration from the
! <prop comp="Description">element declarations</prop> property of the
! <comp>Description</comp> component.</td>
</tr>
<tr>
--- 3551,3560 ----
</tr>
<tr>
! <td rowspan="1" colspan="1"><prop comp="HTTP Header">name</prop></td>
! <td rowspan="1" colspan="1">The value of the <att>name</att> &AII;.</td>
! </tr>
! <tr>
! <td rowspan="1" colspan="1"><prop comp="HTTP Header">type definition</prop></td>
! <td rowspan="1" colspan="1">The <comp>Type Definition</comp> component from the <prop comp="Description">type definitions</prop> property of the <comp>Description</comp> component resolved to by the value of the <att>type</att> &AII;.</td>
</tr>
<tr>
***************
*** 3573,3577 ****
<p><code>wsdl.extension(&wsdl-http-ns;,
! whttp.header(<emph>parent</emph>/<emph>namespace</emph>#<emph>name</emph>))</code></p>
<olist>
<item><p>
--- 3586,3590 ----
<p><code>wsdl.extension(&wsdl-http-ns;,
! whttp.header(<emph>parent</emph>/<emph>name</emph>))</code></p>
<olist>
<item><p>
***************
*** 3587,3601 ****
<p>
<emph>
- <code>namespace</code>
- </emph>
- is the <prop comp="HTTP Header">element declaration</prop> property value's namespace URI.
- </p>
- </item>
- <item>
- <p>
- <emph>
<code>name</code>
</emph>
! is the <prop comp="HTTP Header">element declaration</prop> property value's local name.
</p>
</item>
--- 3600,3606 ----
<p>
<emph>
<code>name</code>
</emph>
! is the <prop comp="HTTP Header">name</prop> property value.
</p>
</item>
***************
*** 4741,4744 ****
--- 4746,4757 ----
-->
<tr>
+ <td>20051027</td>
+ <td>HH</td>
+ <td><loc
+ href="http://www.w3.org/2002/ws/desc/5/lc-issues/issues.html#LC315">LC315</loc>:
+ fixed HTTP header serialization and IRI identification.
+ </td>
+ </tr>
+ <tr>
<td>20051020</td>
<td>HH</td>
Received on Thursday, 27 October 2005 14:07:00 UTC