test172.txml 619 B

1234567891011121314151617181920212223
  1. <?xml version="1.0"?>
  2. <!-- we test that eventexpr uses the current value of var1, not its initial value -->
  3. <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">
  4. <datamodel>
  5. <data conf:id="1" conf:quoteExpr="event1"/>
  6. </datamodel>
  7. <state id="s0">
  8. <onentry>
  9. <assign conf:location="1" conf:quoteExpr="event2"/>
  10. <send conf:eventExpr="1"/>
  11. </onentry>
  12. <transition event="event2" conf:targetpass=""/>
  13. <transition event="*" conf:targetfail=""/>
  14. </state>
  15. <conf:pass/>
  16. <conf:fail/>
  17. </scxml>