diff options
Diffstat (limited to 'test/uscxml/xinclude/test-xinclude-simple.scxml')
-rw-r--r-- | test/uscxml/xinclude/test-xinclude-simple.scxml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/uscxml/xinclude/test-xinclude-simple.scxml b/test/uscxml/xinclude/test-xinclude-simple.scxml new file mode 100644 index 0000000..72127cd --- /dev/null +++ b/test/uscxml/xinclude/test-xinclude-simple.scxml @@ -0,0 +1,25 @@ +<scxml xmlns:xi="http://www.w3.org/2001/XInclude"> + <!-- include from file --> + <xi:include href="text-xinclude-simple.included" /> + <state id="s0"> + <transition target="fail" /> + </state> + <state id="s1"> + <!-- force fallback via invalid url --> + <xi:include href="included.invalid"> + <xi:fallback> + <transition target="s2" /> + </xi:fallback> + </xi:include> + <transition target="fail" /> + </state> + <state id="s2"> + <transition target="pass" /> + </state> + <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 |