<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4380</bug_id>
          
          <creation_ts>2007-03-08 23:43:36 +0000</creation_ts>
          <short_desc>Proposal for Assertion InterfaceMessageReference-0042</short_desc>
          <delta_ts>2007-03-29 17:02:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WSDL</product>
          <component>Core</component>
          <version>2.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-ws-desc/2007Feb/0114.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Marsh">jonathan</reporter>
          <assigned_to name="Philippe Le Hegaret">plh</assigned_to>
          
          
          <qa_contact name="WSDL Mailing List">www-ws-desc</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14354</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Marsh">jonathan</who>
    <bug_when>2007-03-08 23:43:36 +0000</bug_when>
    <thetext> </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14356</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Marsh">jonathan</who>
    <bug_when>2007-03-08 23:48:06 +0000</bug_when>
    <thetext>The mentioned assertion states &quot;For each Interface Message Reference
component in the {interface message references} property of an Interface
Operation component, its {message label} property MUST be unique.&quot;.

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

For instance,

&lt;xs:element name=&quot;operation&quot; type=&quot;wsdl:BindingOperationType&quot;&gt;
  &lt;xs:unique name=&quot;messageLabel&quot;&gt;
    &lt;xs:selector
xpath=&quot;(wsdl:input|wsdl:output:wsdl:infault|wsdl:outfault)&quot;&gt;
     &lt;xs:field xpath=&quot;@messageLabel&quot;&gt;
    &lt;/xs:selectpr&gt;
  &lt;/xs:unique&gt;
&lt;/xs:element&gt;

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14583</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Marsh">jonathan</who>
    <bug_when>2007-03-29 17:02:42 +0000</bug_when>
    <thetext>Per http://lists.w3.org/Archives/Public/www-ws-desc/2007Mar/att-0083/20070329-ws-desc-minutes.html#item04 closed with no action.

The specification of a uniqueness constraint is incompatible with the optionality of the attribute.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>