summaryrefslogtreecommitdiffstats
path: root/test/uscxml
diff options
context:
space:
mode:
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