blob: ddbef863ad7299c2526ceb5ae28900177211c96f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?xml version="1.0" standalone="no"?>
<!-- test that an unassigned variable creates an empty <data> element -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="xpath">
<datamodel>
<data id="foo"/>
</datamodel>
<state id="s0">
<transition cond="count($foo) = 1 and count($foo/*) = 0" target="pass"/>
<transition target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|