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

[scxml] Possible inconsistency in SCXML specification Appendix E1

From: Jacob Beard <jbeard4@cs.mcgill.ca>
Date: Mon, 02 Aug 2010 12:46:14 -0400
Message-ID: <4C56F656.90705@cs.mcgill.ca>
To: www-voice@w3.org
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
Received on Tuesday, 3 August 2010 07:32:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 August 2010 07:32:24 GMT