[SCXML] task attribute

If you remove task attribute, you have to  define if is it possible to use In() predicate in <if>  and semantics of it.
Example:
<state id="main">
 <onexit>
   <if cond="In('f1')">
     <log expr="'main done'"/>
   </if>
 </onexit>
 <state id="s1"/>
 <final id="f1"/>
</state>

What value does In() with child argument return inside parent's <onexit>?
If you are going to answer that this <onexit> must be moved to f1, I can complicate example with parallel parent and lot of <final>s.

       
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.

Received on Tuesday, 10 April 2007 16:43:36 UTC