SCION-CORE
SCION-CORE copied to clipboard
parent onentry's not executed when initial is specified
Given the following, fsm with an initial 's1.sub1', only the log containing '3' is executed. Removing 'initial', all three log statements are executed.
<scxml xmlns="http://www.w3.org/2005/07/scxml"
version="1.0" initial="s1.sub1">
<state id="composite">
<onentry> <log label="TEST" expr="'1 Composite: start'" /></onentry>
<state id="s1">
<onentry><log label="TEST" expr="2 'NS.onentry: S1 OUTER'" /> </onentry>
<state id="s1.sub1">
<onentry><log label="TEST" expr="'3 NS.onentry: S1.sub1 inner.'"/></onentry>
</state>
</state>
</state>
</scxml>