summaryrefslogtreecommitdiffstats
path: root/test/samples/w3c/txml/test304.txml
diff options
context:
space:
mode:
Diffstat (limited to 'test/samples/w3c/txml/test304.txml')
-rw-r--r--test/samples/w3c/txml/test304.txml17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/samples/w3c/txml/test304.txml b/test/samples/w3c/txml/test304.txml
new file mode 100644
index 0000000..9ed6cbb
--- /dev/null
+++ b/test/samples/w3c/txml/test304.txml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- test that a variable declared by a script can be accessed like any other part of the data model -->
+
+<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
+ <conf:script/>
+
+ <state id="s0">
+ <transition conf:idVal="1=1" conf:targetpass=""/>
+ <transition conf:targetfail=""/>
+ </state>
+
+<conf:pass/>
+<conf:fail/>
+
+
+</scxml> \ No newline at end of file