test577.txml 775 B

123456789101112131415161718192021222324
  1. <?xml version="1.0"?>
  2. <!-- test that that <send> without target in basichttp event i/o processor
  3. causes error.communication to get added to internal queue . -->
  4. <scxml initial="s0" conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  5. <state id="s0">
  6. <onentry>
  7. <!-- sent by scxml event i/o processor, added to external queue -->
  8. <send event="event1"/>
  9. <!-- should put error.communication on internal queue -->
  10. <send event="test" type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor"/>
  11. </onentry>
  12. <transition event="error.communication" conf:targetpass=""/>
  13. <transition event="*" conf:targetfail=""/>
  14. </state>
  15. <conf:pass/>
  16. <conf:fail/>
  17. </scxml>