summaryrefslogtreecommitdiffstats
path: root/test/w3c/lua/test487.scxml
blob: 95640c3f1f751f6df06401fc828e94ce3715bd60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" standalone="no"?>
<!-- test illegal assignment.  error.execution should be raised.  -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="lua">
  <datamodel>
    <data expr="!" id="testvar1"/>
  </datamodel>
  <state id="s0">
    <onentry>
      <raise event="event"/>
    </onentry>
    <transition event="error.execution" target="pass"/>
    <transition event="*" target="fail"/>
  </state>
  <final id="pass"/>
  <final id="fail"/>
</scxml>