Browse files

Updated tests to better conform to SCXML validator.

  • Loading branch information...
1 parent 9b5b914 commit 3a9b076a8127c5218062089ccfe341a1bf0cc209 @jbeard4 committed Mar 12, 2012
Showing with 140 additions and 339 deletions.
  1. +1 −7 src/test/actionSend/send1.scxml
  2. +1 −7 src/test/actionSend/send2.scxml
  3. +1 −7 src/test/actionSend/send3.scxml
  4. +1 −7 src/test/actionSend/send4.scxml
  5. +1 −7 src/test/actionSend/send5.scxml
  6. +1 −7 src/test/actionSend/send6.scxml
  7. +1 −7 src/test/actionSend/send7.scxml
  8. +1 −7 src/test/actionSend/send8.scxml
  9. +1 −8 src/test/assign-current-small-step/test0.scxml
  10. +1 −7 src/test/assign-current-small-step/test1.scxml
  11. +1 −7 src/test/assign-current-small-step/test2.scxml
  12. +1 −7 src/test/assign-current-small-step/test3.scxml
  13. +6 −8 src/test/assign-next-small-step/test0.scxml
  14. +1 −7 src/test/assign-next-small-step/test1.scxml
  15. +1 −7 src/test/assign-next-small-step/test2.scxml
  16. +1 −7 src/test/assign-next-small-step/test3.scxml
  17. +1 −1 src/test/atom3-basic-tests/m0.scxml
  18. +1 −1 src/test/atom3-basic-tests/m1.scxml
  19. +1 −1 src/test/atom3-basic-tests/m2.scxml
  20. +1 −1 src/test/atom3-basic-tests/m3.scxml
  21. +0 −2 src/test/basic/basic0.scxml
  22. +1 −7 src/test/basic/basic1.scxml
  23. +1 −7 src/test/basic/basic2.scxml
  24. +1 −1 src/test/cond-js/TestConditionalTransition.scxml
  25. +1 −7 src/test/cond-js/test0.scxml
  26. +1 −7 src/test/cond-js/test1.scxml
  27. +1 −7 src/test/cond-js/test2.scxml
  28. +1 −1 src/test/default-initial-state/initial1.scxml
  29. +1 −1 src/test/default-initial-state/initial2.scxml
  30. +1 −1 src/test/default-initial-state/initial3.scxml
  31. +1 −7 src/test/delayedSend/send1.scxml
  32. +1 −7 src/test/delayedSend/send2.scxml
  33. +1 −7 src/test/delayedSend/send3.scxml
  34. +1 −7 src/test/documentOrder/documentOrder0.scxml
  35. +1 −7 src/test/hierarchy+documentOrder/test0.scxml
  36. +1 −7 src/test/hierarchy+documentOrder/test1.scxml
  37. +1 −7 src/test/hierarchy/hier0.scxml
  38. +1 −7 src/test/hierarchy/hier1.scxml
  39. +1 −7 src/test/hierarchy/hier2.scxml
  40. +2 −2 src/test/history/history0.scxml
  41. +2 −2 src/test/history/history1.scxml
  42. +2 −2 src/test/history/history2.scxml
  43. +2 −2 src/test/history/history3.scxml
  44. +2 −2 src/test/history/history4.scxml
  45. +2 −2 src/test/history/history5.scxml
  46. +1 −1 src/test/in/TestInPredicate.scxml
  47. +1 −1 src/test/multiple-events-per-transition/test1.scxml
  48. +2 −2 src/test/parallel+interrupt/test0.scxml
  49. +2 −2 src/test/parallel+interrupt/test1.scxml
  50. +2 −2 src/test/parallel+interrupt/test10.scxml
  51. +2 −2 src/test/parallel+interrupt/test11.scxml
  52. +2 −2 src/test/parallel+interrupt/test12.scxml
  53. +2 −2 src/test/parallel+interrupt/test13.scxml
  54. +2 −2 src/test/parallel+interrupt/test14.scxml
  55. +2 −2 src/test/parallel+interrupt/test15.scxml
  56. +2 −2 src/test/parallel+interrupt/test16.scxml
  57. +2 −2 src/test/parallel+interrupt/test17.scxml
  58. +2 −2 src/test/parallel+interrupt/test18.scxml
  59. +2 −2 src/test/parallel+interrupt/test19.scxml
  60. +2 −2 src/test/parallel+interrupt/test2.scxml
  61. +2 −2 src/test/parallel+interrupt/test20.scxml
  62. +2 −2 src/test/parallel+interrupt/test21.scxml
  63. +2 −2 src/test/parallel+interrupt/test22.scxml
  64. +2 −2 src/test/parallel+interrupt/test23.scxml
  65. +2 −2 src/test/parallel+interrupt/test24.scxml
  66. +2 −2 src/test/parallel+interrupt/test25.scxml
  67. +2 −2 src/test/parallel+interrupt/test26.scxml
  68. +2 −2 src/test/parallel+interrupt/test27.scxml
  69. +2 −2 src/test/parallel+interrupt/test28.scxml
  70. +2 −2 src/test/parallel+interrupt/test29.scxml
  71. +2 −2 src/test/parallel+interrupt/test3.scxml
  72. +2 −2 src/test/parallel+interrupt/test30.scxml
  73. +2 −2 src/test/parallel+interrupt/test31.scxml
  74. +2 −2 src/test/parallel+interrupt/test4.scxml
  75. +2 −2 src/test/parallel+interrupt/test5.scxml
  76. +2 −2 src/test/parallel+interrupt/test6.scxml
  77. +2 −2 src/test/parallel+interrupt/test7.scxml
  78. +2 −2 src/test/parallel+interrupt/test8.scxml
  79. +2 −2 src/test/parallel+interrupt/test9.scxml
  80. +1 −7 src/test/parallel/test0.scxml
  81. +2 −2 src/test/parallel/test1.scxml
  82. +2 −2 src/test/parallel/test2.scxml
  83. +2 −2 src/test/parallel/test3.scxml
  84. +2 −4 src/test/script/test0.scxml
  85. +1 −7 src/test/script/test1.scxml
  86. +1 −7 src/test/script/test2.scxml
  87. +1 −1 src/test/scxml-prefix-event-name-matching/star0.scxml
  88. +1 −1 src/test/scxml-prefix-event-name-matching/test0.scxml
  89. +1 −1 src/test/scxml-prefix-event-name-matching/test1.scxml
  90. +1 −1 src/test/send-data/send1.scxml
  91. +1 −1 src/test/targetless-transition/test0.scxml
  92. +1 −1 src/test/targetless-transition/test1.scxml
  93. +1 −1 src/test/targetless-transition/test2.scxml
  94. +1 −1 src/test/targetless-transition/test3.scxml
