blob: 51896b4274cb4f617e1eb32b7971fc11e1a05d9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?xml version="1.0" standalone="no"?>
<!-- test that xpath expressions are converted to boolean when used as conditional expressions-->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" datamodel="xpath">
<datamodel>
<data id="foo" expr="2"/>
</datamodel>
<state id="s0">
<transition cond="$foo" target="pass"/>
<transition target="fail"/>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|