blob: 1b042a2d1e7d92accf56d074ca495e9e65627b0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?xml version="1.0" standalone="no"?>
<!-- test that the value in _event.name matches the event name used to match against transitions -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" datamodel="lua">
<state id="s0">
<onentry>
<raise event="foo"/>
</onentry>
<transition event="foo" cond="_event.name == 'foo'" target="pass"/>
<transition event="foo" target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|