- From: Jim Barnett <Jim.Barnett@genesyslab.com>
- Date: Wed, 13 Feb 2013 16:02:56 +0000
- To: "spam.spam.spam.spam@free.fr" <spam.spam.spam.spam@free.fr>, "www-voice@w3.org" <www-voice@w3.org>
Yes, the transitions to 'idle' and 'off' should be inside <intial> elements. Gavin commented on this as well (as it stands, the machine on reaching state 'engine' will go into an infinite loop, re-entering 'off' over and over again.) - Jim -----Original Message----- From: spam.spam.spam.spam@free.fr [mailto:spam.spam.spam.spam@free.fr] Sent: Wednesday, February 13, 2013 5:20 AM To: www-voice@w3.org Subject: again a bad initial target in the SCXML document example Hello, In the G.3 [1] section, I can read: '<state id="on"> <transition target="idle"/>' As this is a transition without condition or event, I guess that this is an initial transition. So, the correct way to do this is: '<state id="on"> <initial> <transition target="idle"/> </initial>' Is it true ? Thank you. Regards. [1] http://www.w3.org/TR/2012/WD-scxml-20121206/#MicrowaveParallel
Received on Wednesday, 13 February 2013 16:03:26 UTC