summaryrefslogtreecommitdiffstats
path: root/test/uscxml
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 16:20:11 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-12-05 16:20:11 (GMT)
commit93f8cb376e6e496f0194d1e0657081354434da96 (patch)
tree551d4b37708cb983b73432029f370b605d76da29 /test/uscxml
parenta5a139f46438148901ea6627b73d1bf6ae39b346 (diff)
downloaduscxml-93f8cb376e6e496f0194d1e0657081354434da96.zip
uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.gz
uscxml-93f8cb376e6e496f0194d1e0657081354434da96.tar.bz2
Support for xinclude
Diffstat (limited to 'test/uscxml')
-rw-r--r--test/uscxml/xinclude/included.scxml3
-rw-r--r--test/uscxml/xinclude/test-xinclude.scxml9
2 files changed, 12 insertions, 0 deletions
diff --git a/test/uscxml/xinclude/included.scxml b/test/uscxml/xinclude/included.scxml
new file mode 100644
index 0000000..4d8c8f5
--- /dev/null
+++ b/test/uscxml/xinclude/included.scxml
@@ -0,0 +1,3 @@
+<state id="start">
+ <transition target="pass" />
+</state> \ No newline at end of file
diff --git a/test/uscxml/xinclude/test-xinclude.scxml b/test/uscxml/xinclude/test-xinclude.scxml
new file mode 100644
index 0000000..a07c087
--- /dev/null
+++ b/test/uscxml/xinclude/test-xinclude.scxml
@@ -0,0 +1,9 @@
+<scxml xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="included.scxml" />
+ <final id="fail">
+ <onentry><log expr="FAIL!" /></onentry>
+ </final>
+ <final id="pass">
+ <onentry><log expr="PASS!" /></onentry>
+ </final>
+</scxml> \ No newline at end of file