- From: Doug Davis <dug@us.ibm.com>
- Date: Wed, 30 May 2012 20:23:37 -0400
- To: public-ws-resource-access@w3.org
- Message-ID: <OF5EE38E02.8453A413-ON85257A0F.00022094-85257A0F.00022AA2@us.ibm.com>
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) <mex:MetadataSection Dialect='wsdl:definitions'> < (22) <wsdl:definitions> < (23) <!-- WSDL data removed for brevity --> < (24) </wsdl:definitions> < (25) </mex:MetadataSection> < (26) <mex:MetadataSection < (27) Dialect='xs:schema' < (28) Identifier='http://services.example.org/stockquote/schemas'> < (29) <mex:MetadataLocation> < (30) http://services.example.org/stockquote/schemas < (31) </mex:MetadataLocation> < (32) </mex:MetadataSection> < (33) <mex:MetadataSection < (34) Dialect='wsp:Policy' < (35) Identifier='http://services.example.org/stockquote/policy'> < (36) <mex:MetadataReference> < (37) <wsa:Address> < (38) http://services.example.org/stockquote/policy < (39) </wsa:Address> < (40) </mex:MetadataReference> < (41) </mex:MetadataSection> < (42) </mex:Metadata> < (43) </wst:GetResponse> < (44) </s11:Body> < (45) </s11:Envelope></eg> --- > (21) <mex:MetadataSection > (22) Dialect='{http://schemas.xmlsoap.org/wsdl/}definitions' > (23) Identifier='http://services.example.org/stockquote'> > (24) <wsdl:definitions> > (25) <!-- WSDL data removed for brevity --> > (26) </wsdl:definitions> > (27) </mex:MetadataSection> > (28) <mex:MetadataSection > (29) Dialect='{http://www.w3.org/2001/XMLSchema}schema' > (30) Identifier='http://services.example.org/stockquote/schemas'> > (31) <mex:MetadataLocation> > (32) http://services.example.org/stockquote/schemas > (33) </mex:MetadataLocation> > (34) </mex:MetadataSection> > (35) <mex:MetadataSection > (36) Dialect='{http://www.w3.org/ns/ws-policy}Policy' > (37) Identifier='http://services.example.org/stockquote/policy'> > (38) <mex:MetadataReference> > (39) <wsa:Address> > (40) http://services.example.org/stockquote/policy > (41) </wsa:Address> > (42) </mex:MetadataReference> > (43) </mex:MetadataSection> > (44) </mex:Metadata> > (45) </wst:GetResponse> > (46) </s11:Body> > (47) </s11:Envelope></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 < <mex:MetadataSection Dialect='<emph>xs:QName</emph>' --- > <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