test376.txml 672 B

1234567891011121314151617181920212223242526
  1. <?xml version="1.0"?>
  2. <!-- test that each onentry handler is a separate block. The <send> of event1 will cause an error but
  3. the increment to var1 should happen anyways -->
  4. <scxml conf:datamodel="" version="1.0" 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. <onentry>
  10. <send conf:illegalTarget="" event="event1"/>
  11. </onentry>
  12. <onentry>
  13. <conf:incrementID id="1"/>
  14. </onentry>
  15. <transition conf:idVal="1=2" conf:targetpass=""/>
  16. <transition conf:targetfail=""/>
  17. </state>
  18. <conf:pass/>
  19. <conf:fail/>
  20. </scxml>