blob: 7207dbed4b84509858cc3ee1b9d30c778344d83f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- test that assignment with an illegal expr raises an error -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="s0" datamodel="lua">
<datamodel>
<data expr="1" id="testvar1"/>
</datamodel>
<state id="s0">
<onentry>
<assign expr="!" location="testvar1"/>
<raise event="foo"/>
</onentry>
<transition event="error.execution" target="pass"/>
<transition event=".*" target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|