blob: 154d60ec03b432590efa67a825737ad44611c92b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?xml version="1.0" standalone="no"?>
<!-- test that src content can be used to assign a value to a var. Edit
test552.txt to have a value that's legal for the datamodel in question -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="lua">
<datamodel>
<data src="file:test552.txt" id="testvar1"/>
</datamodel>
<state id="s0">
<transition cond="testvar1 ~= nil" target="pass"/>
<transition target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|