W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2007

Allowing "initial" to be an attribute

From: Barnett, James <James.Barnett@aspect.com>
Date: Thu, 5 Apr 2007 09:59:48 -0400
Message-ID: <57686697B4E28949A90094A6469165C701CEA4ED@ASP1EXCH1.aspect.com>
To: <www-voice@w3.org>, Torbjörn Lager <torbjorn.lager@gmail.com>
We have provisionally decided to accept the following change request for inclusion in the next version of the spec.  Both <scxml> and <state> will be allowed to have either

<initial> children or "initial" attributes:

 

>From Torbjorn Lager

 

Re my suggestion to replace <initial> with an attribute: Perhaps you could have
the best of both worlds by treating
 
 <state id="s" target="s1">
 
as equivalent to (and 'syntactic sugar' for) 
 
 <state id="s">
    <initial><transition target="s1"></initial>
 
An SCXML author could choose any of these forms of expression, but if he wanted
to run executable content when entering s1, he would have to pick the more
verbose form of expression. 

 
Received on Thursday, 5 April 2007 13:59:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 April 2007 13:59:55 GMT