blob: 1eaac1694517bf7172762d59ffcf0f79980cb6fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?xml version="1.0" standalone="no"?>
<!-- testing that in case of early binding variables are assigned values at init time, before
the state containing them is visited -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="lua">
<state id="s0">
<transition cond="testvar1 == 1" target="pass"/>
<transition target="fail"/>
</state>
<state id="s1">
<datamodel>
<data expr="1" id="testvar1"/>
</datamodel>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|