Update of /cvsroot/xpg-xml/edu/iicm/xpg
In directory usw-pr-cvs1:/tmp/cvs-serv28883
Added Files:
StateMachineConfig.xsd
Log Message:
new Schema for the Statemachine config file
--- NEW FILE: StateMachineConfig.xsd ---
<?xml version="1.0" standalone="no"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation xml:lang="en">
StateMachineConfig.xsd Version 0.1.0
Schema describing the representation of the ConfigStatemachine
This schema was validated with the tool http://www.w3.org/2001/03/webdata/xsv
(04.3.2002)
</xsd:documentation>
</xsd:annotation>
<!-- attention: all names must be adapted to the following nameing convention
type names : AllWordsCapitalizedWithoutUnderscores
element names : alllowercasewithoutunderscores
-->
<xsd:element name="statemachine">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="path" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element name="states" type="States" minOccurs="1" maxOccurs="1"/>
<xsd:element name="transitions" type="Transitions" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="States">
<xsd:sequence>
<xsd:element name="startstate" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="state" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Transitions">
<xsd:sequence>
<xsd:element name="transition" type="Transition" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Transition">
<xsd:sequence>
<xsd:element name="beginstate" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="nextstate" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="element" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="type" type="ElementAttributes" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="classname" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ElementAttributes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="start"/>
<xsd:enumeration value="end"/>
<xsd:enumeration value="enddoc"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
|