test149.txml 719 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0"?>
  2. <!-- test that neither if clause executes, so that bat is the only event raised. -->
  3. <scxml initial="s0" version="1.0" conf:datamodel="" 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:expr="0"/>
  6. </datamodel>
  7. <state id="s0">
  8. <onentry>
  9. <if conf:false="">
  10. <raise event="foo"/>
  11. <conf:incrementID id="1"/>
  12. <elseif conf:false=""/>
  13. <raise event="bar"/>
  14. <conf:incrementID id="1"/>
  15. </if>
  16. <raise event="bat"/>
  17. </onentry>
  18. <transition event="bat" conf:idVal="1=0" conf:targetpass=""/>
  19. <transition event="*" conf:targetfail=""/>
  20. </state>
  21. <conf:pass/>
  22. <conf:fail/>
  23. </scxml>