summaryrefslogtreecommitdiffstats
path: root/test/w3c/txml/test550.txml
diff options
context:
space:
mode:
Diffstat (limited to 'test/w3c/txml/test550.txml')
-rw-r--r--test/w3c/txml/test550.txml24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/w3c/txml/test550.txml b/test/w3c/txml/test550.txml
new file mode 100644
index 0000000..89f55a7
--- /dev/null
+++ b/test/w3c/txml/test550.txml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<!-- test that expr can be used to assign a value to a var. This test uses early binding -->
+
+<scxml initial="s0" version="1.0" conf:datamodel="" binding="early" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
+
+ <state id="s0">
+
+ <transition conf:idVal="1=2" conf:targetpass=""/>
+ <transition conf:targetfail=""/>
+ </state>
+
+ <state id="s1">
+ <datamodel>
+ <data conf:id="1" conf:expr="2"/>
+ </datamodel>
+ </state>
+
+ <conf:pass/>
+ <conf:fail/>
+
+
+
+</scxml> \ No newline at end of file