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/#MicrowaveParallelReceived on Wednesday, 13 February 2013 16:03:26 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 13 February 2013 16:03:34 GMT