W3C home > Mailing lists > Public > public-ws-policy@w3.org > December 2006

Canonical form for WSDL 1.1 Element Identifiers

From: Paul Cotton <Paul.Cotton@microsoft.com>
Date: Thu, 7 Dec 2006 13:00:10 -0800
To: "public-ws-policy@w3.org" <public-ws-policy@w3.org>
CC: Jonathan Marsh <jonathan@wso2.com>, "plh@w3.org" <plh@w3.org>
Message-ID: <4D66CCFC0B64BA4BBD79D55F6EBC22571FD4B7864B@NA-EXMSG-C103.redmond.corp.microsoft.com>
Philippe and I have been carrying on a correspondence with Jonathan Marsh, WSDL WG chair, on the WS CG email list [1].  They are okay with us carrying forward with this work.



In Jonathan's most recent response [2] he requests that we consider adding a canonical form definition such as was recently added to WSDL 2.0 [3] to our WSDL 1.1 Element Identifiers material.  I have included the referenced section below for easy reference:



C.2 Canonical Form for WSDL 2.0 Component Designators

The IRI-references described above MAY be used as WSDL 2.0 component designators. For ease of comparison, the fragment identifier of WSDL 2.0 component designators SHOULD conform to the following canonicalization rules:

         The fragment identifier consists of a sequence zero or more xmlns() pointer parts followed by exactly one wsdl.*() pointer part. <http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#CanonFragId-1900002-summary#CanonFragId-1900002-summary>

         Each xmlns() pointer part that appears in the fragment identifier defines a namespace that is referenced by the wsdl.*() pointer part. <http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#CanonFragId-1900003-summary#CanonFragId-1900003-summary>

         Each xmlns() pointer part defines a unique namespace. <http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#CanonFragId-1900004-summary#CanonFragId-1900004-summary>

         The xmlns() pointer parts define namespaces in the same order as they are referenced in the wsdl.*() pointer part. <http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#CanonFragId-1900005-summary#CanonFragId-1900005-summary>

         The namespace prefixes defined by the xmlns() pointer parts are named ns1 , ns2 , etc., in the order of their appearance. <http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#CanonFragId-1900006-summary#CanonFragId-1900006-summary>

         The fragment identifier contains no optional whitespace. <http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#CanonFragId-1900007-summary#CanonFragId-1900007-summary>





/paulc



[1] http://lists.w3.org/Archives/Member/w3c-ws-cg/2006Dec/0001.html

[2] http://lists.w3.org/Archives/Member/w3c-ws-cg/2006Dec/0005.html

[3] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#component-designator-canonical-form



Paul Cotton, Microsoft Canada

17 Eleanor Drive, Ottawa, Ontario K2E 6A3

Tel: (613) 225-5445 Fax: (425) 936-7329

mailto:Paul.Cotton@microsoft.com
Received on Thursday, 7 December 2006 21:00:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:43 GMT