Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

parent onentry's not executed when initial is specified #34

Open
mattoshry opened this issue Jul 12, 2016 · 0 comments
Open

parent onentry's not executed when initial is specified #34

mattoshry opened this issue Jul 12, 2016 · 0 comments

Comments

@mattoshry
Copy link
Collaborator

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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant