W3C home > Mailing lists > Public > www-ws-desc@w3.org > March 2007

[Bug 4380] Proposal for Assertion InterfaceMessageReference-0042

From: <bugzilla@wiggum.w3.org>
Date: Thu, 08 Mar 2007 23:48:06 +0000
CC:
To: www-ws-desc@w3.org
Message-Id: <E1HPSL8-0005LS-RR@wiggum.w3.org>

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





------- Comment #1 from jonathan@wso2.com  2007-03-08 23:48 -------
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>
Received on Thursday, 8 March 2007 23:48:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:46 GMT