test193.txml 845 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0"?>
  2. <!-- we test that omitting target and targetexpr of <send> when using the
  3. SCXML event i/o processor puts the event on the external queue. -->
  4. <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">
  5. <state id="s0">
  6. <onentry>
  7. <send event="internal"/>
  8. <!-- this should put event1 in the external queue -->
  9. <send event="event1" type="http://www.w3.org/TR/scxml/#SCXMLEventProcessor"/>
  10. <send event="timeout" delay="1s"/>
  11. </onentry>
  12. <transition event="event1" conf:targetfail=""/>
  13. <transition event="internal" target="s1"/>
  14. </state>
  15. <state id="s1">
  16. <transition event="event1" conf:targetpass=""/>
  17. <transition event="timeout" conf:targetfail=""/>
  18. </state>
  19. <conf:pass/>
  20. <conf:fail/>
  21. </scxml>