浏览代码

Move and remove some stuff

Joeri Exelmans 4 年之前
父节点
当前提交
7be18b138b
共有 100 个文件被更改,包括 0 次插入265613 次删除
  1. 0 261359
      test/to_adopt/pssm/PSSM_TestSuite.xmi
  2. 0 57
      test/to_adopt/scxml/schemas/scxml-attribs.xsd
  3. 0 35
      test/to_adopt/scxml/schemas/scxml-contentmodels.xsd
  4. 0 26
      test/to_adopt/scxml/schemas/scxml-copyright.xsd
  5. 0 425
      test/to_adopt/scxml/schemas/scxml-core-strict.xsd
  6. 0 157
      test/to_adopt/scxml/schemas/scxml-data-strict.xsd
  7. 0 203
      test/to_adopt/scxml/schemas/scxml-datatypes.xsd
  8. 0 168
      test/to_adopt/scxml/schemas/scxml-external-strict.xsd
  9. 0 88
      test/to_adopt/scxml/schemas/scxml-strict.xsd
  10. 0 27
      test/to_adopt/scxml/tests/test144.txml
  11. 0 34
      test/to_adopt/scxml/tests/test147.txml
  12. 0 35
      test/to_adopt/scxml/tests/test148.txml
  13. 0 28
      test/to_adopt/scxml/tests/test149.txml
  14. 0 45
      test/to_adopt/scxml/tests/test150.txml
  15. 0 45
      test/to_adopt/scxml/tests/test151.txml
  16. 0 52
      test/to_adopt/scxml/tests/test152.txml
  17. 0 39
      test/to_adopt/scxml/tests/test153.txml
  18. 0 30
      test/to_adopt/scxml/tests/test155.txml
  19. 0 32
      test/to_adopt/scxml/tests/test156.txml
  20. 0 27
      test/to_adopt/scxml/tests/test158.txml
  21. 0 24
      test/to_adopt/scxml/tests/test159.txml
  22. 0 23
      test/to_adopt/scxml/tests/test172.txml
  23. 0 24
      test/to_adopt/scxml/tests/test173.txml
  24. 0 24
      test/to_adopt/scxml/tests/test174.txml
  25. 0 30
      test/to_adopt/scxml/tests/test175.txml
  26. 0 33
      test/to_adopt/scxml/tests/test176.txml
  27. 0 31
      test/to_adopt/scxml/tests/test178.txml
  28. 0 21
      test/to_adopt/scxml/tests/test179.txml
  29. 0 24
      test/to_adopt/scxml/tests/test183.txml
  30. 0 26
      test/to_adopt/scxml/tests/test185.txml
  31. 0 34
      test/to_adopt/scxml/tests/test186.txml
  32. 0 36
      test/to_adopt/scxml/tests/test187.txml
  33. 0 25
      test/to_adopt/scxml/tests/test189.txml
  34. 0 38
      test/to_adopt/scxml/tests/test190.txml
  35. 0 34
      test/to_adopt/scxml/tests/test191.txml
  36. 0 58
      test/to_adopt/scxml/tests/test192.txml
  37. 0 29
      test/to_adopt/scxml/tests/test193.txml
  38. 0 26
      test/to_adopt/scxml/tests/test194.txml
  39. 0 23
      test/to_adopt/scxml/tests/test198.txml
  40. 0 22
      test/to_adopt/scxml/tests/test199.txml
  41. 0 22
      test/to_adopt/scxml/tests/test200.txml
  42. 0 25
      test/to_adopt/scxml/tests/test201.txml
  43. 0 34
      test/to_adopt/scxml/tests/test205.txml
  44. 0 60
      test/to_adopt/scxml/tests/test207.txml
  45. 0 25
      test/to_adopt/scxml/tests/test208.txml
  46. 0 28
      test/to_adopt/scxml/tests/test210.txml
  47. 0 33
      test/to_adopt/scxml/tests/test215.txml
  48. 0 26
      test/to_adopt/scxml/tests/test216.txml
  49. 0 25
      test/to_adopt/scxml/tests/test220.txml
  50. 0 33
      test/to_adopt/scxml/tests/test223.txml
  51. 0 35
      test/to_adopt/scxml/tests/test224.txml
  52. 0 42
      test/to_adopt/scxml/tests/test225.txml
  53. 0 27
      test/to_adopt/scxml/tests/test226.txml
  54. 0 37
      test/to_adopt/scxml/tests/test228.txml
  55. 0 46
      test/to_adopt/scxml/tests/test229.txml
  56. 0 66
      test/to_adopt/scxml/tests/test230.txml
  57. 0 44
      test/to_adopt/scxml/tests/test232.txml
  58. 0 39
      test/to_adopt/scxml/tests/test233.txml
  59. 0 70
      test/to_adopt/scxml/tests/test234.txml
  60. 0 27
      test/to_adopt/scxml/tests/test235.txml
  61. 0 43
      test/to_adopt/scxml/tests/test236.txml
  62. 0 45
      test/to_adopt/scxml/tests/test237.txml
  63. 0 36
      test/to_adopt/scxml/tests/test239.txml
  64. 0 71
      test/to_adopt/scxml/tests/test240.txml
  65. 0 102
      test/to_adopt/scxml/tests/test241.txml
  66. 0 57
      test/to_adopt/scxml/tests/test242.txml
  67. 0 40
      test/to_adopt/scxml/tests/test243.txml
  68. 0 43
      test/to_adopt/scxml/tests/test244.txml
  69. 0 38
      test/to_adopt/scxml/tests/test245.txml
  70. 0 26
      test/to_adopt/scxml/tests/test247.txml
  71. 0 46
      test/to_adopt/scxml/tests/test250.txml
  72. 0 51
      test/to_adopt/scxml/tests/test252.txml
  73. 0 83
      test/to_adopt/scxml/tests/test253.txml
  74. 0 21
      test/to_adopt/scxml/tests/test276.txml
  75. 0 32
      test/to_adopt/scxml/tests/test277.txml
  76. 0 22
      test/to_adopt/scxml/tests/test278.txml
  77. 0 25
      test/to_adopt/scxml/tests/test279.txml
  78. 0 34
      test/to_adopt/scxml/tests/test280.txml
  79. 0 23
      test/to_adopt/scxml/tests/test286.txml
  80. 0 23
      test/to_adopt/scxml/tests/test287.txml
  81. 0 49
      test/to_adopt/scxml/tests/test294.txml
  82. 0 32
      test/to_adopt/scxml/tests/test298.txml
  83. 0 17
      test/to_adopt/scxml/tests/test301.txml
  84. 0 20
      test/to_adopt/scxml/tests/test302.txml
  85. 0 25
      test/to_adopt/scxml/tests/test303.txml
  86. 0 18
      test/to_adopt/scxml/tests/test304.txml
  87. 0 43
      test/to_adopt/scxml/tests/test307.txml
  88. 0 16
      test/to_adopt/scxml/tests/test309.txml
  89. 0 23
      test/to_adopt/scxml/tests/test310.txml
  90. 0 22
      test/to_adopt/scxml/tests/test311.txml
  91. 0 25
      test/to_adopt/scxml/tests/test312.txml
  92. 0 26
      test/to_adopt/scxml/tests/test313.txml
  93. 0 39
      test/to_adopt/scxml/tests/test314.txml
  94. 0 31
      test/to_adopt/scxml/tests/test318.txml
  95. 0 25
      test/to_adopt/scxml/tests/test319.txml
  96. 0 19
      test/to_adopt/scxml/tests/test321.txml
  97. 0 37
      test/to_adopt/scxml/tests/test322.txml
  98. 0 19
      test/to_adopt/scxml/tests/test323.txml
  99. 0 25
      test/to_adopt/scxml/tests/test324.txml
  100. 0 0
      test/to_adopt/scxml/tests/test325.txml

文件差异内容过多而无法显示
+ 0 - 261359
test/to_adopt/pssm/PSSM_TestSuite.xmi


+ 0 - 57
test/to_adopt/scxml/schemas/scxml-attribs.xsd

@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.w3.org/2005/07/scxml"
-    xmlns="http://www.w3.org/2005/07/scxml"
-    elementFormDefault="qualified">
-	<xsd:annotation>
-		<xsd:documentation>
-		This is the XML Schema common attributes for SCXML
-		</xsd:documentation>
-		<xsd:documentation source="scxml-copyright.xsd"/>
-	</xsd:annotation>
-	<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-			This import brings in the XML namespace attributes
-			The module itself does not provide the schemaLocation
-			and expects the driver schema to provide the
-			actual SchemaLocation.
-		  </xsd:documentation>
-		</xsd:annotation>
-	</xsd:import>
-	<xsd:include schemaLocation="scxml-datatypes.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-			This include  brings in the SCXML datatypes.
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-	
-	<xsd:attributeGroup name="Fetchtimeout.attrib">
-		<xsd:annotation>
-			<xsd:documentation>Used in Cache.attribs</xsd:documentation>
-		</xsd:annotation>
-		<xsd:attribute name="fetchtimeout" type="Duration.datatype"/>
-	</xsd:attributeGroup>
-	<xsd:attributeGroup name="Maxage.attrib">
-		<xsd:annotation>
-			<xsd:documentation>Used in Cache.attribs</xsd:documentation>
-		</xsd:annotation>
-		<xsd:attribute name="maxage" type="Integer.datatype"/>
-	</xsd:attributeGroup>
-	<xsd:attributeGroup name="Maxstale.attrib">
-		<xsd:annotation>
-			<xsd:documentation>Used in Cache attribs</xsd:documentation>
-		</xsd:annotation>
-		<xsd:attribute name="maxstale" type="Integer.datatype"/>
-	</xsd:attributeGroup>
-
-	<xsd:attributeGroup name="Cache.attribs">
-		<xsd:annotation>
-			<xsd:documentation>Cache attributes to control caching behavior</xsd:documentation>
-		</xsd:annotation>
-		<xsd:attributeGroup ref="Fetchtimeout.attrib"/>
-		<xsd:attributeGroup ref="Maxage.attrib"/>
-		<xsd:attributeGroup ref="Maxstale.attrib"/>
-	</xsd:attributeGroup>
-</xsd:schema>

+ 0 - 35
test/to_adopt/scxml/schemas/scxml-contentmodels.xsd

@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.w3.org/2005/07/scxml"
-    xmlns="http://www.w3.org/2005/07/scxml"
-    elementFormDefault="qualified">
-	<xsd:annotation>
-		<xsd:documentation>
-         XML Schema content models for SCXML
-         * scxml.extra.content 
-         * content
-         * scxml.extra.attribs
-         Defines SCXML shared content models.
-        </xsd:documentation>
-		<xsd:documentation source="scxml-copyright.xsd"/>
-	</xsd:annotation>
-	
-	<xsd:attributeGroup name="scxml.extra.attribs">
-		<xsd:annotation>
-			<xsd:documentation>group allowing attributes from other namespaces</xsd:documentation>
-		</xsd:annotation>
-		<xsd:anyAttribute namespace="##other" processContents="lax"/>
-	</xsd:attributeGroup>
-	
-	<xsd:group name="scxml.extra.content">
-		<xsd:annotation>
-			<xsd:documentation>
-				group allowing elements from other namespaces
-                        </xsd:documentation>
-		</xsd:annotation>
-		<xsd:sequence>
-			<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	
-</xsd:schema>

+ 0 - 26
test/to_adopt/scxml/schemas/scxml-copyright.xsd

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.w3.org/2005/07/scxml"
-    xmlns="http://www.w3.org/2005/07/scxml"
-    elementFormDefault="qualified">
-
-  <xsd:annotation>
-    <xsd:documentation>
-    This is the XML Schema for SCXML 1.0, formulated as a modular XML application
-    Copyright &#169;1998-2007 World Wide Web Consortium
-    (Massachusetts Institute of Technology, European Research Consortium
-     for Informatics and Mathematics, Keio University).
-    All Rights Reserved.
-  
-    Permission to use, copy, modify and distribute the SCXML Schema
-    modules and their accompanying xs:documentation for any purpose
-    and without fee is hereby granted in perpetuity, provided that the above
-    copyright notice and this paragraph appear in all copies.  
-    The copyright holders make no representation about the suitability of
-    these XML Schema modules for any purpose.
-  
-    They are provided "as is" without expressed or implied warranty.
-    </xsd:documentation>
-  </xsd:annotation>
-
-</xsd:schema>

+ 0 - 425
test/to_adopt/scxml/schemas/scxml-core-strict.xsd

