blob: e83faca3da38f98ce5837a7c95ef89b565510ba0 (
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="_ioprocessors['http://www.w3.org/TR/scxml/#SCXMLEventProcessor'].location" 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>
|