W3C home > Mailing lists > Public > public-ws-chor@w3.org > September 2005

Re: Error in example fragment in 6.2.3

From: Nickolas Kavantzas <nickolas.kavantzas@oracle.com>
Date: Thu, 1 Sep 2005 16:53:16 -0700
Message-ID: <01ef01c5af50$52a310b0$538e1990@us.oracle.com>
To: "Gary Brown" <gary@pi4tech.com>
Cc: "'WS-Choreography List'" <public-ws-chor@w3.org>
Hi Gary,

you are definitely correct about the example being incorrect with the
section 5.2 rule (" The attribute name is used to specify a distinct name for each variable declared within the variableDefinitions element. ").

But IHMO the problem is with the rule itself, since we cannot have two vars, with the same 
name, defined at 2 roles but one having silent=true and the other not, which may be desired
in some use-cases.


Also,  in the last paragraph in section 5.2:

'In those cases where the variable is shared amongst a subset of roles within a choreography, those roles need to be listed within the definition of the variable as the roleTypes using the attribute roleTypes.',  

the word subset seems incorrect. I think 'set' is better than 'subset'.


Best regards,

--
Nick
  ----- Original Message ----- 
  From: Gary Brown 
  To: 'WS-Choreography List' 
  Sent: Thursday, September 01, 2005 3:43 AM
  Subject: Error in example fragment in 6.2.3


  Hi

  The example in 6.2.3 Interaction Syntax has two variable declarations of the same name, which is no longer permitted:

      <variable name="badPurchaseOrderAck"   
                informationType="tns:badPOAckType" roleTypes="tns:Consumer"/>
      <variable name="badPurchaseOrderAck"   
                informationType="tns:badPOAckType" roleTypes="tns:Retailer"
                silent="true" />
As it says in section 5.2:" The attribute name is used to specify a distinct name for each variable declared within the variableDefinitions element. " RegardsGary------=extPart_000_
Received on Thursday, 1 September 2005 23:53:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 01:01:41 GMT