test560.txml 605 B

1234567891011121314151617181920212223
  1. <?xml version="1.0"?>
  2. <!-- in the ECMA data model, test that processor creates correct structure in
  3. _event.data when receiving KVPs in an event -->
  4. <scxml xmlns="http://www.w3.org/2005/07/scxml"
  5. xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0" version="1.0" datamodel="ecmascript">
  6. <state id="s0">
  7. <onentry>
  8. <send event="foo">
  9. <param name="aParam" expr="1"/>
  10. </send>
  11. </onentry>
  12. <transition event="foo" cond="_event.data.aParam == 1" conf:targetpass=""/>
  13. <transition event="*" conf:targetfail=""/>
  14. </state>
  15. <conf:pass/>
  16. <conf:fail/>
  17. </scxml>