blob: d54f70087851e20b2dd1eceeeb6d2f233f551241 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?xml version="1.0" standalone="no"?>
<!-- test that the location entry for the SCXML Event I/O processor can be used as the target for an event -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="lua">
<datamodel>
<data expr="FIXME" id="testvar1"/>
</datamodel>
<state id="s0">
<onentry>
<send event="foo" targetexpr="testvar1"/>
<send event="timeout" delay="2s"/>
</onentry>
<transition event="foo" target="pass"/>
<transition event="*" target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|