test580.txml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0"?>
  2. <!-- test that a history state never ends up part of the configuration -->
  3. <scxml version="1.0" initial="p1" 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. <parallel id="p1">
  8. <onentry>
  9. <send delay="2s" event="timeout"/>
  10. </onentry>
  11. <state id="s0">
  12. <transition conf:inState="sh1" conf:targetfail=""/>
  13. <transition event="timeout" conf:targetfail=""/>
  14. </state>
  15. <state id="s1">
  16. <initial>
  17. <transition target="sh1"/>
  18. </initial>
  19. <history id="sh1">
  20. <transition target="s11"/>
  21. </history>
  22. <state id="s11">
  23. <transition conf:inState="sh1" conf:targetfail=""/>
  24. <transition target="s12"/>
  25. </state>
  26. <state id="s12"/>
  27. <transition conf:inState="sh1" conf:targetfail=""/>
  28. <transition conf:idVal="1=0" target="sh1"/>
  29. <transition conf:idVal="1=1" conf:targetpass=""/>
  30. <onexit>
  31. <conf:incrementID id="1"/>
  32. </onexit>
  33. </state>
  34. </parallel>
  35. <conf:pass/>
  36. <conf:fail/>
  37. </scxml>