diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-25 01:41:49 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-25 01:41:49 (GMT) |
commit | 32921490d0d7dc0a2e0828e6f1051e74d27550cf (patch) | |
tree | fe0a816013ddfb2c4d8b2fa885a6b56c61e670f8 /test/schema/scxml.xsd | |
parent | 3be96d1aa3024c1acc129e587f5d3165c9434e48 (diff) | |
download | uscxml-32921490d0d7dc0a2e0828e6f1051e74d27550cf.zip uscxml-32921490d0d7dc0a2e0828e6f1051e74d27550cf.tar.gz uscxml-32921490d0d7dc0a2e0828e6f1051e74d27550cf.tar.bz2 |
Started to resolve scxml-test-framework tests from SCION suite
Diffstat (limited to 'test/schema/scxml.xsd')
-rw-r--r-- | test/schema/scxml.xsd | 138 |
1 files changed, 25 insertions, 113 deletions
diff --git a/test/schema/scxml.xsd b/test/schema/scxml.xsd index ebc0654..000a909 100644 --- a/test/schema/scxml.xsd +++ b/test/schema/scxml.xsd @@ -45,132 +45,44 @@ </xsd:annotation> </xsd:import> - <xsd:include schemaLocation="scxml-attribs.xsd"> +<xsd:include schemaLocation="scxml-module-core.xsd"> <xsd:annotation> <xsd:documentation> - This includes brings in the common attributes for SCXML. - </xsd:documentation> - </xsd:annotation> - </xsd:include> - - <xsd:include schemaLocation="scxml-contentmodels.xsd"> - <xsd:annotation> - <xsd:documentation> - This includes the common content models. - </xsd:documentation> - </xsd:annotation> - </xsd:include> - - <xsd:include schemaLocation="scxml-datatypes.xsd"> - <xsd:annotation> - <xsd:documentation> - This includes brings in the common data types for SCXML. - </xsd:documentation> + This imports the core elements for SCXML. + </xsd:documentation> </xsd:annotation> </xsd:include> - - <xsd:redefine schemaLocation="scxml-module-data.xsd"> + + <xsd:include schemaLocation="scxml-module-data.xsd"> <xsd:annotation> <xsd:documentation> - This imports the data module for SCXML and redefines the following. - [1] Redefines assign attribute group to allow type and attr - </xsd:documentation> - </xsd:annotation> - <xsd:attributeGroup name="scxml.assign.attlist"> - <xsd:attributeGroup ref="scxml.assign.attlist"/> - <xsd:attribute name="type" type="AssignType.datatype" default="replacechildren"/> - <xsd:attribute name="attr" type="xsd:NMTOKEN"/> - </xsd:attributeGroup> - </xsd:redefine> - - <xsd:include schemaLocation="scxml-module-script.xsd"> - <xsd:annotation> - <xsd:documentation> - This includes the script module for SCXML. + This imports the data modelelements for SCXML. </xsd:documentation> </xsd:annotation> </xsd:include> - <xsd:redefine schemaLocation="scxml-module-external.xsd"> + <xsd:include schemaLocation="scxml-module-external.xsd"> <xsd:annotation> <xsd:documentation> - This imports the external module for SCXML and redefines the following. - [1] Redefines send and invoke mix group to allow - param - [2] Redefines finalize mix group to allow: - executable content + This imports the external communications elements for SCXML. </xsd:documentation> </xsd:annotation> - <xsd:group name="scxml.send.mix"> - <xsd:choice> - <xsd:group ref="scxml.send.mix"/> - <xsd:element ref="param" minOccurs="0" maxOccurs="unbounded"/> - </xsd:choice> - </xsd:group> - <xsd:group name="scxml.invoke.mix"> - <xsd:choice> - <xsd:group ref="scxml.invoke.mix"/> - <xsd:element ref="param" minOccurs="0" maxOccurs="unbounded"/> - </xsd:choice> - </xsd:group> - <xsd:group name="scxml.finalize.mix"> - <xsd:choice> - <xsd:group ref="scxml.finalize.mix"/> - <xsd:group ref="scxml.core.executablecontent"/> - </xsd:choice> - </xsd:group> - </xsd:redefine> - - <xsd:redefine schemaLocation="scxml-module-core.xsd"> - <xsd:annotation> - <xsd:documentation> - This imports the core module for SCXML and redefines the following. - [1] Redefines executable content to allow - send, assign, validate, cancel and script elements - [2] Redefines state and parallel mix group to allow - invoke and datamodel - [3] Redefines scxml group to allow - datamodel and script - </xsd:documentation> - </xsd:annotation> - <xsd:group name="scxml.core.executablecontent"> - <xsd:choice> - <xsd:group ref="scxml.core.executablecontent"/> - <xsd:element ref="send"/> - <xsd:element ref="assign"/> - <xsd:element ref="script"/> - <xsd:element ref="validate"/> - <xsd:element ref="cancel"/> - </xsd:choice> - </xsd:group> - <xsd:group name="scxml.scxml.mix"> - <xsd:choice> - <xsd:group ref="scxml.scxml.mix"/> - <xsd:element ref="datamodel" minOccurs="0" maxOccurs="unbounded"/> - <xsd:element ref="script" minOccurs="0" maxOccurs="unbounded"/> - </xsd:choice> - </xsd:group> - <xsd:group name="scxml.state.mix"> - <xsd:choice> - <xsd:group ref="scxml.state.mix"/> - <xsd:element ref="datamodel" minOccurs="0" maxOccurs="unbounded"/> - <xsd:element ref="invoke" minOccurs="0" maxOccurs="unbounded"/> - </xsd:choice> - </xsd:group> - <xsd:group name="scxml.parallel.mix"> - <xsd:choice> - <xsd:group ref="scxml.parallel.mix"/> - <xsd:element ref="datamodel" minOccurs="0" maxOccurs="unbounded"/> - <xsd:element ref="invoke" minOccurs="0" maxOccurs="unbounded"/> - </xsd:choice> - </xsd:group> - <xsd:group name="scxml.donedata.content"> - <xsd:choice> - <xsd:group ref="scxml.donedata.content"/> - <xsd:element ref="param" minOccurs="0" maxOccurs="unbounded"/> - </xsd:choice> - </xsd:group> - - </xsd:redefine> + </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> |