W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > May 2007

RE: Proposal for Assertion InterfaceMessageReference-0042

From: Jonathan Marsh <jonathan@wso2.com>
Date: Thu, 10 May 2007 08:59:27 -0700
To: "'Ramkumar Menon'" <ramkumar.menon@gmail.com>
Cc: <public-ws-desc-comments@w3.org>
Message-ID: <004f01c7931c$31111940$93334bc0$@com>
Thank you for this issue.  We tracked it as Issue 4380 [1] in our short Last Call period.  The Working Group closed it without action as the specification of a uniqueness constraint would prevent the attribute from being optional as it is now.

 

The spec should be in Proposed Recommendation shortly, if you disagree with the resolution of this issue please inform us as soon as possible.

 

[1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=4380 

 

Jonathan Marsh -  <http://www.wso2.com> http://www.wso2.com -  <http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com

 

From: www-ws-desc-request@w3.org [mailto:www-ws-desc-request@w3.org] On Behalf Of Ramkumar Menon
Sent: Thursday, February 15, 2007 2:06 PM
To: www-ws-desc@w3.org
Subject: Proposal for Assertion InterfaceMessageReference-0042

 

Hi Gurus,

 

The mentioned assertion states "For each Interface Message Reference component in the {interface message references} property of an Interface Operation component, its {message label} property MUST be unique.". 

 

Correct me if I am wrong, but can we have the XSD capture this constraint explicitly ?

 

For instance,

 

<xs:element name="operation" type="wsdl:BindingOperationType">
  <xs:unique name="messageLabel">
    <xs:selector xpath="(wsdl:input|wsdl:output:wsdl:infault|wsdl:outfault)"> 
     <xs:field xpath="@messageLabel">
    </xs:selectpr>
  </xs:unique>
</xs:element>


rgds,

Ram
-- 
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!

-Ramkumar Menon
A typical Macroprocessor 
Received on Thursday, 10 May 2007 15:59:06 GMT

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