summaryrefslogtreecommitdiffstats
path: root/test/w3c/txml/test313.txml
blob: ee11064a5d56d75374086181d248f28e9551cc39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>

<!-- this is a manual test. The processor is allowed to reject this doc, but if it executes it with its illegal
expression, it must raise an error -->

<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" conf:datamodel=""
xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">

<datamodel>
  <data conf:id="1" conf:expr="1"/>
 </datamodel>

<state id="s0">
  <onentry>
   <assign conf:location="1" conf:illegalExpr=""/>
   <raise event="foo"/>
   </onentry>
   <transition event="error.execution" conf:targetpass=""/> 
   <transition event=".*" conf:targetfail=""/>
   </state>
    
<conf:pass/>
<conf:fail/>

   
</scxml>