Revision control
++ <?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" datamodel="null" version="1.0" exmode="strict" initial="s01">
++
++ <!-- since exmode=strict, the processor should reject this document. Therefore this is a manual test -->
++ <datamodel>
++ <data id="Var1" expr="1"/>
++ </datamodel>
++
++ <state id="s0">
++ <onentry>
++ <assign location="foo" expr="2"/>
++ <script>
++ x = y
++ </script>
++ <foreach array="baz" item="bat">
++ <log expr="this is a mistake"/>
++ </foreach>
++ </onentry>
++
++
++ <state id="s01" initial="s01final">
++ <final id="s01final">
++ <donedata>
++ <param name="result" expr="foo"/>
++ </donedata>
++ </final>
++ </state>
++
++ <transition target="fail"/>
++
++ </state>
++
++ <state id="s1">
++ <onentry>
++ <raise event="noerror"/>
++ </onentry>
++ <transition event="error" target="fail"/>
++ <transition event="noerror" target="pass"/>
++ </state>
++
++ <final id="pass"><onentry><log label="Outcome" expr="'pass'"/></onentry></final>
++ <final id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final>
++
++
++ </scxml>