Fw: WS-Mex dialect type

All,
 I consider these to be typos since the xsd is correct and it looks like 
the editors just missed a few QName->QNameSerialization changes.   I've 
attached a marked-up word doc showing to the issue ( 
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17234 ).  The edits are 
also shown in the following diff of the wsmex.xml file:

Index: wsmex.xml
===================================================================
RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wsmex.xml,v
retrieving revision 1.150
diff -r1.150 wsmex.xml
334,358c334,360
< (21)          &lt;mex:MetadataSection Dialect='wsdl:definitions'>
< (22)            &lt;wsdl:definitions>
< (23)              &lt;!-- WSDL data removed for brevity -->
< (24)            &lt;/wsdl:definitions>
< (25)          &lt;/mex:MetadataSection>
< (26)          &lt;mex:MetadataSection
< (27)              Dialect='xs:schema'
< (28) Identifier='http://services.example.org/stockquote/schemas'>

< (29)            &lt;mex:MetadataLocation>
< (30)              http://services.example.org/stockquote/schemas
< (31)            &lt;/mex:MetadataLocation>
< (32)          &lt;/mex:MetadataSection>
< (33)          &lt;mex:MetadataSection
< (34)              Dialect='wsp:Policy'
< (35) Identifier='http://services.example.org/stockquote/policy'>
< (36)            &lt;mex:MetadataReference>
< (37)              &lt;wsa:Address>
< (38)                http://services.example.org/stockquote/policy
< (39)              &lt;/wsa:Address>
< (40)            &lt;/mex:MetadataReference>
< (41)          &lt;/mex:MetadataSection>
< (42)        &lt;/mex:Metadata>
< (43)      &lt;/wst:GetResponse>
< (44)    &lt;/s11:Body>
< (45)  &lt;/s11:Envelope&gt;</eg>
---
> (21)          &lt;mex:MetadataSection
> (22) Dialect='{http://schemas.xmlsoap.org/wsdl/}definitions'
> (23)              Identifier='http://services.example.org/stockquote'>
> (24)            &lt;wsdl:definitions>
> (25)              &lt;!-- WSDL data removed for brevity -->
> (26)            &lt;/wsdl:definitions>
> (27)          &lt;/mex:MetadataSection>
> (28)          &lt;mex:MetadataSection
> (29)              Dialect='{http://www.w3.org/2001/XMLSchema}schema'
> (30) Identifier='http://services.example.org/stockquote/schemas'>

> (31)            &lt;mex:MetadataLocation>
> (32)              http://services.example.org/stockquote/schemas
> (33)            &lt;/mex:MetadataLocation>
> (34)          &lt;/mex:MetadataSection>
> (35)          &lt;mex:MetadataSection
> (36)              Dialect='{http://www.w3.org/ns/ws-policy}Policy'
> (37) Identifier='http://services.example.org/stockquote/policy'>
> (38)            &lt;mex:MetadataReference>
> (39)              &lt;wsa:Address>
> (40)                http://services.example.org/stockquote/policy
> (41)              &lt;/wsa:Address>
> (42)            &lt;/mex:MetadataReference>
> (43)          &lt;/mex:MetadataSection>
> (44)        &lt;/mex:Metadata>
> (45)      &lt;/wst:GetResponse>
> (46)    &lt;/s11:Body>
> (47)  &lt;/s11:Envelope&gt;</eg>
366c368
<      of the <kw>[Body]</kw> (lines 18-44) is a mex:Metadata element with
---
>      of the <kw>[Body]</kw> (lines 18-46) is a mex:Metadata element with
368c370
<      about the Web service endpoint (lines 20-42). The mex:Metadata
---
>      about the Web service endpoint (lines 20-44). The mex:Metadata
370,371c372,373
<      (lines 21-25) contains the <bibref ref='WSDL11'/> of the Web
<      service endpoint. The second MetadataSection (lines 26-32) contains
---
>      (lines 21-27) contains the <bibref ref='WSDL11'/> of the Web
>      service endpoint. The second MetadataSection (lines 28-34) contains
375,376c377,378
<      (lines 29-31). The third MetadataSection (lines 33-41) contains
<      the <bibref ref='AddrCore'/> endpoint reference (lines 36-40) of
---
>      (lines 31-33). The third MetadataSection (lines 35-43) contains
>      the <bibref ref='AddrCore'/> endpoint reference (lines 38-42) of
379c381
<      the Dialect attribute (line 34).
---
>      the Dialect attribute (line 36).
385c387
<      mex:MetadataReference element in lines 36-40 of
---
>      mex:MetadataReference element in lines 38-42 of
454c456
< (19)              Dialect='wsp:Policy'
---
> (19)              Dialect='{http://www.w3.org/ns/ws-policy}Policy'
872c874
<   &lt;mex:MetadataSection Dialect='<emph>xs:QName</emph>'
---
>   &lt;mex:MetadataSection 
Dialect='<emph>{http://www.w3.org/&wsmex.nsprefix;/w
s-mex}QNameSerialization</emph>'
4470a4473,4479
>      <tr>
>       <td> 2012/05/29 </td>
>       <td> DD </td>
>       <td> Added resolution of issue
>        <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=17234
">17234</
loc>
>       </td>
>      </tr>


[attachment "wsmex-17234.doc" deleted by Doug Davis/Raleigh/IBM] 

thanks
-Doug
______________________________________________________
STSM |  Standards Architect  |  IBM Software Group
(919) 254-6905  |  IBM 444-6905  |  dug@us.ibm.com
The more I'm around some people, the more I like my dog.
----- Forwarded by Doug Davis/Raleigh/IBM on 05/29/2012 11:30 AM -----

poehlsen@itm.uni-luebeck.de 
05/07/2012 04:17 AM

To
public-ws-resource-access-comments@w3.org
cc

Subject
WS-Mex dialect type






Hello,

as far as I discovered, the dialect is a mex:QNameSerialization instead
of a xs:Qname as before.
http://lists.w3.org/Archives/Public/public-ws-resource-access-notifications/2011Feb/0138.html

Are there any information available, why this was changed?

Since "Normative text within this specification takes precedence over
the XML Schema and WSDL descriptions, which in turn take precedence
over outlines, which in turn take precedence over examples." it is
quite difficult to see what seems to be right.

Especially since the serialization algorithm is only provided as a
"note" (non-normative text?) within the spec. (In the description of
the dialect attribute /mex:Metadata/mex:MetadataSection/@Dialect a
_note_ says that "the QName is serialized as
{namespace-uri}localName."
In the XML Schema exists only a regex: <xs:pattern value='\{.*\}.+'/>
In the outline in section 4 the dialect is a 'xs:Qname'
http://www.w3.org/TR/ws-metadata-exchange/#web-services-metadata

If the note is applicable Example 2-4 line 21, 27, and 34 have an
incorrect Qname serialization. It must be a QNameSerialization, same
with Example 2-6 line 19.


There is another bug:
Example 2-4 line 21 lacks an identifier. Now it is required in contrast
to the submission version of the spec.


Kind regards,
Stephan

Received on Thursday, 31 May 2012 00:24:12 UTC