View
8 src/test/actionSend/send1.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t">
View
8 src/test/actionSend/send2.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<onexit>
View
8 src/test/actionSend/send3.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t">
View
8 src/test/actionSend/send4.scxml
@@ -19,13 +19,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t">
View
8 src/test/actionSend/send5.scxml
@@ -19,13 +19,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t">
View
8 src/test/actionSend/send6.scxml
@@ -19,13 +19,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t">
View
8 src/test/actionSend/send7.scxml
@@ -19,13 +19,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t">
View
8 src/test/actionSend/send8.scxml
@@ -19,13 +19,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b1" event="t">
View
9 src/test/assign-current-small-step/test0.scxml
@@ -16,9 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="a"/>
@@ -53,9 +51,4 @@
<state id="f"/>
-
</scxml>
-
-
-
-
View
8 src/test/assign-current-small-step/test1.scxml
@@ -19,18 +19,12 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="i"/>
</datamodel>
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
-
<state id="a">
<transition target="b" event="t">
<assign location="i" expr="0"/>
View
8 src/test/assign-current-small-step/test2.scxml
@@ -19,18 +19,12 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="i"/>
</datamodel>
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
-
<state id="a">
<transition target="b" event="t">
<assign location="i" expr="0"/>
View
8 src/test/assign-current-small-step/test3.scxml
@@ -19,18 +19,12 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="i"/>
</datamodel>
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
-
<state id="a">
<transition target="p" event="t1">
<assign location="i" expr="0"/>
View
14 src/test/assign-next-small-step/test0.scxml
@@ -16,24 +16,22 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0">
<datamodel>
- <data id="a"/>
+ <data id="x"/>
</datamodel>
- <initial id="intitial1">
+ <state id="initial">
<transition target="a">
<script>
- setData('a',100);
+ setData('x',100);
</script>
</transition>
- </initial>
+ </state>
<state id="a">
- <transition target="b" event="t" cond="getData('a') === 100"/>
+ <transition target="b" event="t" cond="getData('x') === 100"/>
<transition target="f" event="t" />
</state>
View
8 src/test/assign-next-small-step/test1.scxml
@@ -19,18 +19,12 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="i"/>
</datamodel>
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
-
<state id="a">
<transition target="b" event="t">
<script>
View
8 src/test/assign-next-small-step/test2.scxml
@@ -19,18 +19,12 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="i"/>
</datamodel>
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
-
<state id="a">
<transition target="b" event="t">
<script>
View
8 src/test/assign-next-small-step/test3.scxml
@@ -19,18 +19,12 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="i"/>
</datamodel>
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
-
<state id="a">
<transition target="p" event="t1">
<script>
View
2 src/test/atom3-basic-tests/m0.scxml
@@ -1,4 +1,4 @@
-<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" profile="ecmascript" version="1.0" name="root">
+<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
<ns0:state id="A">
<ns0:onentry>
<ns0:log expr="&quot;entering A&quot;"/>
View
2 src/test/atom3-basic-tests/m1.scxml
@@ -1,4 +1,4 @@
-<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" profile="ecmascript" version="1.0" name="root">
+<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
<ns0:state id="A">
<ns0:onentry>
<ns0:log expr="&quot;entering state A&quot;"/>
View
2 src/test/atom3-basic-tests/m2.scxml
@@ -1,4 +1,4 @@
-<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" profile="ecmascript" version="1.0" name="root">
+<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
<ns0:state id="AB">
<ns0:initial>
<ns0:transition target="A"/>
View
2 src/test/atom3-basic-tests/m3.scxml
@@ -1,4 +1,4 @@
-<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" profile="ecmascript" version="1.0" name="root">
+<ns0:scxml xmlns:ns0="http://www.w3.org/2005/07/scxml" version="1.0" name="root">
<ns0:state id="AB">
<ns0:initial>
<ns0:transition target="A"/>
View
2 src/test/basic/basic0.scxml
@@ -17,8 +17,6 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
initial="a">
<state id="a"/>
View
8 src/test/basic/basic1.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t"/>
View
8 src/test/basic/basic2.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0">
<state id="a">
<transition target="b" event="t"/>
View
2 src/test/cond-js/TestConditionalTransition.scxml
@@ -23,7 +23,7 @@ transitions originating from the same state.
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
name="root"
- profile="ecmascript">
+ >
<initial>
<transition target="a"/>
View
8 src/test/cond-js/test0.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<transition target="b" event="t" cond="true"/>
View
8 src/test/cond-js/test1.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<transition target="f" event="t" cond="false"/>
View
8 src/test/cond-js/test2.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<transition target="b" event="t" cond="true"/>
View
2 src/test/default-initial-state/initial1.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript" >
+ >
<!-- notice that no id is specified here -->
<state id="a">
View
2 src/test/default-initial-state/initial2.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
+
initial="a">
<state id="a">
View
2 src/test/default-initial-state/initial3.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript" >
+ >
<initial>
<transition target="a"/>
View
8 src/test/delayedSend/send1.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<transition target="b" event="t1">
View
8 src/test/delayedSend/send2.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<onexit>
View
8 src/test/delayedSend/send3.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<transition target="b" event="t1">
View
8 src/test/documentOrder/documentOrder0.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<transition target="b" event="t"/>
View
8 src/test/hierarchy+documentOrder/test0.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a1"/>
- </initial>
+ version="1.0" >
<state id="a">
<state id="a1">
View
8 src/test/hierarchy+documentOrder/test1.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a1"/>
- </initial>
+ version="1.0" >
<state id="a">
<state id="a1">
View
8 src/test/hierarchy/hier0.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a1"/>
- </initial>
+ version="1.0" >
<state id="a">
<state id="a1">
View
8 src/test/hierarchy/hier1.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a1"/>
- </initial>
+ version="1.0" >
<state id="a">
<state id="a1">
View
8 src/test/hierarchy/hier2.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a1"/>
- </initial>
+ version="1.0" >
<state id="a">
<state id="a1">
View
4 src/test/history/history0.scxml
@@ -17,8 +17,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a">
View
4 src/test/history/history1.scxml
@@ -17,8 +17,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a">
View
4 src/test/history/history2.scxml
@@ -17,8 +17,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a">
View
4 src/test/history/history3.scxml
@@ -17,8 +17,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
View
4 src/test/history/history4.scxml
@@ -20,8 +20,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
View
4 src/test/history/history5.scxml
@@ -20,8 +20,8 @@ illustrates deep history with many parallel states
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<parallel id="a">
View
2 src/test/in/TestInPredicate.scxml
@@ -21,7 +21,7 @@ This is to test the use of the In() predicate.
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
+
name="root">
<initial>
View
2 src/test/multiple-events-per-transition/test1.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript">
+ >
<state id="a">
<transition target="b" event="foo bar bat"/>
View
4 src/test/parallel+interrupt/test0.scxml
@@ -21,8 +21,8 @@ in our semantics, source state is at the same level of hierarchy, so document or
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test1.scxml
@@ -21,8 +21,8 @@ first OR state should win, as the transitions originate at the same level of hie
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test10.scxml
@@ -22,8 +22,8 @@ after t: [c1,c2]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a" initial="b">
View
4 src/test/parallel+interrupt/test11.scxml
@@ -6,8 +6,8 @@ after t: [d]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a" initial="b">
View
4 src/test/parallel+interrupt/test12.scxml
@@ -21,8 +21,8 @@ after t: [c1,c2]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a" initial="b">
View
4 src/test/parallel+interrupt/test13.scxml
@@ -21,8 +21,8 @@ after t: [c1,c2]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a" initial="b">
View
4 src/test/parallel+interrupt/test14.scxml
@@ -21,8 +21,8 @@ after t: [l]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<parallel id="a">
View
4 src/test/parallel+interrupt/test15.scxml
@@ -21,8 +21,8 @@ after t: ["i2","j","h","g","f1","k"]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<parallel id="a">
View
4 src/test/parallel+interrupt/test16.scxml
@@ -22,8 +22,8 @@ in our semantics, source state is at the same level of hierarchy, so document or
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test17.scxml
@@ -22,8 +22,8 @@ in our semantics, source state is at the same level of hierarchy, so document or
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test18.scxml
@@ -18,8 +18,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test19.scxml
@@ -18,8 +18,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test2.scxml
@@ -21,8 +21,8 @@ again, first OR state should win, as the transitions originate at the same level
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
View
4 src/test/parallel+interrupt/test20.scxml
@@ -20,8 +20,8 @@ transition from c1 will win, for same reasons listed above -->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test21.scxml
@@ -20,8 +20,8 @@ transition from d1 will win, for same reasons listed above -->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test22.scxml
@@ -20,8 +20,8 @@ transitions from c1 and d1 will win, for same reasons listed above -->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test23.scxml
@@ -18,8 +18,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test24.scxml
@@ -18,8 +18,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test25.scxml
@@ -20,8 +20,8 @@ transition from c1 will win, for same reasons listed above -->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test26.scxml
@@ -5,8 +5,8 @@ here we have multiple interrupt conflicts, originating from d and a2.
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test27.scxml
@@ -20,8 +20,8 @@ transitions from c1 and d1 will win, for same reasons listed above -->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test28.scxml
@@ -20,8 +20,8 @@ inner transition will have priority, so final state will be a2.
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test29.scxml
@@ -20,8 +20,8 @@ inner transition will have priority, so final state will be a1.
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test3.scxml
@@ -6,8 +6,8 @@ in our semantics, source state is at the same level of hierarchy, so document or
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test30.scxml
@@ -21,8 +21,8 @@ final state will be: c2 -->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test31.scxml
@@ -21,8 +21,8 @@ final state will be: a1 -->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test4.scxml
@@ -20,8 +20,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test5.scxml
@@ -20,8 +20,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test6.scxml
@@ -24,8 +24,8 @@ TODO: move this to basic parallel group
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test7.scxml
@@ -24,8 +24,8 @@ given event t: [c,e2,f2]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="b">
<parallel id="b">
View
4 src/test/parallel+interrupt/test8.scxml
@@ -22,8 +22,8 @@ after t: [c1,c2]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a" initial="b">
View
4 src/test/parallel+interrupt/test9.scxml
@@ -22,8 +22,8 @@ after t: [c1,c2]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="a">
<state id="a" initial="b">
View
8 src/test/parallel/test0.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="p"/>
- </initial>
+ version="1.0" >
<parallel id="p">
<state id="a"/>
View
4 src/test/parallel/test1.scxml
@@ -17,8 +17,8 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root">
+
+ >
<initial>
<transition target="p"/>
View
4 src/test/parallel/test2.scxml
@@ -21,8 +21,8 @@ after event t: [s5,s6,s9,s10]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root">
+
+ >
<initial>
<transition target="p1"/>
View
4 src/test/parallel/test3.scxml
@@ -21,8 +21,8 @@ after event t: [s3.2,s4,s9,s10]
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript"
- id="root"
+
+
initial="p1">
<parallel id="p1">
View
6 src/test/script/test0.scxml
@@ -16,11 +16,9 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
- <initial id="intitial1">
+ <initial>
<transition target="a">
<script>
setData('a',100)
View
8 src/test/script/test1.scxml
@@ -16,18 +16,12 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
+ version="1.0" >
<datamodel>
<data id="i"/>
</datamodel>
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
-
<state id="a">
<transition target="b" event="t">
<assign location="i" expr="0"/>
View
8 src/test/script/test2.scxml
@@ -16,13 +16,7 @@
-->
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
- version="1.0"
- profile="ecmascript"
- id="root">
-
- <initial id="intitial1">
- <transition target="a"/>
- </initial>
+ version="1.0" >
<state id="a">
<transition target="b" event="t">
View
2 src/test/scxml-prefix-event-name-matching/star0.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript" >
+ >
<state id="a">
<!-- we send foo here, and it matches the * event -->
View
2 src/test/scxml-prefix-event-name-matching/test0.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript" >
+ >
<state id="a">
<transition target="b" event="foo"/>
View
2 src/test/scxml-prefix-event-name-matching/test1.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript" >
+ >
<state id="a">
<transition target="b" event="foo"/>
View
2 src/test/send-data/send1.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript">
+ >
<datamodel>
<data id="foo" expr="1"/>
View
2 src/test/targetless-transition/test0.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript">
+ >
<datamodel>
<data id="i" expr="0"/>
View
2 src/test/targetless-transition/test1.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript">
+ >
<datamodel>
<data id="i" expr="1"/>
View
2 src/test/targetless-transition/test2.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript">
+ >
<datamodel>
<data id="i" expr="1"/>
View
2 src/test/targetless-transition/test3.scxml
@@ -17,7 +17,7 @@
<scxml
xmlns="http://www.w3.org/2005/07/scxml"
version="1.0"
- profile="ecmascript">
+ >
<datamodel>
<data id="i" expr="1"/>

0 comments on commit 3a9b076

Please sign in to comment.