test378.txml 717 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0"?>
  2. <!-- test that each onexithandler is a separate block. The <send> of event1 will cause an error but
  3. the increment to var1 should happen anyways -->
  4. <scxml version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  5. <datamodel>
  6. <data conf:id="1" conf:expr="1"/>
  7. </datamodel>
  8. <state id="s0">
  9. <onexit>
  10. <send conf:illegalTarget="" event="event1"/>
  11. </onexit>
  12. <onexit>
  13. <conf:incrementID id="1"/>
  14. </onexit>
  15. <transition target="s1"/>
  16. </state>
  17. <state id="s1">
  18. <transition conf:idVal="1=2" conf:targetpass=""/>
  19. <transition conf:targetfail=""/>
  20. </state>
  21. <conf:pass/>
  22. <conf:fail/>
  23. </scxml>