diff options
Diffstat (limited to 'test/w3c/xpath/test199.scxml')
-rw-r--r-- | test/w3c/xpath/test199.scxml | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/test/w3c/xpath/test199.scxml b/test/w3c/xpath/test199.scxml index 9c8f734..b37334d 100644 --- a/test/w3c/xpath/test199.scxml +++ b/test/w3c/xpath/test199.scxml @@ -1,18 +1,22 @@ -<?xml version="1.0" encoding="UTF-8"?><!-- we test that using an invalid send type results in error.execution --><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="xpath"> - -<state id="s0"> - <onentry> - <send type="27" event="event1"/> - <send event="timeout"/> +<?xml version="1.0" encoding="UTF-8"?> +<!-- we test that using an invalid send type results in error.execution --> +<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="xpath"> + <state id="s0"> + <onentry> + <send type="27" event="event1"/> + <send event="timeout"/> </onentry> - - - <transition event="error.execution" target="pass"/> - <transition event="*" target="fail"/> - </state> - - -<final id="pass"><onentry><log label="Outcome" expr="'pass'"/></onentry></final> -<final id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final> - -</scxml>
\ No newline at end of file + <transition event="error.execution" target="pass"/> + <transition event="*" target="fail"/> + </state> + <final id="pass"> + <onentry> + <log label="Outcome" expr="'pass'"/> + </onentry> + </final> + <final id="fail"> + <onentry> + <log label="Outcome" expr="'fail'"/> + </onentry> + </final> +</scxml> |