W3C home > Mailing lists > Public > public-ws-chor@w3.org > June 2004

Proposal for change to CDL Perform (plus TWIST example)

From: Steve Ross-Talbot <steve@enigmatec.net>
Date: Mon, 14 Jun 2004 14:06:24 +0100
To: WS-Choreography List <public-ws-chor@w3.org>
Message-Id: <A368545A-BE03-11D8-9D57-000393D13C9A@enigmatec.net>
The enclosed example is the full TWIST usecase with the modified  
PERFORM. It will not parse correctly because the schema does not  
support the modified PERFORM. The reference for this is:

http://lists.w3.org/Archives/Public/public-ws-chor-comments/2004Jun/ 
0001.html

My proposal is to remodel the perform such that the tAlias complex  
element is optional (minOccurs) and the alias name is promoted as the  
alias name for the choreography being performed (element name="alias").  
Thus it would be as follows:

<complexType name="tPerform">
     <complexContent>
       <extension base="cdl:tExtensibleElements">
         <sequence>
           <type="cdl:tAlias" minOccurs="0"
                   maxOccurs="unbounded"/>
         </sequence>
         <attribute name="choreographyName" type="QName" element  
name="alias"
                  use="required"/>
       </extension>
     </complexContent>
   </complexType>


As opposed to the current perform which is defined as follows:

<complexType name="tPerform">
     <complexContent>
       <extension base="cdl:tExtensibleElements">
         <sequence>
           <element name="alias" type="cdl:tAlias"
                   maxOccurs="unbounded"/>
         </sequence>
         <attribute name="choreographyName" type="QName"
                  use="required"/>
       </extension>
     </complexContent>
   </complexType>




This would enable my TWIST example to parse correctly.

Thanks to Tony for sorting out some of the parsing issues and apologies 
to Tony for introducing another problem with PERFORM.

Cheers

Steve T


Received on Monday, 14 June 2004 09:06:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 06:36:26 GMT