W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2010

Re: [scxml] Possible inconsistency in SCXML specification Appendix E1

From: Jim Barnett <Jim.Barnett@alcatel-lucent.com>
Date: Tue, 3 Aug 2010 05:19:10 -0700
Message-ID: <E17CAD772E76C742B645BD4DC602CD810110E4CA@NAHALD.us.int.genesyslab.com>
To: <jbeard4@cs.mcgill.ca>, <www-voice@w3.org>
Jacob,
  I think that you are right. We will revise this example in the next draft. 

Jim Barnett

----- Original Message -----
From: www-voice-request@w3.org <www-voice-request@w3.org>
To: www-voice@w3.org <www-voice@w3.org>
Sent: Mon Aug 02 09:46:14 2010
Subject: [scxml] Possible inconsistency in SCXML specification Appendix E1

Hi,

I think I may have found a place in Example Main.scxml, Section E.1 of 
the latest SCXML specification:

<state id="Test3Sub1">
         <onentry>
           <log expr="'Inside Test3Sub1...'"/>
           <!-- Send our self an event in 5s -->
           <send event="'Timer'"  delay="'5s'"/>
         </onentry>
....
       </state>


If I understand the specification correctly, the send element should be 
written as follows:

<send event="Timer"  delay="5s"/>


Or:

<send eventexpr="'Timer'"  delayexpr="'5s'"/>


As "'Timer'" and "'5s'" are string expressions that must be evaluated in 
order for their values to be legal.

Please let me know if I am correct in this, or if I have misunderstood 
something.

Thanks,

Jake



					
-------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities.
					
Received on Tuesday, 3 August 2010 12:19:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 August 2010 12:20:00 GMT