test416.txml 699 B

1234567891011121314151617181920212223242526
  1. <?xml version="1.0"?>
  2. <!-- test that the done.state.id gets generated when we enter the final state of a compound state -->
  3. <scxml version="1.0" initial="s1" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  4. <state id="s1" initial="s11">
  5. <onentry>
  6. <send event="timeout" delay="1s"/>
  7. </onentry>
  8. <transition event="timeout" conf:targetfail=""/>
  9. <state id="s11" initial="s111">
  10. <transition event="done.state.s11" conf:targetpass=""/>
  11. <state id="s111">
  12. <transition target="s11final"/>
  13. </state>
  14. <final id="s11final"/>
  15. </state>
  16. </state>
  17. <conf:pass/>
  18. <conf:fail/>
  19. </scxml>