test562.txml 657 B

1234567891011121314151617181920212223242526
  1. <?xml version="1.0"?>
  2. <!-- in the ECMA data model, test that processor creates space normalized string in
  3. _event.data when receiving anything other than KVPs or XML 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. <content>
  10. this is a
  11. string
  12. </content>
  13. </send>
  14. </onentry>
  15. <transition event="foo" cond="_event.data == 'this is a string'" conf:targetpass=""/>
  16. <transition event="*" conf:targetfail=""/>
  17. </state>
  18. <conf:pass/>
  19. <conf:fail/>
  20. </scxml>