test550.txml 571 B

123456789101112131415161718192021222324
  1. <?xml version="1.0"?>
  2. <!-- test that expr can be used to assign a value to a var. This test uses early binding -->
  3. <scxml initial="s0" version="1.0" conf:datamodel="" binding="early" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  4. <state id="s0">
  5. <transition conf:idVal="1=2" conf:targetpass=""/>
  6. <transition conf:targetfail=""/>
  7. </state>
  8. <state id="s1">
  9. <datamodel>
  10. <data conf:id="1" conf:expr="2"/>
  11. </datamodel>
  12. </state>
  13. <conf:pass/>
  14. <conf:fail/>
  15. </scxml>