summaryrefslogtreecommitdiffstats
path: root/test/samples/w3c/xpath/test436.scxml
blob: d8b2ca27e0d08919a85e55cd3af155ffb19c2ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?><!-- test that in() predicate works in null data model --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="null" version="1.0" initial="p">

     
 <parallel id="p">
 
   <state id="ps0">
   <transition cond="In('s1')" target="fail"/>
   <transition cond="In('ps1')" target="pass"/> 
   <transition target="fail"/>
   </state>

   <state id="ps1"/> 
 </parallel>
 
 <state id="s1"/>
    
<final id="pass"><onentry><log label="Outcome" expr="'pass'"/></onentry></final>
<final id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final>

   
</scxml>