blob: 0e12064608412ffd7f3016b0d28ada1e9b877d28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?xml version="1.0"?>
<!-- test that ecmascript objects defined by <data> have value undefined if <data> does not assign a value -->
<scxml datamodel="ecmascript" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
<datamodel>
<data id="var1"/>
</datamodel>
<state id="s0">
<transition cond="var1==undefined" conf:targetpass=""/>
<transition conf:targetfail=""/>
</state>
<conf:pass/>
<conf:fail/>
</scxml>
|