test445.txml 495 B

1234567891011121314151617181920
  1. <?xml version="1.0"?>
  2. <!-- test that ecmascript objects defined by <data> have value undefined if <data> does not assign a value -->
  3. <scxml datamodel="ecmascript" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  4. <datamodel>
  5. <data id="var1"/>
  6. </datamodel>
  7. <state id="s0">
  8. <transition cond="var1==undefined" conf:targetpass=""/>
  9. <transition conf:targetfail=""/>
  10. </state>
  11. <conf:pass/>
  12. <conf:fail/>
  13. </scxml>