test554.txml 1012 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0"?>
  2. <!-- test that if the evaluation of <invoke>'s args causes an error, the
  3. invocation is cancelled. In this test, that means that we don't get done.invoke
  4. before the timer goes off. -->
  5. <scxml initial="s0" version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  6. <state id="s0">
  7. <onentry>
  8. <send event="timer" conf:delay="1"/>
  9. </onentry>
  10. <!-- reference an invalid namelist -->
  11. <invoke type="http://www.w3.org/TR/scxml/" conf:invalidNamelist="">
  12. <content>
  13. <scxml initial="subFinal" version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  14. <final id="subFinal"/>
  15. </scxml>
  16. </content>
  17. </invoke>
  18. <transition event="timer" conf:targetpass=""/>
  19. <transition event="done.invoke" conf:targetfail=""/>
  20. </state>
  21. <conf:pass/>
  22. <conf:fail/>
  23. </scxml>