summaryrefslogtreecommitdiffstats
path: root/test/schema/scxml-attribs.xsd
blob: 98aff4c675a2d727fbbfc56d8518283e4b686e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?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>