@@ -1,425 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.w3.org/2005/07/scxml"
-    xmlns="http://www.w3.org/2005/07/scxml"
-    elementFormDefault="qualified">
-	<xsd:annotation>
-		<xsd:documentation>
-        This is the XML Schema core module for SCXML
-        * scxml
-        * state 
-        * initial 
-        * onexit
-        * onentry 
-        * transition
-        * parallel
-        * final 
-        * history 
-        * donedata
-        * if
-        * elsif
-        * else
-        * foreach
-        * raise
-        * log
-        The core module defines these elements and the
-        attributes.
-        </xsd:documentation>
-		<xsd:documentation source="scxml-copyright.xsd"/>
-	</xsd:annotation>
-
-	<xsd:include schemaLocation="scxml-datatypes.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-            Includes common SCXML datatypes
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-attribs.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-            Includes common SCXML attributes
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-contentmodels.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-            This module defines Common content model extensions  for SCXML
-            </xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-	
-
-	<!-- scxml -->
-	<xsd:attributeGroup name="scxml.scxml.attlist">
-		<xsd:attribute name="initial" type="xsd:IDREFS"/>
-		<xsd:attribute name="name" type="xsd:NMTOKEN"/>
-		<xsd:attribute name="version" type="xsd:decimal" use="required" fixed="1.0"/>
-		<xsd:attribute name="datamodel" type="xsd:NMTOKEN" default="null" use="optional"/>
-		<xsd:attribute name="binding" type="Binding.datatype"/>
-		<xsd:attribute name="exmode" type="Exmode.datatype"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.scxml.mix">
-		<xsd:choice>
-			<xsd:element ref="state" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="parallel" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="final" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="datamodel" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="script" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.scxml.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.scxml.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.scxml.type">
-		<xsd:group ref="scxml.scxml.content"/>
-		<xsd:attributeGroup ref="scxml.scxml.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="scxml" type="scxml.scxml.type"/>
-
-	<!-- state -->
-	<xsd:attributeGroup name="scxml.state.attlist">
-		<xsd:attribute name="id" type="xsd:ID"/>
-		<xsd:attribute name="initial" type="xsd:IDREFS"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.state.mix">
-		<xsd:choice>
-			<xsd:element ref="onentry" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="onexit" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="initial" minOccurs="0" maxOccurs="1"/>
-			<xsd:element ref="state" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="parallel" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="final" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="history" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="datamodel" minOccurs="0" maxOccurs="1"/>
-			<xsd:element ref="invoke" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.state.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.state.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.state.type">
-		<xsd:sequence>
-			<xsd:group ref="scxml.state.content"/>
-		</xsd:sequence>
-		<xsd:attributeGroup ref="scxml.state.attlist"/>
-		<xsd:assert test="not(@initial and initial)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="if(@initial or initial) then (state | parallel) else true()" xpathDefaultNamespace="##targetNamespace"/>
-    <xsd:assert test="every $init in @initial satisfies (some $state in (.//state | .//parallel) satisfies ($state/@id = $init))" xpathDefaultNamespace="##targetNamespace"/> 
-    <xsd:assert test="if (initial) then (every $targ in initial/transition/@target satisfies (some $state in (.//state | .//parallel) satisfies ($state/@id = $targ))) else true()" xpathDefaultNamespace="##targetNamespace"/> 
-		<xsd:assert test="if(history/@type='shallow') then (every $targ in history/transition/@target satisfies 
-			(some $state in (state |parallel) satisfies ($state/@id = $targ)))
-			else if (history/@type='deep') then (every $targ in history/transition/@target satisfies 
-			(some $state in (.//state | .//parallel) satisfies ($state/@id = $targ)))
-			else true()" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="state" type="scxml.state.type"/>
-
-	<!-- initial -->
-	<xsd:attributeGroup name="scxml.initial.attlist">
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.initial.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="transition" minOccurs="1" maxOccurs="1"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.initial.type">
-		<xsd:group ref="scxml.initial.content"/>
-		<xsd:attributeGroup ref="scxml.initial.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="initial" type="scxml.initial.type"/>
-
-	<!-- onentry -->
-	<xsd:attributeGroup name="scxml.onentry.attlist">
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.onentry.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.core.executablecontent" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.onentry.type">
-		<xsd:group ref="scxml.onentry.content"/>
-		<xsd:attributeGroup ref="scxml.onentry.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="onentry" type="scxml.onentry.type"/>
-
-	<!-- onexit -->
-	<xsd:attributeGroup name="scxml.onexit.attlist">
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.onexit.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.core.executablecontent" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.onexit.type">
-		<xsd:group ref="scxml.onexit.content"/>
-		<xsd:attributeGroup ref="scxml.onexit.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="onexit" type="scxml.onexit.type"/>
-
-	<!-- transition -->
-	<xsd:attributeGroup name="scxml.transition.attlist">
-		<xsd:attribute name="event" type="EventTypes.datatype"/>
-		<xsd:attribute name="cond" type="CondLang.datatype"/>
-		<xsd:attribute name="target" type="xsd:IDREFS"/>
-		<xsd:attribute name="type" type="TransitionType.datatype"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.transition.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.core.executablecontent" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.transition.type">
-		<xsd:group ref="scxml.transition.content"/>
-		<xsd:attributeGroup ref="scxml.transition.attlist"/>
-		<xsd:assert test="(@event or @cond or @target)" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="transition" type="scxml.transition.type"/>
-
-	<!-- parallel -->
-	<xsd:attributeGroup name="scxml.parallel.attlist">
-		<xsd:attribute name="id" type="xsd:ID"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.parallel.mix">
-		<xsd:choice>
-			<xsd:element ref="onentry" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="onexit" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="transition" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="state" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="parallel" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="history" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="datamodel" minOccurs="0" maxOccurs="1"/>
-			<xsd:element ref="invoke" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.parallel.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.parallel.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.parallel.type">
-		<xsd:group ref="scxml.parallel.content"/>
-		<xsd:attributeGroup ref="scxml.parallel.attlist"/>
-		<xsd:assert test="if(history/@type='shallow') then (every $targ in history/transition/@target satisfies 
-			(some $state in (state |parallel) satisfies ($state/@id = $targ)))
-			else if (history/@type='deep') then (every $targ in history/transition/@target satisfies 
-			(some $state in (.//state | .//parallel) satisfies ($state/@id = $targ)))
-			else true()" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="parallel" type="scxml.parallel.type"/>
-
-	<!-- final -->
-	<xsd:attributeGroup name="scxml.final.attlist">
-		<xsd:attribute name="id" type="xsd:ID"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.final.mix">
-		<xsd:choice>
-			<xsd:element ref="onentry" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="onexit" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="donedata" minOccurs="0" maxOccurs="1"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.final.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.final.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.final.type">
-		<xsd:group ref="scxml.final.content"/>
-		<xsd:attributeGroup ref="scxml.final.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="final" type="scxml.final.type"/>
-
-	<!-- history -->
-	<xsd:attributeGroup name="scxml.history.attlist">
-		<xsd:attribute name="id" type="xsd:ID"/>
-		<xsd:attribute name="type" type="HistoryType.datatype"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.history.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="transition" minOccurs="1" maxOccurs="1"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.history.type">
-		<xsd:group ref="scxml.history.content"/>
-		<xsd:attributeGroup ref="scxml.history.attlist"/>
-		<xsd:assert test="not(transition/@cond or transition/@event)" xpathDefaultNamespace="##targetNamespace"/>
-
-	</xsd:complexType>
-	<xsd:element name="history" type="scxml.history.type"/>
-
-	
-
-	<!-- donedata -->
-	<xsd:attributeGroup name="scxml.donedata.attlist">
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.donedata.content">
-		<xsd:sequence>
-			<xsd:choice>
-			<xsd:element ref="content" minOccurs="1" maxOccurs="1"/>
-			<xsd:element ref="param" minOccurs="1" maxOccurs="unbounded"/>
-			</xsd:choice>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-	 </xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.donedata.type">
-		<xsd:group ref="scxml.donedata.content"/>
-		<xsd:attributeGroup ref="scxml.donedata.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="donedata" type="scxml.donedata.type"/>
-	
-		<!-- if -->
-	<xsd:attributeGroup name="scxml.if.attlist">
-		<xsd:attribute name="cond" type="CondLang.datatype" use="required"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.if.elseif.mix">
-		<xsd:sequence>
-			<xsd:element ref="elseif" />
-			<xsd:group ref="scxml.core.executablecontent" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:group name="scxml.if.else.mix">
-		<xsd:sequence>
-			<xsd:element ref="else" />
-			<xsd:group ref="scxml.core.executablecontent" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:group name="scxml.if.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.core.executablecontent" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:group ref="scxml.if.elseif.mix" minOccurs="0" maxOccurs="1"/>
-			<xsd:group ref="scxml.if.else.mix" minOccurs="0" maxOccurs="1"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.if.type">
-		<xsd:group ref="scxml.if.content"/>
-		<xsd:attributeGroup ref="scxml.if.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="if" type="scxml.if.type"/>
-
-	<!-- elseif -->
-	<xsd:attributeGroup name="scxml.elseif.attlist">
-		<xsd:attribute name="cond" type="CondLang.datatype" use="required"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.elseif.mix">
-		<xsd:choice>
-			<!-- No content for this element -->
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.elseif.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.elseif.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.elseif.type">
-		<xsd:group ref="scxml.elseif.content"/>
-		<xsd:attributeGroup ref="scxml.elseif.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="elseif" type="scxml.elseif.type"/>
-
-	<!-- else -->
-	<xsd:attributeGroup name="scxml.else.attlist">
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.else.mix">
-		<xsd:choice>
-			<!-- No content for this element -->
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.else.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.else.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.else.type">
-		<xsd:group ref="scxml.else.content"/>
-		<xsd:attributeGroup ref="scxml.else.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="else" type="scxml.else.type"/>
-
-	<!-- foreach -->
-	<xsd:attributeGroup name="scxml.foreach.attlist">
-		<xsd:attribute name="array" type="ValueLang.datatype" use="required"/>
-		<xsd:attribute name="item" type="xsd:string" use="required"/>
-		<xsd:attribute name="index" type="xsd:string"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.foreach.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.core.executablecontent" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.foreach.type">
-		<xsd:group ref="scxml.foreach.content"/>
-		<xsd:attributeGroup ref="scxml.foreach.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="foreach" type="scxml.foreach.type"/>
-
-	<!-- raise -->
-	<xsd:attributeGroup name="scxml.raise.attlist">
-		<xsd:attribute name="event" type="xsd:NMTOKEN" use="required"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.raise.mix">
-		<xsd:choice>
-				<!-- No content for this element -->
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.raise.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.raise.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.raise.type">
-		<xsd:group ref="scxml.raise.content"/>
-		<xsd:attributeGroup ref="scxml.raise.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="raise" type="scxml.raise.type"/>
-
-	<!-- log -->
-	<xsd:attributeGroup name="scxml.log.attlist">
-		<xsd:attribute name="label" type="xsd:string"/>
-		<xsd:attribute name="expr" type="ValueLang.datatype"/>
-	 <xsd:attributeGroup ref="scxml.extra.attribs"/> 
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.log.content">
-		<xsd:sequence>
-		<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/> 
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.log.type">
-		<xsd:group ref="scxml.log.content"/>
-		<xsd:attributeGroup ref="scxml.log.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="log" type="scxml.log.type"/>
-
-	
-</xsd:schema>

+ 0 - 157
test/to_adopt/scxml/schemas/scxml-data-strict.xsd

@@ -1,157 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.w3.org/2005/07/scxml"
-    xmlns="http://www.w3.org/2005/07/scxml"
-    elementFormDefault="qualified">
-	<xsd:annotation>
-		<xsd:documentation>
-            This is the XML Schema data module for SCXML
-            * datamodel 
-            * data
-            * assign
-            * param
-            * script
-            * content
-            The data module defines these elements and their
-            attributes.
-        </xsd:documentation>
-		<xsd:documentation source="scxml-copyright.xsd"/>
-	</xsd:annotation>
-
-	<xsd:include schemaLocation="scxml-datatypes.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-                This module defines SCXML Attribute DataTypes
-            </xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-attribs.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-                This module defines Common attributes for SCXML
-            </xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-contentmodels.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-                This module defines Common content model extensions  for SCXML
-            </xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<!-- datamodel -->
-	<xsd:attributeGroup name="scxml.datamodel.attlist">	
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.datamodel.content">
-		<xsd:sequence>
-			<xsd:element ref="data" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.datamodel.type">
-		<xsd:group ref="scxml.datamodel.content"/>
-		<xsd:attributeGroup ref="scxml.datamodel.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="datamodel" type="scxml.datamodel.type"/>
-
-	<!-- data -->
-	<xsd:attributeGroup name="scxml.data.attlist">
-		<xsd:attribute name="id" type="xsd:ID" use="required"/>
-		<xsd:attribute name="src" type="URI.datatype"/>
-		<xsd:attribute name="expr" type="ValueLang.datatype"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.data.content">
-		<xsd:sequence>
-			<xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.data.type" mixed="true">
-		<xsd:group ref="scxml.data.content"/>
-		<xsd:attributeGroup ref="scxml.data.attlist"/>
-		<xsd:assert test="not(@src and @expr)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="if(@src or @expr) then (not(text() | *)) else true()" xpathDefaultNamespace="##targetNamespace"/>
-			</xsd:complexType>
-	<xsd:element name="data" type="scxml.data.type"/>
-
-	
-
-	<!-- param -->
-	<xsd:attributeGroup name="scxml.param.attlist">
-		<xsd:attribute name="name" type="xsd:NMTOKEN" use="required"/>
-		<xsd:attribute name="expr" type="ValueLang.datatype"/>
-		<xsd:attribute name="location" type="LocLang.datatype"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.param.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.param.type">
-		<xsd:group ref="scxml.param.content"/>
-		<xsd:attributeGroup ref="scxml.param.attlist"/>
-		<xsd:assert test="(@expr or @location) and not(@expr and @location)" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="param" type="scxml.param.type"/>
-
-<!--  assign  -->
-	<xsd:attributeGroup name="scxml.assign.attlist">
-		<xsd:attribute name="location" type="LocLang.datatype" use="required"/>
-		<xsd:attribute name="expr" type="ValueLang.datatype"/>
-		<xsd:attribute name="type" type="AssignType.datatype" default="replacechildren"/>
-		<xsd:attribute name="attr" type="xsd:NMTOKEN"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.assign.content">
-		<xsd:sequence>
-			<xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.assign.type" mixed="true">
-		<xsd:group ref="scxml.assign.content"/>
-		<xsd:attributeGroup ref="scxml.assign.attlist"/>
-	<xsd:assert test="(@expr or text() or *)" xpathDefaultNamespace="##targetNamespace"/>
-<xsd:assert test="not(@expr and (text() | *))" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="assign" type="scxml.assign.type"/>
-
-	
-<!-- script -->	
-	<xsd:attributeGroup name="scxml.script.attlist">
-		<xsd:attribute name="src" type="URI.datatype"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.script.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.script.type" mixed="true">
-		<xsd:group ref="scxml.script.content"/>
-		<xsd:attributeGroup ref="scxml.script.attlist"/>
-	</xsd:complexType>
-	<xsd:element name="script" type="scxml.script.type"/>
-
-	<!-- content -->
-	<xsd:attributeGroup name="scxml.content.attlist">
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-		<xsd:attribute name="expr" type="ValueLang.datatype"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.content.content">
-		<xsd:sequence>
-		<xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.content.type" mixed="true">
-		<xsd:group ref="scxml.content.content"/>
-		<xsd:attributeGroup ref="scxml.content.attlist"/>
-		<xsd:assert test="not(@expr and (text() or *))" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="content" type="scxml.content.type"/>
-	
-</xsd:schema>

+ 0 - 203
test/to_adopt/scxml/schemas/scxml-datatypes.xsd

@@ -1,203 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.w3.org/2005/07/scxml"
-    xmlns="http://www.w3.org/2005/07/scxml"
-    elementFormDefault="qualified">
-
-	<xsd:annotation>
-		<xsd:documentation>
-        XML Schema datatypes for SCXML
-
-        Defines containers for the SCXML datatypes, many of these
-        imported from other specifications and standards.
-
-		</xsd:documentation>
-		<xsd:documentation source="scxml-copyright.xsd"/>
-	</xsd:annotation>
-
-	<xsd:simpleType name="Exmode.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            Describes the processor execution mode for this document, being
-            either "lax" or "strict".     
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:NMTOKEN">
-			<xsd:enumeration value="lax"/>
-			<xsd:enumeration value="strict"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="Binding.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            The binding type in use for the SCXML document.     
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:NMTOKEN">
-			<xsd:enumeration value="early"/>
-			<xsd:enumeration value="late"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-
-	<xsd:simpleType name="HistoryType.datatype">
-		<xsd:restriction base="xsd:string">
-			<xsd:enumeration value="shallow"/>
-			<xsd:enumeration value="deep"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="TransitionType.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            The type of the transition i.e. internal or external. 
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:NMTOKEN">
-			<xsd:enumeration value="internal"/>
-			<xsd:enumeration value="external"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="Boolean.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            Boolean: true or false only
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:NMTOKENS">
-			<xsd:enumeration value="true"/>
-			<xsd:enumeration value="false"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="AssignType.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            The assign type that allows for precise manipulation of the
-            datamodel location. Types are:
-                 replacechildren (default),
-                 firstchild, lastchild,
-                 previoussibling, nextsibling,
-                 replace, delete,
-                 addattribute
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:NMTOKEN">
-			<xsd:enumeration value="replacechildren"/>
-			<xsd:enumeration value="firstchild"/>
-			<xsd:enumeration value="lastchild"/>
-			<xsd:enumeration value="previoussibling"/>
-			<xsd:enumeration value="nextsibling"/>
-			<xsd:enumeration value="replace"/>
-			<xsd:enumeration value="delete"/>
-			<xsd:enumeration value="addattribute"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="URI.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            The xsd:anyURI type and thus URI references in SCXML
-            documents may contain a wide array of international
-            characters. Implementers should reference RFC 3987 and
-            the "Character Model for the World Wide Web 1.0:
-            Resource Identifiers" in order to provide appropriate
-            support for these characters in VoiceXML documents and
-            when processing values of this type or mapping them to
-            URIs.
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:anyURI"/>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="Integer.datatype">
-		<xsd:annotation>
-			<xsd:documentation>Non-negative integer</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:nonNegativeInteger"/>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="Duration.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            Duration allowing positive values ranging from milliseconds
-            to days. 
-			</xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:string">
-			<xsd:pattern value="\d*(\.\d+)?(ms|s|m|h|d)"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-
-	<xsd:simpleType name="EventType.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-            EventType is the name of an event.
-            Example legal values:
-            	foo
-            	foo.bar
-            	foo.bar.baz
-            </xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:token">
-			<xsd:pattern value="(\i|\d|\-)+(\.(\i|\d|\-)+)*"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<xsd:simpleType name="EventTypes.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-			Custom datatype for the event attribute in SCXML based on xsd:token.
-			Example legal values:
-				*
-				foo
-				foo.bar
-				foo.*
-				foo.bar.*
-				foo bar baz
-				foo.bar bar.* baz.foo.*
-            </xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:token">
-			<xsd:pattern value="\.?\*|(\i|\d|\-)+(\.(\i|\d|\-)+)*(\.\*)?(\s(\i|\d|\-)+(\.(\i|\d|\-)+)*(\.\*)?)*"/>
-		</xsd:restriction>
-	</xsd:simpleType>
-
-	<!-- Defines the  default CondLang datatype.        -->
-	<xsd:simpleType name="CondLang.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-		    Conditional language is expression 
-		    which must evaluate to Boolean True or False. 
-		    The expression language must define In(stateID) 
-		    as a valid expression.
-            </xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:string"/>
-	</xsd:simpleType>
-
-	<!-- Defines the  default LocLang datatype.         -->
-	<xsd:simpleType name="LocLang.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-	        Location language is expression
-		    identifying a location in the datamodel.  
-	        </xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:string"/>
-	</xsd:simpleType>
-
-	<!-- Defines the default ValueLang datatype.       -->
-	<xsd:simpleType name="ValueLang.datatype">
-		<xsd:annotation>
-			<xsd:documentation>
-		    Value language is expression
-		    return a value.
-            </xsd:documentation>
-		</xsd:annotation>
-		<xsd:restriction base="xsd:string"/>
-	</xsd:simpleType>
-</xsd:schema>

+ 0 - 168
test/to_adopt/scxml/schemas/scxml-external-strict.xsd

@@ -1,168 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-	targetNamespace="http://www.w3.org/2005/07/scxml"
-	xmlns="http://www.w3.org/2005/07/scxml"
-	elementFormDefault="qualified">
-	<xsd:annotation>
-		<xsd:documentation>
-			This is the XML Schema external module for SCXML
-			* send 
-			* cancel
-			* invoke
-			* finalize 
-			The external module defines these elements and their
-			attributes.
-		</xsd:documentation>
-		<xsd:documentation source="scxml-copyright.xsd"/>
-	</xsd:annotation>
-
-	<xsd:include schemaLocation="scxml-datatypes.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-				This module defines SCXML Attribute DataTypes
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-attribs.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-				This module defines Common attributes for SCXML
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-contentmodels.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-				This module defines Common content model extensions  for SCXML
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<!-- send -->
-	<xsd:attributeGroup name="scxml.send.attlist">
-		<xsd:attribute name="event" type="EventType.datatype"/>
-		<xsd:attribute name="eventexpr" type="ValueLang.datatype"/>
-		<xsd:attribute name="target" type="URI.datatype"/>
-		<xsd:attribute name="targetexpr" type="ValueLang.datatype"/>
-		<xsd:attribute name="type" type="xsd:string" default="scxml"/>
-		<xsd:attribute name="typeexpr" type="ValueLang.datatype"/>
-		<xsd:attribute name="id" type="xsd:ID"/>
-		<xsd:attribute name="idlocation" type="LocLang.datatype"/>
-		<xsd:attribute name="delay" type="Duration.datatype" default="0s"/>
-		<xsd:attribute name="delayexpr" type="ValueLang.datatype"/>
-		<xsd:attribute name="namelist" type="xsd:string"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.send.mix">
-		<xsd:choice>
-			<xsd:element ref="content" minOccurs="0" maxOccurs="1"/>
-			<xsd:element ref="param" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:choice>
-	</xsd:group>
-	<xsd:group name="scxml.send.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.send.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.send.type">
-		<xsd:group ref="scxml.send.content"/>
-		<xsd:attributeGroup ref="scxml.send.attlist"/>
-		<xsd:assert test="(@event or @eventexpr or content) and not(@expr and @eventexpr)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="not(@namelist and (param | content))" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="not(@target and @targetexpr)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="not(@id and @idlocation)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="not(@type and @typeexpr)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="not(@delay and @delayexpr)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test="if(@delay or @delayexpr) then (not(@target eq '_internal')) else true()" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="send" type="scxml.send.type"/>
-
-	<!-- cancel -->
-	<xsd:attributeGroup name="scxml.cancel.attlist">
-		<xsd:attribute name="sendid" type="xsd:IDREF"/>
-		<xsd:attribute name="sendidexpr" type="ValueLang.datatype"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.cancel.mix">
-		<xsd:sequence>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:group name="scxml.cancel.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.cancel.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.cancel.type">
-		<xsd:group ref="scxml.cancel.content"/>
-		<xsd:attributeGroup ref="scxml.cancel.attlist"/>
-		<xsd:assert test="(@sendid or @sendidexpr) and not(@sendid and @sendidexpr)" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="cancel" type="scxml.cancel.type"/>
-
-
-
-	<!-- invoke -->
-	<xsd:attributeGroup name="scxml.invoke.attlist">
-		<xsd:attribute name="type" type="xsd:string" default="scxml"/>
-		<xsd:attribute name="typeexpr" type="ValueLang.datatype"/>
-		<xsd:attribute name="src" type="URI.datatype"/>
-		<xsd:attribute name="srcexpr" type="ValueLang.datatype"/>
-		<xsd:attribute name="id" type="xsd:ID"/>
-		<xsd:attribute name="idlocation" type="LocLang.datatype"/>
-		<xsd:attribute name="namelist" type="xsd:string"/>
-		<xsd:attribute name="autoforward" type="Boolean.datatype" use="optional" default="false"/>
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.invoke.mix">
-		<xsd:sequence>
-			<xsd:element ref="content" minOccurs="0" maxOccurs="1"/>
-			<xsd:element ref="param" minOccurs="0" maxOccurs="unbounded"/>
-			<xsd:element ref="finalize" minOccurs="0" maxOccurs="1"/>
-			<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:group name="scxml.invoke.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.invoke.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.invoke.type">
-		<xsd:group ref="scxml.invoke.content"/>
-		<xsd:attributeGroup ref="scxml.invoke.attlist"/>
-		<xsd:assert test=" not(@type and @typeexpr)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test=" not(@src and @srcexpr)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test=" not((@src or @srcexpr) and (content | param))" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test=" not(@id and @idlocation)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test=" not(@namelist and param)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test=" not(param and content)" xpathDefaultNamespace="##targetNamespace"/>
-		<xsd:assert test=" not(content[2])" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="invoke" type="scxml.invoke.type"/>
-
-	<!-- finalize -->
-	<xsd:attributeGroup name="scxml.finalize.attlist">
-		<xsd:attributeGroup ref="scxml.extra.attribs"/>
-	</xsd:attributeGroup>
-	<xsd:group name="scxml.finalize.mix">
-		<xsd:sequence>
-			<xsd:group ref="scxml.core.executablecontent"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:group name="scxml.finalize.content">
-		<xsd:sequence>
-			<xsd:group ref="scxml.finalize.mix" minOccurs="0" maxOccurs="unbounded"/>
-		</xsd:sequence>
-	</xsd:group>
-	<xsd:complexType name="scxml.finalize.type">
-		<xsd:group ref="scxml.finalize.content"/>
-		<xsd:attributeGroup ref="scxml.finalize.attlist"/>
-		<xsd:assert test=" not(send | raise)" xpathDefaultNamespace="##targetNamespace"/>
-	</xsd:complexType>
-	<xsd:element name="finalize" type="scxml.finalize.type"/>
-
-
-</xsd:schema>

+ 0 - 88
test/to_adopt/scxml/schemas/scxml-strict.xsd

@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-	targetNamespace="http://www.w3.org/2005/07/scxml"
-	xmlns="http://www.w3.org/2005/07/scxml"
-	elementFormDefault="qualified">
-
-	<xsd:annotation>
-		<xsd:documentation>
-			This is the XML Schema driver for SCXML 1.0.
-			Please use this namespace for SCXML 1.0 elements:
-
-			"http://www.w3.org/2005/07/scxml"
-
-		</xsd:documentation>
-		<xsd:documentation source="scxml-copyright.xsd"/>
-	</xsd:annotation>
-	<xsd:annotation>
-		<xsd:documentation>
-			This is the XML Schema driver file for SCXML 1.0.
-
-			This schema:
-			+ sets the namespace for SCXML 1.0
-			+ imports external schemas (xml.xsd)
-			+ imports SCXML common datatypes, attributes and content models
-			+ imports modular schemas
-
-			SCXML 1.0 includes:
-			+ SCXML core constructs
-			+ SCXML executable content
-			+ SCXML data model and manipulation
-			+ SCXML external communications
-
-			This schema is permissive such that it accomodates all
-			datamodels, but validating documents may contain markup that
-			is ignored in certain datamodels.
-		</xsd:documentation>
-	</xsd:annotation>
-
-	<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-				This import brings in the XML namespace attributes
-				The XML attributes are used by various modules.
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:import>
-
-	<xsd:include schemaLocation="scxml-core-strict.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-				This imports the core elements for SCXML.
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-data-strict.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-				This imports the data modelelements for SCXML.
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-	<xsd:include schemaLocation="scxml-external-strict.xsd">
-		<xsd:annotation>
-			<xsd:documentation>
-				This imports the external communications elements for SCXML. 
-			</xsd:documentation>
-		</xsd:annotation>
-	</xsd:include>
-
-<!-- the various elements of executable content are defined in the relevant modules. 
-This gathers them up into a single type -->
-<xsd:group name="scxml.core.executablecontent">
-	<xsd:choice>
-		<xsd:group ref="scxml.extra.content" minOccurs="0" maxOccurs="unbounded"/> 
-		<xsd:element ref="raise"/> 
-		<xsd:element ref="if"/> 
-		<xsd:element ref="foreach"/> 
-		<xsd:element ref="send"/>
-		<xsd:element ref="script"/>
-		<xsd:element ref="assign"/> 
-		<xsd:element ref="log"/>
-		<xsd:element ref="cancel"/>
-	</xsd:choice>
-</xsd:group>
-
-</xsd:schema>

+ 0 - 27
test/to_adopt/scxml/tests/test144.txml

@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that events are inserted into the queue in the order in which they are raised.  If
-foo occurs before bar, success, otherwise failure -->
-
-<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">
-
-
-  <state id="s0">
-    <onentry>
-      <raise event="foo"/>
-      <raise event="bar"/>
-    </onentry>
-    <transition event="foo" target="s1"/>
-    <transition event="*" conf:targetfail=""/>
-
-  </state>
-
-  <state id="s1">
-    <transition event="bar" conf:targetpass=""/>
-    <transition event="*" conf:targetfail=""/> 
-  </state>
-
-  <conf:pass/>
-  <conf:fail/>
-
-</scxml>

+ 0 - 34
test/to_adopt/scxml/tests/test147.txml

@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that the first clause that evaluates to true - and only that clause - is executed.
-Only one event should be raised, and it should be bar -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="0"/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-  <if conf:false="">
-    <raise event="foo"/>
-    <conf:incrementID id="1"/>
-  <elseif conf:true=""/>
-    <raise event="bar"/>
-    <conf:incrementID id="1"/>
-  <else/>
-    <raise event="baz"/>
-   <conf:incrementID id="1"/>
-    </if>
-   <raise event="bat"/>
-    </onentry>
-  <transition event="bar" conf:idVal="1=1" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-   
- </state>
-
-  
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 35
test/to_adopt/scxml/tests/test148.txml

@@ -1,35 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that the else clause executes if <if> and <elseif> evaluate to false.
-Baz should be the only event generated by the <if>.  bat is raised to catch the case where the <else> clause
-fails and baz is not generated, i.e. it makes sure that the test doesn't hang.  --> 
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="0"/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-  <if conf:false="">
-    <raise event="foo"/>
-    <conf:incrementID id="1"/>
-  <elseif conf:false=""/>
-    <raise event="bar"/>
-    <conf:incrementID id="1"/>
-  <else/>
-    <raise event="baz"/>
-   <conf:incrementID id="1"/>
-    </if>
-   <raise event="bat"/>
-    </onentry>
-  <transition event="baz" conf:idVal="1=1" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-   
- </state>
-
-  
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 28
test/to_adopt/scxml/tests/test149.txml

@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that neither if clause executes, so that bat is the only event raised. -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="0"/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-  <if conf:false="">
-    <raise event="foo"/>
-    <conf:incrementID id="1"/>
-  <elseif conf:false=""/>
-    <raise event="bar"/>
-    <conf:incrementID id="1"/>
- </if>
-   <raise event="bat"/>
-    </onentry>
-  <transition event="bat" conf:idVal="1=0" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-  
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 45
test/to_adopt/scxml/tests/test150.txml

@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that foreach causes a new variable to be declared if 'item' doesn't already exist.  Also
-test that it will use an existing var if it does exist. -->
-
-<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">
-<datamodel>
-  <data conf:id="1"/>
-  <data conf:id="2"/>
-  <data conf:id="3">
-    <conf:array123/>
-    </data>
-  </datamodel>
-  
-   <state id="s0">
-      <onentry>
-<!-- first use declared variables -->
-        <foreach conf:item="1" conf:index="2" conf:arrayVar="3"/>
-        <raise event="foo"/>
-        </onentry>
-   <transition event="error" conf:targetfail=""/>
-   <transition event="*" target="s1"/> 
-   </state>
-   
-<state id="s1">
-     <onentry>
-<!-- now use undeclared variables -->
-        <foreach conf:item="4" conf:index="5" conf:arrayVar="3"/>
-        <raise event="bar"/>
-        </onentry>
-   <transition event="error" conf:targetfail=""/>
-   <transition event="*" target="s2"/> 
-   </state>
-
-<state id="s2">
-  <!-- check that var4 is bound -->
-  <transition conf:isBound="4" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state>  
-   <conf:pass/>
-   <conf:fail/>
-   
-
-
-</scxml>

+ 0 - 45
test/to_adopt/scxml/tests/test151.txml

@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that foreach causes a new variable to be declared if 'item' doesn't already exist.  Also
-test that it will use an existing var if it does exist. -->
-
-<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">
-<datamodel>
-  <data conf:id="1"/>
-  <data conf:id="2"/>
-  <data conf:id="3">
-    <conf:array123/>
-    </data>
-  </datamodel>
-  
-   <state id="s0">
-      <onentry>
-<!-- first use declared variables -->
-        <foreach conf:item="1" conf:index="2" conf:arrayVar="3"/>
-        <raise event="foo"/>
-        </onentry>
-   <transition event="error" conf:targetfail=""/>
-   <transition event="*" target="s1"/> 
-   </state>
-   
-<state id="s1">
-     <onentry>
-<!-- now use undeclared variables -->
-        <foreach conf:item="4" conf:index="5" conf:arrayVar="3"/>
-        <raise event="bar"/>
-        </onentry>
-   <transition event="error" conf:targetfail=""/>
-   <transition event="*" target="s2"/> 
-   </state>
-
-<state id="s2">
-  <!-- check that var5 is bound -->
-  <transition conf:isBound="5" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state>  
-   <conf:pass/>
-   <conf:fail/>
-   
-
-
-</scxml>

+ 0 - 52
test/to_adopt/scxml/tests/test152.txml

@@ -1,52 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that an illegal array or item value causes error.execution and results in executable content
-not being executed. -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="0"/>
-  <data conf:id="2"/>
-  <data conf:id="3"/>
-  <data conf:id="4" conf:illegalArray=""/>
-  <data conf:id="5">
-    <conf:array123/>
-    </data>
-  </datamodel>
-  
-   <state id="s0">
-      <onentry>
-<!-- invalid array, legal item -->
-        <foreach conf:item="2" conf:index="3" conf:arrayTextVar="4">
-          <conf:incrementID id="1"/>
-          </foreach>
-        <raise event="foo"/>
-        </onentry>
-   <transition event="error.execution" target="s1"/>
-   <transition event="*" conf:targetfail=""/> 
-   </state>
-   
-   <state id="s1">
-      <onentry>
-<!-- illegal item, legal array -->
-        <foreach conf:illegalItem="" conf:index="3" conf:arrayVar="5">
-          <conf:incrementID id="1"/>
-          </foreach>
-        <raise event="bar"/>
-        </onentry>
-   <transition event="error.execution" target="s2"/>
-   <transition event="bar" conf:targetfail=""/> 
-   </state>
-
-<state id="s2">
-  <!-- check that var1 has its original value (so executable content never got executed -->
-  <transition conf:idVal="1=0" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state> 
-   
-   <conf:pass/>
-   <conf:fail/>
-   
-
-
-</scxml>

+ 0 - 39
test/to_adopt/scxml/tests/test153.txml

@@ -1,39 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that foreach goes over the array in the right order.  since the array contains 1 2 3, we compare the current 
-value with the previous value, which is stored in var1. The current value should always be larger.  If
-it ever isn't, set Var4 to 0, indicating failure -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="0"/> <!-- contains the previous value -->
-  <data conf:id="2"/> <!-- the item which will contain the current value -->
-  <data conf:id="3">
-    <conf:array123/>
-    </data>
-  <data conf:id="4" conf:expr="1"/> <!-- 1 if success, 0 if failure -->
-  </datamodel>
-  
-   <state id="s0">
-      <onentry>
-        <foreach conf:item="2"  conf:arrayVar="3">
-         <if conf:compareIDVal="1&lt;2">
-         <assign conf:location="1" conf:varExpr="2"/>
-         <else/>
-         <!-- values are out of order, record failure -->
-         <assign conf:location="4" conf:expr="0"/>
-         </if>
-          </foreach>
-        </onentry>
-
-  <!-- check that var1 has its original value  -->
-  <transition conf:idVal="4=0" conf:targetfail=""/>
-  <transition conf:targetpass=""/>
-  </state> 
-   
-   <conf:pass/>
-   <conf:fail/>
-   
-
-
-</scxml>

+ 0 - 30
test/to_adopt/scxml/tests/test155.txml

@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that foreach executes the executable content once for each item in the list '(1,2,3)'. The executable
-content sums the items into var1 so it should be 6 at the end -->
-
-<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">
-
-<datamodel>
-  <data conf:id="1" conf:expr="0"/>
-  <data conf:id="2"/>
-  <data conf:id="3">
-    <conf:array123/>
-    </data>
-  </datamodel>
-  
-   <state id="s0">
-      <onentry>
-        <foreach conf:item="2"  conf:arrayVar="3">
-          <conf:sumVars id1="1" id2="2"/>
-          </foreach>
-        </onentry>
-
-  <transition conf:idVal="1=6" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state> 
-   
-   <conf:pass/>
-   <conf:fail/>
-   
-</scxml>

+ 0 - 32
test/to_adopt/scxml/tests/test156.txml

@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that an error causes the foreach to stop execution.  The second piece of executable content
-should cause an error, so var1 should be incremented only once -->
-
-<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">
-
-<datamodel>
-  <data conf:id="1" conf:expr="0"/>
-  <data conf:id="2"/>
-  <data conf:id="3">
-  <conf:array123/>
-  </data>
-  </datamodel>
-  
-   <state id="s0">
-      <onentry>
-        <foreach conf:item="2"  conf:arrayVar="3">
-          <conf:incrementID id="1"/>
-          <!-- assign an illegal value to a non-existent var -->
-          <assign conf:location="5" conf:illegalExpr=""/>
-          </foreach>
-        </onentry>
-
-  <transition conf:idVal="1=1" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state> 
-   
-   <conf:pass/>
-   <conf:fail/>
-   
-</scxml>

+ 0 - 27
test/to_adopt/scxml/tests/test158.txml

@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that executable content executes in document order.  if event1 occurs then event2, succeed, otherwise fail -->
-
-<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">
-  <datamodel>
-    <data conf:id="1" conf:expr="0"/>
-  </datamodel>
-  
-  <state id="s0">
-    <onentry>
-      <raise event="event1"/>
-      <raise event="event2"/>
-    </onentry>
-    <transition event="event1"  target="s1"/>
-    <transition event="*" conf:targetfail=""/>
-  </state>
-  
-  <state id="s1">
-    <transition event="event2"  conf:targetpass=""/>
-    <transition event="*" conf:targetfail=""/>
-  </state>
-
-  <conf:pass/>
-  <conf:fail/>
-
-</scxml>

+ 0 - 24
test/to_adopt/scxml/tests/test159.txml

@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that any error raised by an element of executable content causes all subsequent elements to be skipped.
-The send tag will raise an error so var1 should not be incremented.  If it is fail, otherwise succeed -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="0"/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <send event="thisWillFail" conf:illegalTarget=""/>
-   <conf:incrementID id="1"/>
-    </onentry>
-  <transition conf:idVal="1=1"  conf:targetfail=""/>
-  <transition conf:targetpass=""/>
- </state>
-
-   
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 23
test/to_adopt/scxml/tests/test172.txml

@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that eventexpr uses the current value of var1, not its initial value  -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:quoteExpr="event1"/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <assign conf:location="1" conf:quoteExpr="event2"/>
-   <send conf:eventExpr="1"/>
-    </onentry>
-    
-  <transition event="event2"  conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-   
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 24
test/to_adopt/scxml/tests/test173.txml

@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that targetexpr uses the current value of var1, not its initial value
-(If it uses the initial value, it will generate an error.  If it uses the current value, event1 will be raised  -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:invalidSessionID=""/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <assign conf:location="1" conf:quoteExpr="#_internal"/>
-   <send conf:targetExpr="1" event="event1"/>
-    </onentry>
-    
-  <transition event="event1"  conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-   
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 24
test/to_adopt/scxml/tests/test174.txml

@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that typeexpr uses the current value of var1, not its initial value
-(If it uses the initial value, it will generate an error.  If it uses the current value, event1 will be raised  -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:invalidSendTypeExpr=""/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <assign conf:location="1" conf:quoteExpr="http://www.w3.org/TR/scxml/#SCXMLEventProcessor"/>
-   <send conf:typeExpr="1" event="event1"/>
-    </onentry>
-    
-  <transition event="event1"  conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-   
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 30
test/to_adopt/scxml/tests/test175.txml

@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that delayexpr uses the current value of var1, not its initial value
-(If it uses the initial value, event2 will be generated first, before event1.  If it uses the current value, 
-event1 will be raised first.  Succeed if event1 occurs before event2, otherwise fail -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:quoteExpr="0s"/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <assign conf:location="1" conf:quoteExpr="1s"/>
-   <send conf:delayFromVar="1" event="event2"/>
-   <send conf:delay=".5" event="event1"/>
-    </onentry>
-    
-  <transition event="event1"  target="s1"/>
-  <transition event="event2" conf:targetfail=""/>
- </state>
-
-<state id="s1">
-  <transition event="event2"  conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-  </state>
-   
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 33
test/to_adopt/scxml/tests/test176.txml

@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that <param> uses the current value of var1, not its initial value.  If the value of
-aParam in event1 is 2 so that var2 gets set to 2, success, otherwise failure  -->
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
-  <data conf:id="2"/>
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <assign conf:location="1" conf:expr="2"/>
-   <send event="event1">
-     <param name="aParam" conf:varExpr="1"/>
-     </send>
-    </onentry>
-    
-  <transition event="event1"  target="s1">
-  <assign conf:location="2" conf:eventDataFieldValue="aParam"/>
-  </transition>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-<state id="s1">
-  <transition conf:idVal="2=2" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state>
-     
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 31
test/to_adopt/scxml/tests/test178.txml

@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that multiple key/value pairs are included, even when the keys are the same.
-This is a manual test.  The tester must look at the log output and verify that both
-keys are there.  (This test uses the SCXML Event I/O processor, which is the only
-one that all platforms must support.  It does not specify the message format, so 
-we cannot test _event.raw directly.  Therefore we print it out for visual 
-inspection.) -->
-
-
-<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">
-  
-<state id="s0">
-  <onentry>
-   <send  event="event1">
-    <param conf:name="1" conf:expr="2"/>
-    <param conf:name="1" conf:expr="3"/>
-    </send>
-     </onentry>
-
-  <transition event="event1" target="final">
-   <log label="_event " conf:eventRaw=""/>
-   </transition>
-  <transition event="*" conf:targetfail=""/>
- 
- </state>
-
-
-<final id="final"/>
-<conf:fail/>
-
-</scxml>

+ 0 - 21
test/to_adopt/scxml/tests/test179.txml

@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that <content> can be used to populate body of a message -->
-
-<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">
-
-  
-<state id="s0">
-  <onentry>
-   <send event="event1">
-   <content>123</content>
-   </send>
-    </onentry>
-    
-  <transition event="event1" conf:eventdataVal="123" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
-   
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 24
test/to_adopt/scxml/tests/test183.txml

@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that <send> stores the value of the sendid in idlocation.  If it does,
-var1 has a value and we pass.  Otherwise we fail  -->
-
-<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">
-<datamodel>
-  <data conf:id="1"/>
-
-  </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <send event="event1" conf:idlocation="1"/>
-    </onentry>
-    
-  <transition conf:isBound="1" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
- </state>
-
-     
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 26
test/to_adopt/scxml/tests/test185.txml

@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that <send> respects the delay specification.  If it does, event1 arrives before event2
- and we pass.  Otherwise we fail  -->
-
-<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">
-
-  
-<state id="s0">
-  <onentry>
-   <send event="event2" conf:delay="1"/>
-   <send event="event1"/>
-    </onentry>
-    
-  <transition event="event1" target="s1"/>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-<state id="s1">
-  <transition event="event2" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-  </state>
-       
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 34
test/to_adopt/scxml/tests/test186.txml

@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that <send> evals its args when it is evaluated, not when the delay interval expires and the
-message is actually sent.  If it does, aParam will have the value of 1 (even though var1 has been incremented
-in the interval.)  If var2 ends up == 1, we pass.  Otherwise we fail  -->
-
-<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">
-<datamodel>
- <data conf:id="1" conf:expr="1"/>
- <data conf:id="2"/>
- </datamodel>
-  
-<state id="s0">
-  <onentry>
-   <send event="event1" conf:delay="1">
-     <param name="aParam" conf:varExpr="1"/>
-     </send>
-   <assign conf:location="1" conf:expr="2"/>
-    </onentry>
-    
-  <transition event="event1" target="s1">
-    <assign conf:location="2" conf:eventDataFieldValue="aParam"/>
-    </transition>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-<state id="s1">
-  <transition conf:idVal="2=1"  conf:targetpass=""/>
-  <transition  conf:targetfail=""/>
-  </state>
-       
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 36
test/to_adopt/scxml/tests/test187.txml

@@ -1,36 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that delayed <send> is not sent if the sending session terminates.  In this case,
-a subscript is invoked which sends the event childToParent delayed by 1 second, and then terminates.  The
-parent session, should not receive childToParent. If it does, we fail.  Otherwise the 
-10 sec timer expires and we pass -->
-
-<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">
-
-
-  <state id="s0" >
-    <onentry>
-      <send event="timeout" conf:delay="1"/>
-    </onentry>
-    <invoke type="scxml" >
-      <content>
-        <!-- exit before the delayed send can execute -->
-        <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-          <state id="sub0">
-            <onentry>
-              <send event="childToParent" target="#_parent" conf:delay=".5"/>
-            </onentry>
-            <transition  target="subFinal"/>
-          </state>
-          <final id="subFinal"/>
-        </scxml>
-      </content>
-    </invoke>
-
-    <transition event="childToParent" conf:targetfail=""/>
-    <transition event="timeout" conf:targetpass=""/>
-  </state>
-
-  <conf:pass/>
-  <conf:fail/>
-
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test189.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that #_internal as a target of <send> puts the event on the internal queue.  If it does,
-event1 will be processed before event2, because event1 is added to the internal queue while event2 is
-added to the external queue (event though event2 is generated first)  -->
-
-<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">
-
-  
-<state id="s0">
-  <onentry>
-   <!-- goes to the external queue -->
-   <send event="event2"/>
-   <!-- to the internal queue -->
-   <send event="event1" target="#_internal"/>
-    </onentry>
- 
- <!-- once we've entered the state, we should check for internal events first -->   
-  <transition event="event1" conf:targetpass=""/>
-  <transition event="event2" conf:targetfail=""/>
- </state>
-
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 38
test/to_adopt/scxml/tests/test190.txml

@@ -1,38 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that #_scxml_sessionid as a target of <send> puts the event on the external queue.  If it does,
-event1 will be processed before event2, because event1 is added to the internal queue while event2 is
-added to the external queue (event though event2 is generated first).  we have to make sure that event2
-is actually delivered.  The delayed <send> makes sure another event is generated (so the test doesn't hang) -->
-
-<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">
-<datamodel>
- <data conf:id="1" conf:quoteExpr="#_scxml_"/>
- <data conf:id="2" conf:systemVarExpr="_sessionid"/>
- </datamodel>
-  
-<state id="s0">
-  <onentry>
-  <conf:concatVars id1="1" id2="2"/>
-   <!-- goes to the external queue -->
-   <send event="event2" conf:targetExpr="1"/>
-   <!-- to the internal queue -->
-   <raise event="event1"/>
-   <!-- this should get added to the external queue after event2 -->
-   <send event="timeout"/>
-    </onentry>
- 
- <!-- once we've entered the state, we should check for internal events first -->   
-  <transition event="event1" target="s1"/>
-  <transition event="*" conf:targetfail=""/>
- </state>
- 
-<!-- now check that we get event2 and not a timeout -->
-<state id="s1">
-  <transition event="event2" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-  </state>
-
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 34
test/to_adopt/scxml/tests/test191.txml

@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that #_parent works as  a target of  <send> .  a subscript is invoked and sends the event 
-childToParent to its parent session (ths session) using #_parent as the target. If we get this event, we
-pass, otherwise we fail.  The timer insures that some event is generated and that the test does not hang. -->
-
-<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">
-
-
-  <state id="s0" >
-    <onentry>
-      <send event="timeout" delay="5s"/>
-    </onentry>
-    <invoke type="scxml" >
-      <content>
-        <!-- send an event to the parent session using #_parent as the target -->
-        <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-          <state id="sub0">
-            <onentry>
-              <send event="childToParent" target="#_parent"/>
-            </onentry>
-            <transition  target="subFinal"/>
-          </state>
-          <final id="subFinal"/>
-        </scxml> 
-      </content>
-    </invoke>
-    <transition event="childToParent" conf:targetpass=""/>
-    <transition event="*" conf:targetfail=""/>
-  </state>
-
-  <conf:pass/>
-  <conf:fail/>
-
-</scxml>

+ 0 - 58
test/to_adopt/scxml/tests/test192.txml

@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that #_invokeid works as  a target of  <send> .  A child  script is invoked and sends us
-childToParent once its running.  Then we send it the event parentToChild using its invokeid as the target.  
-If it receives this event, it sends sends the event eventReceived to its parent session (ths session). 
-If we get this event, we pass, otherwise the child script eventually times out sends invoke.done and we fail.
-We also set a timeout in this process to make sure the test doesn't hang  -->
-
-<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">
-  
-<state id="s0" initial="s01" >
-  <onentry>
-   <send event="timeout" delay="5s"/>
-   </onentry>
-   
-  <invoke type="scxml" id="invokedChild">
-    <content>
-    <!-- let the parent session know we're running by sending childToParent, then wait for parentToChild.
-       If we get it, send eventReceived.  If we don't we eventually time out -->
-          <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
- 
-         <state id="sub0">
-            <onentry>
-           <send event="childToParent" target="#_parent"/>
-            <send event="timeout" delay="3s"/>
-          </onentry>
-    
-        <transition event="parentToChild" target="subFinal">
-          <send target="#_parent" event="eventReceived"/>
-         </transition>
-    
-          <transition event="timeout" target="subFinal"/>
-         </state>
-
-        <final id="subFinal"/>
-
-         </scxml>
-      </content>
-     </invoke>
-     
-  <transition event="timeout" conf:targetfail=""/> 
-  <transition event="done.invoke" conf:targetfail=""/>
-  
-<state id="s01">
-    <transition event="childToParent" target="s02">
-         <send target="#_invokedChild" event="parentToChild"/>
-     </transition>
-</state>
-
-<state id="s02">
-  <transition event="eventReceived" conf:targetpass=""/>
-  </state>
-
-</state>
-
-   <conf:pass/>
-   <conf:fail/>
-
-</scxml>

+ 0 - 29
test/to_adopt/scxml/tests/test193.txml

@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that omitting target and targetexpr of <send> when using the
-SCXML event i/o processor puts the event on the external queue.  -->
-
-<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">
-
-  
-<state id="s0">
-  <onentry>
-  	  <send event="internal"/>
-   <!-- this should put event1 in the external queue -->
-   <send event="event1" type="http://www.w3.org/TR/scxml/#SCXMLEventProcessor"/>
-   <send event="timeout" delay="1s"/>
-    </onentry>
-  
-  <transition event="event1" conf:targetfail=""/>
-  <transition event="internal" target="s1"/>
- </state>
- 
- <state id="s1">
- 	<transition event="event1" conf:targetpass=""/>
- 	<transition event="timeout" conf:targetfail=""/>
- 	
- 	</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 26
test/to_adopt/scxml/tests/test194.txml

@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that specifying an illegal target for <send> causes the event error.execution to be raised.  If it does,
-we succeed.  Otherwise we eventually timeout and fail.  -->
-
-
-<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">
-
-  
-<state id="s0">
-  <onentry>
-   <!-- should cause an error -->
-   <send conf:illegalTarget="" event="event2"/>
-   <!-- this will get added to the external event queue after the error has been raised -->
-   <send event="timeout"/>
-    </onentry>
- 
- <!-- once we've entered the state, we should check for internal events first -->   
-  <transition event="error.execution" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
- 
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 23
test/to_adopt/scxml/tests/test198.txml

@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that if type is not provided <send> uses the scxml event i/o processor.  The only way to tell
-what processor was used is to look at the origintype of the resulting event  -->
-
-
-<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">
-
-<state id="s0">
-  <onentry>
-   <send  event="event1"/>
-   <send event="timeout"/>
-    </onentry>
-
-  
-  <transition event="event1" conf:originTypeEq="http://www.w3.org/TR/scxml/#SCXMLEventProcessor" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
- 
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 22
test/to_adopt/scxml/tests/test199.txml

@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that using an invalid send type results in error.execution -->
-
-
-<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">
-
-<state id="s0">
-  <onentry>
-   <send conf:invalidSendType="" event="event1"/>
-   <send event="timeout"/>
-    </onentry>
- 
- 
-  <transition event="error.execution" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
- 
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 22
test/to_adopt/scxml/tests/test200.txml

@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that the processor supports the scxml event i/o processor -->
-
-
-<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">
-
-<state id="s0">
-  <onentry>
-   <send type="http://www.w3.org/TR/scxml/#SCXMLEventProcessor" event="event1"/>
-   <send event="timeout"/>
-    </onentry>
- 
- 
-  <transition event="event1" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
- 
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test201.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that the processor supports the basic http event i/o processor.  This is an optional
-test since platforms are not required to support basic http event i/o -->
-
-
-<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">
-
-<state id="s0">
-  <onentry>
-   <send type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor" 
-   	conf:basicHTTPAccessURITarget=""
-   	event="event1"/>
-   <send event="timeout"/>
-    </onentry>
- 
- 
-  <transition event="event1" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- </state>
- 
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 34
test/to_adopt/scxml/tests/test205.txml

@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that the processor doesn't  change the message.  We can't test that it never does this, but
-at least we can check that the event name and included data are the same as we sent.  -->
-
-
-<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">
-<datamodel>
-   <data conf:id="1"/>
-   </datamodel>
-   
-<state id="s0">
-  <onentry>
-   <send  event="event1">
-     <param name="aParam" conf:expr="1"/>
-     </send>
-   <send event="timeout"/>
-    </onentry>
- 
- 
-  <transition event="event1" target="s1">
-     <assign conf:location="1" conf:eventDataFieldValue="aParam"/>
-     </transition>
-  <transition event="*" conf:targetfail=""/>
- </state>
-
-<state id="s1">
-  <transition conf:idVal="1=1" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state> 
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 60
test/to_adopt/scxml/tests/test207.txml

@@ -1,60 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that that we can't  cancel an event in another session.  We invoke a child process.  It notifies
-us when it has generated a delayed event with sendid foo.  We try to cancel foo.  The child  process sends us event
- event success if the event is not cancelled, event fail otherwise.  This doesn't test that there is absolutely no way to cancel an event
-raised in another session, but the spec doesn't define any way to refer to an event in another process  -->
-
-
-<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">
-
-   
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" conf:delay="2"/>
-    </onentry>
-  <invoke type="scxml">
-    <content>
-    <!-- when invoked, we raise a delayed event1 with sendid 'foo' and notify our parent.  Then we wait.
-      If event1 occurs, the parent hasn't succeeded in canceling it and we return pass.  If event2 occurs
-      it means event1 was canceled (because event2 is delayed longer than event1) and we return 'fail'.  -->
-
-
-         <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-           <state id="sub0">
-            <onentry>
-             <send event="event1" id="foo" conf:delay="1"/>
-              <send event="event2" conf:delay="1.5"/>
-              <send target="#_parent" event="childToParent"/>
-              </onentry>
- 
-               <transition event="event1" target="subFinal">
-                   <send target="#_parent" event="pass"/>
-                   </transition>
-               <transition event="*" target="subFinal">
-                      <send target="#_parent" event="fail"/>
-              </transition>
- 
-               </state>
-            <final id="subFinal"/>
-           </scxml>
-    </content>
-    </invoke>
-  
-  <state id="s01">
-    <transition event="childToParent" target="s02">
-      <cancel sendid="foo"/>
-      </transition>
-   </state>
-   
- <state id="s02">
-  <transition event="pass" conf:targetpass=""/>
-  <transition event="fail" conf:targetfail=""/>
-  <transition event="timeout" conf:targetfail=""/>
- </state>
- 
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test208.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that cancel works.  We cancel delayed event1.  If cancel works, we get event2 first and pass.  If
-we get event1 or an error first, cancel didn't work and we fail.  -->
-
-
-<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">
-
-   
-<state id="s0">
-  <onentry>
-   <send  id="foo" event="event1" conf:delay="1"/>
-   <send event="event2" conf:delay="1.5"/>
-   <cancel sendid="foo"/>
-    </onentry>
-
-  <transition event="event2" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- 
- </state>
-
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 28
test/to_adopt/scxml/tests/test210.txml

@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that sendidexpr works with cancel.  If it takes the most recent value of var1, it should cancel 
-delayed event1.  Thus we get event2 first and pass.  If we get event1 or an error first, cancel didn't work and we fail.  -->
-
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:quoteExpr="bar"/>
-  </datamodel>
-   
-<state id="s0">
-  <onentry>
-   <send  id="foo" event="event1" conf:delay="1"/>
-   <send event="event2" conf:delay="1.5"/>
-   <assign conf:location="1" conf:quoteExpr="foo"/>
-   <cancel conf:sendIDExpr="1"/>
-    </onentry>
-
-  <transition event="event2" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
- 
- </state>
-
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 33
test/to_adopt/scxml/tests/test215.txml

@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that typexpr is evaluated at runtime.  If the original value of var1 is used, the invocation
-will fail (test215sub1.scxml is not of type 'foo', even if the platform supports foo as a type).  If
-the runtime value is used, the invocation will succeed -->
-
-
-<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">
-
-<datamodel>
-  <data conf:id="1" conf:quoteExpr="foo"/>
-   </datamodel> 
-   
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="5s"/>
-    <assign conf:location="1" conf:quoteExpr="http://www.w3.org/TR/scxml/"/>
-    </onentry>
-  <invoke conf:typeExpr="1">
-    <content>
-        <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded.   -->
-        <scxml initial="subFinal" conf:datamodel=""  version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-      <final id="subFinal"/>
-        </scxml>
-    </content>
-    </invoke>
-  <transition event="done.invoke" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/> 
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 26
test/to_adopt/scxml/tests/test216.txml

@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that srcexpr is evaluated at runtime.  If the original value of var1 is used, the invocation
-will fail (assuming that there is no script named 'foo').  If
-the runtime value is used, the invocation will succeed -->
-
-
-<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">
-
-<datamodel>
-  <data conf:id="1" conf:quoteExpr="foo"/>
-   </datamodel> 
-   
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="5s"/>
-   <assign conf:location="1" conf:quoteExpr="file:test216sub1.scxml"/>
-    </onentry>
-  <invoke conf:srcExpr="1" type="http://www.w3.org/TR/scxml"/>
-  <transition event="done.invoke" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/> 
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test220.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that the scxml type is supported.   -->
-
-
-<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">
-   
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="5s"/>
-    </onentry>
-     <invoke type="http://www.w3.org/TR/scxml/">
-     <content>
-       <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded.   -->
-         <scxml initial="subFinal" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-           <final id="subFinal"/>
-          </scxml></content>
-     </invoke>
-  <transition event="done.invoke" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/> 
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 33
test/to_adopt/scxml/tests/test223.txml

@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that idlocation is supported.   -->
-
-
-<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">
- <datamodel>
-   <data conf:id="1"/>
-   </datamodel>
-     
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="1s"/>
-    </onentry>
-     <invoke type="http://www.w3.org/TR/scxml/" conf:idlocation="1">
-     <content>
-     <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded.   -->
-       <scxml initial="subFinal" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-       <final id="subFinal"/>
-        </scxml>
-       </content>
-    </invoke>
-  <transition event="*" target="s1"/>
-</state>
-
-<state id="s1">
-  <transition conf:isBound="1" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 35
test/to_adopt/scxml/tests/test224.txml

@@ -1,35 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that the automatically generated id has the form stateid.platformid.   -->
-
-
-<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">
- <datamodel>
-   <data conf:id="1"/>
-   <data conf:id="2" conf:quoteExpr="s0."/>
-   </datamodel>
-     
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="1s"/>
-    </onentry>
- <invoke type="http://www.w3.org/TR/scxml/" conf:idlocation="1">
-    <content> 
-    <!-- when invoked, terminate returning done.invoke. This proves that the invocation succeeded.   -->
-      <scxml version="1.0" initial="subFinal" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-      <final id="subFinal"/>
-      </scxml>
-     </content>
-    </invoke>
-
-  <transition event="*" target="s1"/>
-</state>
-
-<state id="s1">
-  <transition conf:varPrefix="2 1" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 42
test/to_adopt/scxml/tests/test225.txml

@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<!-- we test that the automatically generated id is unique, we call invoke twice and compare the ids.   -->
-
-
-<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">
- <datamodel>
-   <data conf:id="1"/>
-   <data conf:id="2"/>
-   </datamodel>
-     
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="1s"/>
-    </onentry>
-
-   <invoke type="http://www.w3.org/TR/scxml/" conf:idlocation="1">
-      <content>
-      <scxml initial="subFinal1" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-         <final id="subFinal1"/>
-        </scxml>
-     </content>
-     </invoke>
-   <invoke type="http://www.w3.org/TR/scxml/" conf:idlocation="2" >
-      <content>
-      <scxml initial="subFinal2" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-         <final id="subFinal2"/>
-        </scxml>
-     </content>
-     </invoke>
-
-  <transition event="*" target="s1"/>
-</state>
-
-<state id="s1">
-  <transition conf:VarEqVar="1 2" conf:targetfail=""/>
-  <transition conf:targetpass=""/>
-  </state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 27
test/to_adopt/scxml/tests/test226.txml

@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!-- this is basically just a test that invoke works correctly and that you can pass data
-to the invoked process.  If the invoked session finds aParam==1, it exits, signalling
-success.  otherwise it will hang and the timeout in this doc signifies failure.   -->
-
-
-<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">
-
-     
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="3s"/>
-    </onentry>
-
- 
-   <invoke type="http://www.w3.org/TR/scxml/" src="file:test226sub1.scxml">
-      <param conf:name="1" conf:expr="1"/>
-      </invoke>
-
-  <transition event="varBound" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 37
test/to_adopt/scxml/tests/test228.txml

@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that the invokeid is included in events returned from the invoked process.   -->
-
-
-<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">
- <datamodel>
-   <data conf:id="1"/>
-   </datamodel>
-     
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="3s"/>
-    </onentry>
- 
-  <invoke type="http://www.w3.org/TR/scxml/" id="foo">
-   <content>
-     <scxml initial="subFinal" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-      <final id="subFinal"/>
-       </scxml>
-    </content>
-    </invoke>
-
-  <transition event="done.invoke" target="s1">
-    <assign conf:location="1" conf:eventField="invokeid"/>
-    </transition>
-  <transition event="*" conf:targetfail=""/>
-</state>
-
-<state id="s1">
-  <transition conf:idQuoteVal="1=foo" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 46
test/to_adopt/scxml/tests/test229.txml

@@ -1,46 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that autofoward works. If the child  process receives back a copy of the
-childToParent event that it sends to this doc, it sends eventReceived, signalling success. (Note
-that this doc is not required to process that event explicitly.  It should be forwarded in any case.) Otherwise
-it eventually times out and the done.invoke signals failure   -->
-
-
-<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">
-
-     
-<state id="s0" >
-  <onentry>
-    <send event="timeout" delay="3s"/>
-    </onentry>
- 
-  <invoke type="http://www.w3.org/TR/scxml/" autoforward="true">
-    <content>
-      <!-- when invoked, send childToParent to parent.  
-      If it is forwarded back to us, send
-      eventReceived to signal success and terminate.  
-      Otherwise wait for timer to expire and terminate.  -->
-     <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-        <state id="sub0">
-          <onentry>
-             <send target="#_parent" event="childToParent"/> 
-              <send event="timeout" delay="3s"/> 
-            </onentry> 
-         <transition event="childToParent" target="subFinal">
-         <send target="#_parent" event="eventReceived"/>
-          </transition>
-           <transition event="*" target="subFinal"/>
-       </state>
-        <final id="subFinal"/>
-        </scxml>
-    </content>
-    </invoke>
-
-  <transition event="childToParent"/>
-  <transition event="eventReceived" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 66
test/to_adopt/scxml/tests/test230.txml

@@ -1,66 +0,0 @@
-<?xml version="1.0"?>
-<!-- a manual test that an autofowarded event has the same fields and values as the original event.
-the child process sends the parent process an event which is forwarded back to it.  
-Both the parent and child process print out the contents of the event. The tester 
-must check if they are the same and report his result.   -->
-
-
-<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">
-
-     
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" delay="3s"/>
-    </onentry>
-  <invoke type="http://www.w3.org/TR/scxml/" autoforward="true">
-    <content>
-    <!-- when invoked, send childToParent to parent.  If it is forwarded back to us, print out its
-        fields and terminate.  -->
-        <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-           <state id="sub0">
-            <onentry>
-              <send target="#_parent" event="childToParent"/> 
-              <send event="timeout" delay="2s"/>
-             </onentry> 
-           <transition event="childToParent" target="subFinal">
-                  <log label="name is " conf:eventField="name" />
-                  <log label="type is " conf:eventField="type" />
-                  <log label="sendid is "  conf:eventField="sendid"/>
-                 <log  label="origin is "  conf:eventField="origin" />
-                 <log label="origintype is "  conf:eventField="origintype" />
-                 <log label="invokeid is " conf:eventField="invokeid" />
-                 <log label="data is "  conf:eventField="data"/>
-              </transition>
-          <transition event="*" target="subFinal"/>  
-          </state>
-        <final id="subFinal"/>
-       </scxml>
-       </content>
-       </invoke>
-  <transition event="timeout" target="final"/>
-   
- 
-  <state id="s01">
-  <transition event="childToParent" target="s02">
-    <log label="name is " conf:eventField="name" />
-    <log label="type is " conf:eventField="type" />
-    <log label="sendid is "  conf:eventField="sendid"/>
-    <log  label="origin is "  conf:eventField="origin" />
-    <log label="origintype is "  conf:eventField="origintype" />
-    <log label="invokeid is " conf:eventField="invokeid" />
-    <log label="data is "  conf:eventField="data"/>
-    </transition>
-  <transition event="*" conf:targetfail=""/>
- </state>
- 
- <state id="s02">
-  <!-- wait till we get the done event to ensure that the child process has time to print out its results -->
-   <transition event="done.invoke" target="final"/>
-   </state>
-
-</state>
-
-<final id="final"/>
-<conf:fail/>
-
-</scxml>

+ 0 - 44
test/to_adopt/scxml/tests/test232.txml

@@ -1,44 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that a parent process can receive multiple events from a child process   -->
-
-
-<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">
-
-     
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" delay="3s"/>
-    </onentry>
-  <invoke type="http://www.w3.org/TR/scxml/">
-    <content>
-    <scxml initial="subFinal" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-      <final id="subFinal">
-           <onentry>
-             <send target="#_parent" event="childToParent1"/> 
-               <send target="#_parent" event="childToParent2"/>
-             </onentry> 
-       </final>
-         </scxml>
-    </content>
-    </invoke>
-  <transition event="timeout" conf:targetfail=""/>
-   
- 
-  <state id="s01">
-  <transition event="childToParent1" target="s02"/>
- </state>
- 
- <state id="s02">
-   <transition event="childToParent2" target="s03"/>
-   </state>
-   
-<state id="s03">
-  <transition event="done.invoke" conf:targetpass=""/>
-  </state>   
-
-</state>
-
-<conf:pass/>
-<conf:fail/>
-
-</scxml>

+ 0 - 39
test/to_adopt/scxml/tests/test233.txml

@@ -1,39 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that finalize markup runs before the event is processed.  The invoked process will
-return 2 in _event.data.aParam, so that new value should be in force when we select
-the transtitions.   -->
-
-
-<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">
-  <datamodel>
-    <data conf:id="1" conf:expr="1"/>
-  </datamodel>
-
-  <state id="s0">
-    <onentry>
-      <send event="timeout" delay="3s"/>
-    </onentry>
-    <invoke type="http://www.w3.org/TR/scxml/">
-      <content>
-        <scxml initial="subFinal" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-          <final id="subFinal">
-            <onentry>
-              <send target="#_parent" event="childToParent">
-                <param name="aParam" conf:expr="2"/>
-              </send> 
-            </onentry> 
-          </final>
-        </scxml>
-      </content>
-      <finalize>
-        <assign conf:location="1" conf:eventDataFieldValue="aParam"/>
-      </finalize>
-    </invoke>
-
-    <transition event="childToParent" conf:idVal="1=2" conf:targetpass=""/>
-    <transition event="*" conf:targetfail=""/>
-  </state>   
-
-  <conf:pass/>
-  <conf:fail/>
-</scxml>

+ 0 - 70
test/to_adopt/scxml/tests/test234.txml

@@ -1,70 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that only finalize markup in the invoking state runs.  the first invoked process will
-return 2 in _event.data.aParam, while second invoked process sleeps without returning any events. 
-Only the first finalize should execute.  So when we get to s1 var1 should have value 2 but 
-var2 should still be set to 1  -->
-
-
-<scxml initial="p0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
-  <data conf:id="2" conf:expr="1"/>
-  </datamodel>
-<parallel id="p0">
-    <onentry>
-    <send event="timeout" delay="3s"/>
-    </onentry>   
-    <transition event="timeout" conf:targetfail=""/>  
-    
-   <state id="p01">
-    <invoke type="http://www.w3.org/TR/scxml/">
-       <content>
-       <scxml version="1.0" initial="subFinal1" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-          <final id="subFinal1">
-           <onentry>
-            <send target="#_parent" event="childToParent">
-            <param name="aParam" conf:expr="2"/>
-          </send> 
-         </onentry> 
-          </final>
-            </scxml>
-         </content>
-      <finalize>
-        <assign conf:location="1" conf:eventDataFieldValue="aParam"/>
-        </finalize>
-        </invoke>
-      
-      <transition event="childToParent" conf:idVal="1=2" target="s1"/>
-       <transition event="childToParent" conf:targetfail=""/>
-    </state> 
-
-   <state id="p02">
-     <invoke type="http://www.w3.org/TR/scxml/">
-       <content>
-       <scxml version="1.0" initial="sub0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-         <state id="sub0">
-           <onentry>
-              <send event="timeout" delay="2s"/>
-            </onentry>
-             <transition event="timeout" target="subFinal2"/>
-             </state>
-              <final id="subFinal2"/>
-              </scxml>
-        </content>
-      <finalize>
-        <assign conf:location="2" conf:eventDataFieldValue="aParam"/>
-         </finalize>
-      </invoke>
-  </state>
-
-</parallel>    
-
-  
-<state id="s1">
-  <transition conf:idVal="2=1" conf:targetpass=""/>
-  <transition conf:targetfail=""/>
-  </state>
-  
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 27
test/to_adopt/scxml/tests/test235.txml

@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that done.invoke.id event has the right id.  the invoked child terminates immediately
-and should generate done.invoke.foo   -->
-
-
-<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">
-
-     
-<state id="s0">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-  <invoke type="http://www.w3.org/TR/scxml/" id="foo">
-    <content>
-      <scxml initial="subFinal" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-        <final id="subFinal"/>
-        </scxml>
-        </content>
-        </invoke>
-      
-  <transition event="done.invoke.foo" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-</state>   
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 43
test/to_adopt/scxml/tests/test236.txml

@@ -1,43 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that done.invoke.id event is the last event we receive.  the invoked process sends childToParent
-in the exit handler of its final state.  We should get it before the done.invoke, and we should get no
-events after the done.invoke.  Hence timeout indicates success   -->
-
-
-<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">
-
-     
-<state id="s0">
-  <onentry>
-    <send event="timeout" conf:delay="2"/>
-    </onentry>
-  <invoke type="http://www.w3.org/TR/scxml/">
-    <content>
-      <scxml initial="subFinal" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-       <final id="subFinal">
-          <onexit>
-           <send target="#_parent" event="childToParent"/>
-            </onexit>
-           </final>
-         </scxml>
-      </content>
-      </invoke>
- 
-  <transition event="childToParent" target="s1"/>    
-  <transition event="done.invoke" conf:targetfail=""/>
-</state>
-
-<state id="s1">
-  <!-- here we should get done.invoke -->
-  <transition event="done.invoke" target="s2"/>
-  <transition event="*" conf:targetfail=""/>
-  </state>
-  
-<state id="s2">
-  <transition event="timeout" conf:targetpass=""/>
-  <transition event="*" conf:targetfail=""/>
-  </state>   
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 45
test/to_adopt/scxml/tests/test237.txml

@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that cancelling works. invoked child sleeps for two seconds, then terminates.  We
-sleep for 1 sec in s0, then move to s1.  This should cause the invocation to get cancelled.
-If we receive done.invoke, the invocation wasn't cancelled, and we fail. If we receive no events by
-the time timeout2 fires, success   -->
-
-
-<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">
-
-     
-<state id="s0">
-  <onentry>
-    <send event="timeout1" conf:delay="1"/>
-    </onentry>
-  <invoke type="http://www.w3.org/TR/scxml/">
-    <content>
-      <!-- when invoked, sleep for 2 secs then terminate.  Parent will try to cancel this session -->
-         <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-           <state id="sub0">
-            <onentry>
-              <send event="timeout" conf:delay="2"/>
-                </onentry>
-               <transition event="timeout" target="subFinal"/>
-                </state>   
-            <final id="subFinal"/>
-         </scxml>
-         </content>
-          </invoke>
- 
-  <transition event="timeout1" target="s1"/>    
-
-</state>
-
-<state id="s1">
-    <onentry>
-    <send event="timeout2" conf:delay="1.5"/>
-    </onentry>
-  <!-- here we should NOT get done.invoke -->
-  <transition event="done.invoke" conf:targetfail=""/>
-  <transition event="*" conf:targetpass=""/>
-  </state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 36
test/to_adopt/scxml/tests/test239.txml

@@ -1,36 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that markup can be specified both by 'src' and by <content>  -->
-
-
-<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">
-
-     
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-    <transition event="timeout" conf:targetfail=""/>
-    
-   <state id="s01">
-     <invoke type="http://www.w3.org/TR/scxml/"  src="file:test239sub1.scxml"/>
-     <transition event="done.invoke" target="s02"/>
-   </state>
-
-<state id="s02">
-      <invoke type="http://www.w3.org/TR/scxml/">
-        <!-- identical to test239sub1.scxml.  -->
-          <content>
-            <scxml version="1.0" initial="final" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <final id="final"/>
-              </scxml>
-            </content>
-        </invoke>
- 
-  <transition event="done.invoke" conf:targetpass=""/>
-  </state>
-  
-</state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 71
test/to_adopt/scxml/tests/test240.txml

@@ -1,71 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that datamodel values can be specified both by 'namelist' and by <param>.
-invoked child will return success if its Var1 is set to 1, failure otherwise. This
-test will fail schema validation because of the multiple occurences of Var1, but
-should run correctly. -->
-
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
-  </datamodel>
-     
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-    <transition event="timeout" conf:targetfail=""/>
-   
-   <state id="s01">
-     <invoke type="http://www.w3.org/TR/scxml/" conf:namelist="1">
-       <content>
-         <scxml initial="sub01" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-           <datamodel>
-             <data conf:id="1" conf:expr="0"/>
-               </datamodel>
-                   <state id="sub01">
-                      <transition conf:namelistIdVal="1=1" target="subFinal1">
-                     <send target="#_parent" event="success"/>
-                     </transition>
-                  <transition  target="subFinal1">
-                 <send target="#_parent" event="failure"/>
-                 </transition>
-               </state>
-         <final id="subFinal1"/>
-          </scxml>
-        </content>
-        </invoke>
-     <transition event="success" target="s02"/>
-     <transition event="failure" conf:targetfail=""/>
-   </state>
-
-<state id="s02">
-      <invoke type="http://www.w3.org/TR/scxml/">
-          <param conf:name="1" conf:expr="1"/>
-       <content>
-         <scxml initial="sub02" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-           <datamodel>
-             <data conf:id="1" conf:expr="0"/>
-               </datamodel>
-   
-                  <state id="sub02">
-                      <transition conf:idVal="1=1" target="subFinal2">
-                     <send target="#_parent" event="success"/>
-                     </transition>
-                  <transition  target="subFinal2">
-                 <send target="#_parent" event="failure"/>
-                 </transition>
-               </state>
-         <final id="subFinal2"/>
-          </scxml>
-        </content>
-        </invoke>
-     <transition event="success" conf:targetpass=""/>
-     <transition event="failure" conf:targetfail=""/>
-  </state>
- 
-</state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 102
test/to_adopt/scxml/tests/test241.txml

@@ -1,102 +0,0 @@
-<?xml version="1.0"?>
-<!-- The child process will return success ifits Var1 is set to 1, failure otherwise. For this test
-we try passing in Var1 by param and by namelist and check that we either get two successes
-or two failures.  This test will fail schema validation due to multiple  declarations of
-Var1, but should  run correctly.  -->
-
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
-  </datamodel>
-     
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-    <transition event="timeout" conf:targetfail=""/>
-   
-   <state id="s01">
-     <invoke type="http://www.w3.org/TR/scxml/" conf:namelist="1">
-              <content>
-            <scxml initial="sub01" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <datamodel>
-               <data conf:id="1" conf:expr="0"/>
-                </datamodel>
-   
-           <state id="sub01">
-              <transition conf:idVal="1=1" target="subFinal1">
-                  <send target="#_parent" event="success"/>
-                    </transition>
-              <transition  target="subFinal1">
-                    <send target="#_parent" event="failure"/>
-                </transition>
-              </state>
-     
-            <final id="subFinal1"/>
-            </scxml>
-       </content>
-       </invoke>
-     <transition event="success" target="s02"/>
-     <transition event="failure" target="s03"/>
-   </state>
-
-<state id="s02">
-      <invoke type="http://www.w3.org/TR/scxml/">
-          <param conf:name="1" conf:expr="1"/>
-          <content>
-            <scxml initial="sub02" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <datamodel>
-               <data conf:id="1" conf:expr="0"/>
-                </datamodel>
-   
-           <state id="sub02">
-              <transition conf:idVal="1=1" target="subFinal2">
-                  <send target="#_parent" event="success"/>
-                    </transition>
-              <transition  target="subFinal2">
-                    <send target="#_parent" event="failure"/>
-                </transition>
-              </state>
-     
-            <final id="subFinal2"/>
-            </scxml>
-       </content>
-        </invoke>
-        <!-- we got success in s01, so we need to do so here -->
-     <transition event="success" conf:targetpass=""/>
-     <transition event="failure" conf:targetfail=""/>
-  </state>
-  
-<state id="s03">
-      <invoke type="http://www.w3.org/TR/scxml/" >
-          <param conf:name="1" conf:expr="1"/>
-           <content>
-            <scxml initial="sub03" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <datamodel>
-               <data conf:id="1" conf:expr="0"/>
-                </datamodel>
-   
-           <state id="sub03">
-              <transition conf:idVal="1=1" target="subFinal3">
-                  <send target="#_parent" event="success"/>
-                    </transition>
-              <transition  target="subFinal3">
-                    <send target="#_parent" event="failure"/>
-                </transition>
-              </state>
-     
-            <final id="subFinal3"/>
-            </scxml>
-       </content>
-        </invoke>
-        <!-- we got failure in s01, so we need to do so here -->
-     <transition event="failure" conf:targetpass=""/>
-     <transition event="success" conf:targetfail=""/>
-  </state>
- 
-</state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 57
test/to_adopt/scxml/tests/test242.txml

@@ -1,57 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that markup specified  by 'src' and by <content> is treated the same way.  That means that
-either we get done.invoke in both cases or in neither case (in which case we timeout) -->
-
-
-<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">
-
-     
-<state id="s0" >
-  <onentry>
-    <send event="timeout1" delay="1s"/>
-    </onentry>
-    <transition event="timeout" conf:targetfail=""/>
-
-     <invoke type="http://www.w3.org/TR/scxml/"  src="file:test242sub1.scxml"/>
-     <transition event="done.invoke" target="s02"/>
-     <transition event="timeout1" target="s03"/>
-   </state>
-
-<state id="s02">
-    <onentry>
-    <send event="timeout2" delay="1s"/>
-    </onentry>
-      <invoke type="http://www.w3.org/TR/scxml/">
-        <!-- identical to test242sub1.scxml.  -->
-          <content>
-            <scxml version="1.0" initial="subFinal1" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <final id="subFinal1"/>
-              </scxml>
-            </content>
-        </invoke>
- <!-- we got done.invoke last time, so we need it this time too -->
-  <transition event="done.invoke" conf:targetpass=""/>
-  <transition event="timeout2" conf:targetfail=""/>
- </state>
- 
-<state id="s03">
-    <onentry>
-    <send event="timeout3" delay="1s"/>
-    </onentry>
-      <invoke type="http://www.w3.org/TR/scxml/">
-        <!-- identical to test242sub1.scxml.  -->
-          <content>
-            <scxml version="1.0" initial="subFinal2" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <final id="subFinal2"/>
-              </scxml>
-            </content>
-        </invoke>
- <!-- we got timeout last time, so we need it this time too -->
-  <transition event="timeout3" conf:targetpass=""/>
-  <transition event="done.invoke" conf:targetfail=""/>
- </state>
-  
-
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 40
test/to_adopt/scxml/tests/test243.txml

@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that datamodel values can be specified by param.
-test240sub1 will return success ifits Var1 is set to 1, failure otherwise.  -->
-
-
-<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">
-
-     
-<state id="s0">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-   
-      <invoke type="http://www.w3.org/TR/scxml/">
-          <param conf:name="1" conf:expr="1"/>
-          <content>
-            <scxml version="1.0" initial="sub0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <datamodel>
-              <data conf:id="1" conf:expr="0"/>
-                </datamodel>
-   
-            <state id="sub0">
-              <transition conf:idVal="1=1" target="subFinal">
-                 <send target="#_parent" event="success"/>
-                   </transition>
-                  <transition  target="subFinal">
-                   <send target="#_parent" event="failure"/>
-                    </transition>
-                 </state>
-              <final id="subFinal"/>
-               </scxml>
-               </content>
-           </invoke>
-     <transition event="success" conf:targetpass=""/>
-     <transition event="*" conf:targetfail=""/>
-   </state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 43
test/to_adopt/scxml/tests/test244.txml

@@ -1,43 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that datamodel values can be specified by  namelist.
-invoked child will return success ifits Var1 is set to 1, failure otherwise.  
-This test will fail schema validation due to multiple occurrences of Var1,
-but should run correctly. -->
-
-
-<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">
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
-  </datamodel>
-     
-<state id="s0">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-   
-     <invoke type="http://www.w3.org/TR/scxml/" conf:namelist="1">
-        <content>
-          <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <datamodel>
-             <data conf:id="1" conf:expr="0"/>
-             </datamodel>
-   
-         <state id="sub0">
-            <transition conf:idVal="1=1" target="subFinal">
-             <send target="#_parent" event="success"/>
-              </transition>
-             <transition  target="subFinal">
-                 <send target="#_parent" event="failure"/>
-             </transition>
-           </state>    
-            <final id="subFinal"/>
-              </scxml>
-             </content>
-             </invoke>
-     <transition event="success" conf:targetpass=""/>
-     <transition event="*" conf:targetfail=""/>
-   </state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 38
test/to_adopt/scxml/tests/test245.txml

@@ -1,38 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that non-existent datamodel values are not set.  Var2 is not defined in 
-invoked child's datamodel.  It will will return success if its Var2 remains unbound, failure otherwise.  -->
-
-
-<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">
-<datamodel>
-  <data conf:id="2" conf:expr="3"/>
-  </datamodel>
-     
-<state id="s0">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-   
-     <invoke type="http://www.w3.org/TR/scxml/"  conf:namelist="2">
-       <content>
-          <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-               <state id="sub0">
-               <transition conf:isBound="2" target="subFinal">
-                <send target="#_parent" event="failure"/>
-            </transition>
-            <transition  target="subFinal">
-              <send target="#_parent" event="success"/>
-              </transition>
-          </state>    
-           <final id="subFinal"/>
-           </scxml>
-           </content>
-          </invoke>
-          
-     <transition event="success" conf:targetpass=""/>
-     <transition event="*" conf:targetfail=""/>
-   </state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 26
test/to_adopt/scxml/tests/test247.txml

@@ -1,26 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that we get done.invoke.  timeout indicates failure  -->
-
-
-<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">
-
-     
-<state id="s0">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-   
-     <invoke type="http://www.w3.org/TR/scxml/">
-       <content>
-         <scxml version="1.0" initial="subFinal" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-           <final id="subFinal"/>
-           </scxml>
-        </content>
-        </invoke>
-     <transition event="done.invoke" conf:targetpass=""/>
-     <transition event="timeout" conf:targetfail=""/>
-   </state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 46
test/to_adopt/scxml/tests/test250.txml

@@ -1,46 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that the onexit handlers run in the invoked process if it is cancelled.  This has to be a
-manual test, since this process won't accept any events from the child  process once it has been cancelled.
-Tester must examine log output from child process to determine success   -->
-
-
-<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">
-
-     
-<state id="s0">
-  <onentry>
-    <send event="foo"/>
-    </onentry>
-   
-     <invoke type="http://www.w3.org/TR/scxml/" >
-         <content>
-           <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-             <state id="sub0" initial="sub01">
-               <onentry>
-                <send event="timeout" delay="2s"/>
-                  </onentry>
-                 <transition event="timeout" target="subFinal"/>
-              <onexit>
-                 <log conf:quoteExpr="Exiting sub0"/>
-                </onexit> 
-             <state id="sub01">
-             <onexit>
-             <log conf:quoteExpr="Exiting sub01"/>
-           </onexit>
-        </state>
-      </state>     
-        <final id="subFinal">
-          <onentry>
-           <log conf:quoteExpr="entering final state, invocation was not cancelled"/>
-          </onentry>
-         </final> 
-      </scxml>
-      </content>
-      </invoke>
-      
-     <!-- this transition will cause the invocation to be cancelled -->
-     <transition event="foo" target="final"/>
-   </state>
- 
-<final id="final"/>
-</scxml>

+ 0 - 51
test/to_adopt/scxml/tests/test252.txml

@@ -1,51 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that we don't process any events received from the invoked process once it is cancelled.  child
-process tries to send us childToParent in an onexit handler.  If we get it, we fail.  
-timeout indicates success.   -->
-
-
-<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">
-
-     
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" conf:delay="1"/>
-    </onentry>
-    
-    <transition event="timeout" conf:targetpass=""/>
-    <transition event="childToParent" conf:targetfail=""/>
-    <transition event="done.invoke" conf:targetfail=""/>
-    
-    <state id="s01">
-      <onentry>
-        <send event="foo"/>
-        </onentry>
-   
-     <invoke type="http://www.w3.org/TR/scxml/">
-       <content>
-         <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-              <state id="sub0">
-             <onentry>
-             <send event="timeout" conf:delay=".5"/>
-             </onentry> 
-            <transition event="timeout" target="subFinal"/>
-               <onexit>
-               <send target="#_parent" event="childToParent"/>
-            </onexit>
-          </state>  
-          <final id="subFinal"/>
-          </scxml>
-       </content>
-      </invoke>
-      
-     <!-- this transition will cause the invocation to be cancelled -->
-     <transition event="foo" target="s02"/>
-   </state>
-   
-   <state id="s02"/>
-   
-</state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 83
test/to_adopt/scxml/tests/test253.txml

@@ -1,83 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that the scxml event processor is used in both directions.  If child process uses the 
-scxml event i/o processor to communicate with us, send it an event.  It will send back success if
-this process uses the scxml processor to send the message to it, otherwise failure.  For this test we allow 
-'scxml' as an alternative to the full url.   -->
-
-
-<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">
-<datamodel>
-  <data conf:id="1"/>
-  </datamodel>
-     
-<state id="s0" initial="s01">
-  <onentry>
-    <send event="timeout" delay="2s"/>
-    </onentry>
-    
-    <transition event="timeout" conf:targetfail=""/>
-    
-    <invoke type="scxml"  id="foo">
-      <content>
-      <!-- inform parent we're running then wait for it to send us an event.  If it uses the scxml event i/o
-             processor to do so, return success, otherwise return failure.   -->
-       <scxml initial="sub0" version="1.0" conf:datamodel=""  xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-         <datamodel>
-          <data conf:id="2"/>
-           </datamodel>
-            <state id="sub0">
-              <onentry>
-               <send target="#_parent" event="childRunning"/>
-            </onentry>
-   
-           <transition event="parentToChild" target="sub1">
-           <assign conf:location="2" conf:eventField="origintype"/>
-          </transition>
-         </state>
-          <state id="sub1">
-            <transition conf:idQuoteVal="2=http://www.w3.org/TR/scxml/#SCXMLEventProcessor" target="subFinal">
-             <send target="#_parent" event="success"/>
-                </transition>
-            <transition conf:idQuoteVal="2=scxml" target="subFinal">
-             <send target="#_parent" event="success"/>
-              </transition>
-            <transition target="subFinal">
-                <send target="#_parent" event="failure"/>
-             </transition>
-           </state>
-          <final id="subFinal"/>
-            </scxml>
-        </content>
-        </invoke>
-    
-    <state id="s01">
-    <transition event="childRunning" target="s02">
-       <assign conf:location="1" conf:eventField="origintype"/>
-       </transition>
-   </state>
-    
-    <state id="s02">
-
-     <transition conf:idQuoteVal="1=http://www.w3.org/TR/scxml/#SCXMLEventProcessor" target="s03">
-        <send target="#_foo" event="parentToChild"/>
-        </transition>
-    <transition conf:idQuoteVal="1=scxml" target="s03">
-        <send target="#_foo" event="parentToChild"/>
-        </transition>
- 
-    <transition conf:targetfail=""/>
-
-    </state>        
-
-     
-     <state id="s03">
-       <transition event="success" conf:targetpass=""/>
-       <transition event="fail" conf:targetfail=""/>
-  
-     </state>   
-
-</state>
- 
-<conf:pass/>
-<conf:fail/>
-</scxml>

+ 0 - 21
test/to_adopt/scxml/tests/test276.txml

@@ -1,21 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that values passed in from parent process override default values specified in the child, test276sub1.scxml.
-The child returns event1 if var1 has value 1, event0 if it has default value 0.  -->
-
-<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">
-
-   <state id="s0">
-     <invoke type="scxml" src="file:test276sub1.scxml" >
-       <param conf:name="1" conf:expr="1"/>
-       </invoke>
-       <transition event="event1" conf:targetpass=""/>
-       <transition event="event0" conf:targetfail=""/>
-   </state>
-
-   <conf:pass/>
-   <conf:fail/>
-   
-
-
-</scxml>

+ 0 - 32
test/to_adopt/scxml/tests/test277.txml

@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that platform creates undound variable if we assign an illegal value to it.  Thus
- we can assign to it later in state s1.  -->
-
-<scxml initial="s0" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel=""  xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-   <datamodel>
-     <data conf:id="1" conf:illegalExpr=""/>
-     </datamodel>
-     
- <state id="s0">
-    <onentry>
-    <raise event="foo"/>
-    </onentry>
-    
-   <transition event="error.execution" conf:unboundVar="1" target="s1"/>
-   <transition event="*" conf:targetfail=""/>
-   </state>
-   
- <state id="s1">
- <onentry>
-   <assign conf:location="1" conf:expr="1"/>
-   </onentry>
-   <transition  conf:idVal="1=1" conf:targetpass=""/>
-   <transition conf:targetfail=""/>
-
-   </state>
-   
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 22
test/to_adopt/scxml/tests/test278.txml

@@ -1,22 +0,0 @@
-
-<scxml initial="s0" version="1.0" conf:datamodel="ecmascript" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-
-<!-- test that a variable can be accessed from a state that is outside its lexical scope -->   
-     
- <state id="s0">
-   <transition conf:idVal="1=1" conf:targetpass=""/>
-
-  <transition  conf:targetfail=""/>
-
-   </state>
-   
-<state id="s1">
-  <datamodel>
-    <data conf:id="1" conf:expr="1"/>
-    </datamodel>
-  </state>
-   
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test279.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-
-<!--  testing that in case of early binding variables are assigned values at init time, before
- the state containing them is visited  -->
-<scxml initial="s0" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel="" 
-  xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-   
-     
- <state id="s0">
-   <transition conf:idVal="1=1" conf:targetpass=""/>
-
-  <transition  conf:targetfail=""/>
-
-   </state>
-   
-<state id="s1">
-  <datamodel>
-    <data conf:id="1" conf:expr="1"/>
-    </datamodel>
-  </state>
-   
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 34
test/to_adopt/scxml/tests/test280.txml

@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-
-
-<!-- test late binding.  var2 won't get bound until s1 is entered, so it shouldn't  have a value in s0 and
-accessing it should cause an error. It should get bound before the onentry code in s1 so it should  be
-possible access it there and assign its value to var1 -->
-
-<scxml initial="s0" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel="" 
-  binding="late" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
- 
- <datamodel>
-   <data conf:id="1"/>
-   </datamodel>  
-     
- <state id="s0">
-   <transition conf:unboundVar="2" target="s1"/>
-  <transition  conf:targetfail=""/>
-   </state>
-   
-<state id="s1">
-  <datamodel>
-    <data conf:id="2" conf:expr="1"/>
-    </datamodel>
-    <onentry>
-    <assign conf:location="1" conf:varExpr="2"/>
-    </onentry>
-    <transition conf:VarEqVar="1 2" conf:targetpass=""/>
-    <transition conf:targetfail=""/>
-  </state>
-   
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 23
test/to_adopt/scxml/tests/test286.txml

@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that assigment to a non-declared var causes an error.  the transition on foo catches the case
-where no error is raised -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" 
-   xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" conf:datamodel="" initial="s0">
-   
-     
- <state id="s0">
-   <onentry>
-   <assign conf:invalidLocation="" conf:expr="1"/>
-   <raise event="foo"/>
-   </onentry>
-   
-   <transition event="error.execution" conf:targetpass=""/>
-   <transition event="*" conf:targetfail=""/>
- </state>
-
-<conf:pass/>
-<conf:fail/>
-     
-</scxml>

+ 0 - 23
test/to_adopt/scxml/tests/test287.txml

@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<!-- a simple test that a legal value may be assigned to a valid data model location -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" 
-   conf:datamodel="" version="1.0" initial="s0">
-   
-<datamodel>
-    <data conf:id="1" conf:expr="0"/>
-    </datamodel>   
-     
- <state id="s0">
-   <onentry>
-   <assign conf:location="1" conf:expr="1"/>
-   </onentry>
-   
-   <transition conf:idVal="1=1" conf:targetpass=""/>
-   <transition  conf:targetfail=""/>
- </state>
-
-<conf:pass/>
-<conf:fail/>
-     
-</scxml>

+ 0 - 49
test/to_adopt/scxml/tests/test294.txml

@@ -1,49 +0,0 @@
-<?xml version="1.0"?>
-<!-- test that a param inside donedata ends up in the data field of the done event and
-that content inside donedata sets the full value of the event.data field -->
-
-<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" conf:datamodel="" initial="s0">
-  <datamodel>
-    <data conf:id="1" conf:expr="0"/>
-  </datamodel>   
-
-  <state id="s0" initial="s01">
-
-    <transition event="done.state.s0"  conf:eventvarVal="1=1" target="s1">
-    </transition>
-
-    <transition event="done.state.s0"  conf:targetfail="">
-    </transition>
-
-    <state id="s01">
-      <transition target="s02"/>
-    </state>
-    <final id="s02">
-      <donedata>
-        <param conf:name="1" conf:expr="1"/>
-      </donedata>
-    </final>
-  </state>
-
-  <state id="s1" initial="s11">
-
-    <transition event="done.state.s1"  conf:eventdataVal="'foo'" conf:targetpass="">
-    </transition>
-
-    <transition event="done.state.s1"  conf:targetfail="">
-    </transition>
-
-    <state id="s11">
-      <transition target="s12"/>
-    </state>
-    <final id="s12">
-      <donedata>
-        <conf:contentFoo/>
-      </donedata>
-    </final>
-  </state>
-
-  <conf:pass/>
-  <conf:fail/>
-
-</scxml>

+ 0 - 32
test/to_adopt/scxml/tests/test298.txml

@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-<!-- reference a non-existent data model location in param in donedata and see that the right error is raised -->
-
-<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" conf:datamodel="" initial="s0">
- <datamodel>
-       <data conf:id="1" conf:expr="0"/>
-    </datamodel>   
-     
- <state id="s0" initial="s01">
- 	<onentry>
- 		<send event="timeout" delay="1s"/>
- 		</onentry>
- 		
-    <transition event="error.execution" conf:targetpass=""/>
-       <transition event="*" conf:targetfail=""/>
-
-   <state id="s01">
-   <transition target="s02"/>
-   </state>
-   <final id="s02">
-     <donedata>
-      <param conf:name="3" conf:invalidLocation=""/>
-      </donedata>
-     </final>
- </state>
-
-<conf:pass/>
-<conf:fail/>
-     
-</scxml>
-   
-

+ 0 - 17
test/to_adopt/scxml/tests/test301.txml

@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- the processor should  reject this document because it can't download the script.  
-Therefore  we fail if it runs at all. This test is valid only for datamodels that support scripting -->
-
-<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
- <script conf:scriptBadSrc=""/>
-     
- <state id="s0">
-   <transition conf:targetfail=""/>
-   </state>
-   
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 20
test/to_adopt/scxml/tests/test302.txml

@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- test that a script is evaluated at load time.  <conf:script> shoudl assign the value 1 to 
-Var1.  Hence, if script is evaluated at download time, Var1 has a value in the initial state s0.
-This test is valid only for datamodels that support scripting -->
-
-<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel=""
- xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
- <conf:script/>
-     
- <state id="s0">
-   <transition conf:idVal="1=1" conf:targetpass=""/>
-   <transition conf:targetfail=""/>
-   </state>
-   
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test303.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- to test that scripts are run as part of executable content, we check that it changes the value of a var at the
-right point. This test is valid only for datamodels that support scripting -->
-
-<scxml version="1.0" xmlns="http://www.w3.org/2005/07/scxml" 
-	conf:datamodel="" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
-<datamodel>
-<data conf:id="1" conf:expr="0"/>
-</datamodel>
-     
- <state id="s0">
-   <onentry>
-   <assign conf:location="1" conf:expr="2"/>
-   <conf:script/>
-   </onentry>
-   <transition conf:idVal="1=1" conf:targetpass=""/>
-   <transition conf:targetfail=""/>
-   </state>
-   
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 18
test/to_adopt/scxml/tests/test304.txml

@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- test that a variable declared by a script can be accessed like any other part of the data model -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel="" 
-	version="1.0" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
- <conf:script/>
-     
- <state id="s0">
-   <transition conf:idVal="1=1" conf:targetpass=""/>
-   <transition conf:targetfail=""/>
-   </state>
-   
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 43
test/to_adopt/scxml/tests/test307.txml

@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><scxml xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel=""
-xmlns:conf="http://www.w3.org/2005/scxml-conformance" version="1.0" initial="s0" binding="late">
-
-<!-- with binding=late, in s0 we access a variable that isn't created until we get to s1.  Then in s1
-we access a non-existent substructure of a variable.  We use log tags to report the values that both operations
-yield, and whether there are errors.  This is a manual test, since the tester must report whether the output
-is the same in the two cases -->
-
-<state id="s0">
-  <onentry>
-    <log label="entering s0 value of Var 1 is: " conf:varExpr="1"/>
-    <raise event="foo"/>
-   </onentry>
-   <transition event="error" target="s1"> 
-     <log label="error in state s0" conf:expr="_event"/>
-     </transition>
-   <transition event="foo" target="s1">
-     <log label="no error in s0" conf:expr=""/>
-     </transition>
-   </state>
-   
-<state id="s1">
-  <datamodel>
-  <data conf:id="1" conf:expr="1"/>
- </datamodel>
- 
-  <onentry>
-   <log label="entering s1, value of non-existent substructure of Var 1 is: " conf:varNonexistentStruct="1"/>
-   <raise event="bar"/>
-   </onentry>
-
-    <transition event="error" target="final"> 
-     <log label="error in state s1" conf:expr="_event"/>
-     </transition>
-   <transition event="bar" target="final">
-     <log label="No error in s1" conf:expr=""/>
-     </transition>
-
-</state>
-    
-<final id="final"/>
-   
-</scxml>

+ 0 - 16
test/to_adopt/scxml/tests/test309.txml

@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- test that an expression that cannot be interpreted as a boolean is treated as false -->
-
-<scxml version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
-
-<state id="s0"> 
-  <transition conf:nonBoolean=""  conf:targetfail=""/>
-  <transition conf:targetpass=""/>
-  </state>
-    
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 23
test/to_adopt/scxml/tests/test310.txml

@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- simple test of the in() predicate -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" conf:datamodel=""
-xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="p">
-
-     
- <parallel id="p">
- 
-   <state id="s0">
-   <transition conf:inState="s1" conf:targetpass=""/> 
-   <transition conf:targetfail=""/>
-   </state>
-
-   <state id="s1"/> 
- </parallel>
-    
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 22
test/to_adopt/scxml/tests/test311.txml

@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- test that assignment to a non-existent location yields an error -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" conf:datamodel=""
-xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
-
-
-<state id="s0">
-  <onentry>
-  	<send event="timeout" delay="1s"/>
-   <assign conf:invalidLocation="" conf:expr="1"/>
-   </onentry>
-   <transition event="error.execution" conf:targetpass=""/> 
-   <transition event=".*" conf:targetfail=""/>
-   </state>
-    
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test312.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- test that assignment with an illegal expr raises an error -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" conf:datamodel=""
-xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
-
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
- </datamodel>
-
-<state id="s0">
-  <onentry>
-   <assign conf:location="1" conf:illegalExpr=""/>
-   <raise event="foo"/>
-   </onentry>
-   <transition event="error.execution" conf:targetpass=""/> 
-   <transition event=".*" conf:targetfail=""/>
-   </state>
-    
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 26
test/to_adopt/scxml/tests/test313.txml

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- this is a manual test. The processor is allowed to reject this doc, but if it executes it with its illegal
-expression, it must raise an error -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" conf:datamodel=""
-xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
-
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
- </datamodel>
-
-<state id="s0">
-  <onentry>
-   <assign conf:location="1" conf:illegalExpr=""/>
-   <raise event="foo"/>
-   </onentry>
-   <transition event="error.execution" conf:targetpass=""/> 
-   <transition event=".*" conf:targetfail=""/>
-   </state>
-    
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 39
test/to_adopt/scxml/tests/test314.txml

@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- this is a manual test because the processor is allowed to reject this document.  But if it executes it,
-it should not raise an error until it gets to s03 and evaluates the illegal expr -->
-
-<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" 
-	conf:datamodel="" xmlns:conf="http://www.w3.org/2005/scxml-conformance" initial="s0">
-<datamodel>
-  <data conf:id="1" conf:expr="1"/>
- </datamodel>
-
-
-<state id="s0" initial="s01">
-  <transition event="error.execution" conf:targetfail=""/>
-  
-   <state id="s01">
-      <transition target="s02"/>
-    </state>
-
-   <state id="s02">
-     <transition target="s03"/>
-   </state>
-
-  <state id="s03">
-    <onentry>
-     <assign conf:location="1" conf:illegalExpr=""/>
-      <raise event="foo"/>
-   </onentry>
-     <transition event="error.execution" conf:targetpass=""/> 
-     <transition event=".*" conf:targetfail=""/>
-  </state>
-   
-</state>
-    
-<conf:pass/>
-<conf:fail/>
-
-   
-</scxml>

+ 0 - 31
test/to_adopt/scxml/tests/test318.txml

@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that _event stays bound during the onexit and entry into the next state -->
-
-<scxml initial="s0" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel=""  name="machineName" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-<datamodel>
- <data conf:id="1"/>
- </datamodel>
-     
- <state id="s0">
-   <onentry>
-     <raise event="foo"/>
-   </onentry>
-   <transition event="foo" target="s1"/> 
-   </state>
-   
- <state id="s1">
-  <onentry>
-    <raise event="bar"/>
-    <!-- _event should still be bound to 'foo' at this point -->
-    <assign conf:location="1" conf:eventName=""/>
-    </onentry>
-   <transition  conf:idQuoteVal="1=foo" conf:targetpass=""/> 
-   <transition conf:targetfail=""/>
-   </state>
-   
-    
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test319.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that _event is not bound before any event has been raised -->
-
-<scxml initial="s0" conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml"
- name="machineName" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-
- <state id="s0">
-   <onentry>
-     <if conf:systemVarIsBound="_event">
-       <raise event="bound"/>
-       <else/>
-         <raise event="unbound"/>
-     </if>
-   </onentry>
-   <transition event="unbound" conf:targetpass=""/>
-   <transition event="bound" conf:targetfail=""/> 
-
-   </state>
-   
-    
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 19
test/to_adopt/scxml/tests/test321.txml

@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that _sessionid is bound on startup -->
-
-<scxml initial="s0" conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml"  name="machineName" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-<datamodel>
-  <data conf:id="1" conf:systemVarExpr="_sessionid"/>
-  </datamodel>
-     
- <state id="s0">
-<transition conf:isBound="1" conf:targetpass=""/> 
-   <transition conf:true="" conf:targetfail=""/>
-   </state>
-   
-    
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 37
test/to_adopt/scxml/tests/test322.txml

@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that _sessionid remains bound to the same value throught the session.  this means that it can't
-be assigned to  -->
-
-<scxml initial="s0" conf:datamodel=""  version="1.0" xmlns="http://www.w3.org/2005/07/scxml" name="machineName" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-<datamodel>
-  <data conf:id="1" conf:systemVarExpr="_sessionid"/>
-  <data conf:id="2"/>
-  </datamodel>
-     
- <state id="s0">
-   <transition  target="s1"/>
-
-   </state>
-   
- <state id="s1">
-   <onentry>
-    <assign conf:systemVarLocation="_sessionid" conf:quoteExpr="otherName"/>
-    <raise event="foo"/>
-    </onentry>
- 
-   <transition event="error.execution" target="s2"/>
-   <transition event="*" conf:targetfail=""/>
-   </state>
-   
- <state id="s2">
- 
-   <transition conf:idSystemVarVal="1=_sessionid" conf:targetpass=""/>
-   <transition conf:targetfail=""/>
-   </state>  
-   
-   
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 19
test/to_adopt/scxml/tests/test323.txml

@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that _name is bound on startup -->
-
-<scxml initial="s0" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel=""  name="machineName" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-<datamodel>
-  <data conf:id="1" conf:systemVarExpr="_name"/>
-  </datamodel>
-     
- <state id="s0">
-<transition conf:isBound="1" conf:targetpass=""/> 
-   <transition conf:true="" conf:targetfail=""/>
-   </state>
-   
-    
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 25
test/to_adopt/scxml/tests/test324.txml

@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- test that _name stays bound till the session ends.  This means that it cannot be assigned to -->
-
-<scxml initial="s0" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" conf:datamodel=""  name="machineName" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
-
-     
- <state id="s0">
-   <transition conf:nameVarVal="machineName" target="s1"/>
-    <transition conf:targetfail=""/>
-   </state>
-   
- <state id="s1">
-   <onentry>
-    <assign conf:systemVarLocation="_name" expr="'otherName'"/>
-    </onentry>
-   <transition conf:nameVarVal="machineName" conf:targetpass=""/>
-   <transition conf:targetfail=""/>
-   </state>  
-   
-   
-   <conf:pass/>
-   <conf:fail/>
-     
-</scxml>

+ 0 - 0
test/to_adopt/scxml/tests/test325.txml


部分文件因为文件数量过多而无法显示