Statistics
| Revision:

root / trunk / libraries / libGPE-GML / testdata / schemas / 3.1.1 / smil / smil20.xsd @ 11160

History | View | Annotate | Download (9.38 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- 
3
=================== OpenGIS ============================  
4
	This schema is here because there are errors in publicly available smil schemas at w3c site.
5
	One is acknowledged by w3c - it is typographical error described in SMIL errata document at:
6
 	http://www.w3.org/2001/07/REC-SMIL20-20010731-errata
7
 	under:
8
	E30: Correction in the SMIL 2.0 utility Schema, section B.3.48 (revised 29 03 2002)
9
	Others (at least one) are assumed after failed validation using Visual Studio .NET.
10
	These smil schemas are reorganized to include in minimum number of files all and only definitions required by
11
	defaultStyle.xsd. It was done to enable the validation of GML3.0 schemas.
12
	When w3c fixes the public schemas these will be discarded 
13
	comment: Milan Trninic, Galdos Systems Inc., May 2002
14
	
15
	comment#2: Milan Trninic, Galdos Systems Inc., Dec 2002
16
	In order to validate with xerces, changed the "x:" prefix to "xml:" in the namespace declaration and reference to "lang" attribute
17
=================== OpenGIS ============================ 
18
-->
19
<!--
20
XML Schema for the SMIL 2.0 modules
21

    
22
This is SMIL 2.0
23
Copyright: 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
24
See http://www.w3.org/Consortium/Legal/.
25

    
26
Public URI: http://www.w3.org/2001/SMIL20/smil20.xsd
27
Author: Aaron Michael Cohen (Intel)
28
Revision: 2001/07/31
29
-->
30
<schema targetNamespace="http://www.w3.org/2001/SMIL20/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:smil20="http://www.w3.org/2001/SMIL20/" xmlns:smil20lang="http://www.w3.org/2001/SMIL20/Language" elementFormDefault="qualified">
31
	<import namespace="http://www.w3.org/2001/SMIL20/Language" schemaLocation="smil20-language.xsd"/>
32
	<!-- ============================================================= 
33
	struct.xsd
34
	============================================================== -->
35
	<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml-mod.xsd"/>
36
	<attributeGroup name="structureModuleAttrs">
37
		<attribute name="id" type="ID" use="optional"/>
38
		<attribute name="class" type="string" use="optional"/>
39
		<attribute ref="xml:lang" use="optional"/>
40
	</attributeGroup>
41
	<!-- ============================================================= 
42
	content.xsd
43
	============================================================== -->
44
	<attributeGroup name="skipContentAttrs">
45
		<attribute name="skip-content" type="boolean" use="optional" default="true"/>
46
	</attributeGroup>
47
	<!-- ============================================================= 
48
	media.xsd
49
	============================================================== -->
50
	<attributeGroup name="alternateContentAttrs">
51
		<attribute name="alt" type="string" use="optional"/>
52
		<attribute name="longdesc" type="anyURI" use="optional"/>
53
	</attributeGroup>
54
	<!-- ============================================================= 
55
	utility.xsd
56
	============================================================== -->
57
	<simpleType name="nonNegativeDecimalType">
58
		<restriction base="decimal">
59
			<minInclusive value="0.0"/>
60
		</restriction>
61
	</simpleType>
62
	<!-- ============================================================= 
63
	animate.xsd
64
	============================================================== -->
65
	<element name="animate" type="smil20lang:animateType" substitutionGroup="smil20lang:animate"/>
66
	<complexType name="animatePrototype">
67
		<attributeGroup ref="smil20:animNamedTargetAttrs"/>
68
		<attributeGroup ref="smil20:animAddAccumAttrs"/>
69
		<attributeGroup ref="smil20:animValuesAttrs"/>
70
	</complexType>
71
	<attributeGroup name="animNamedTargetAttrs">
72
		<attribute name="attributeName" type="string" use="required"/>
73
		<attribute name="attributeType" use="optional" default="auto">
74
			<simpleType>
75
				<restriction base="string">
76
					<enumeration value="XML"/>
77
					<enumeration value="CSS"/>
78
					<enumeration value="auto"/>
79
				</restriction>
80
			</simpleType>
81
		</attribute>
82
	</attributeGroup>
83
	<attributeGroup name="animAddAccumAttrs">
84
		<attribute name="additive" use="optional" default="replace">
85
			<simpleType>
86
				<restriction base="string">
87
					<enumeration value="replace"/>
88
					<enumeration value="sum"/>
89
				</restriction>
90
			</simpleType>
91
		</attribute>
92
		<attribute name="accumulate" use="optional" default="none">
93
			<simpleType>
94
				<restriction base="string">
95
					<enumeration value="none"/>
96
					<enumeration value="sum"/>
97
				</restriction>
98
			</simpleType>
99
		</attribute>
100
	</attributeGroup>
101
	<attributeGroup name="animValuesAttrs">
102
		<attributeGroup ref="smil20:animSetValuesAttrs"/>
103
		<attribute name="from" type="string" use="optional"/>
104
		<attribute name="by" type="string" use="optional"/>
105
		<attribute name="values" type="string" use="optional"/>
106
	</attributeGroup>
107
	<attributeGroup name="animSetValuesAttrs">
108
		<attribute name="to" type="string" use="optional"/>
109
	</attributeGroup>
110
	<attributeGroup name="animTargetAttrs">
111
		<attribute name="targetElement" type="IDREF" use="optional"/>
112
	</attributeGroup>
113
	<attributeGroup name="animModeAttrs">
114
		<attribute name="calcMode" use="optional" default="linear">
115
			<simpleType>
116
				<restriction base="string">
117
					<enumeration value="discrete"/>
118
					<enumeration value="linear"/>
119
					<enumeration value="paced"/>
120
				</restriction>
121
			</simpleType>
122
		</attribute>
123
	</attributeGroup>
124
	<element name="animateMotion" type="smil20lang:animateMotionType" substitutionGroup="smil20lang:animateMotion"/>
125
	<complexType name="animateMotionPrototype">
126
		<attributeGroup ref="smil20:animAddAccumAttrs"/>
127
		<attributeGroup ref="smil20:animValuesAttrs"/>
128
		<attribute name="origin" type="string" use="optional"/>
129
	</complexType>
130
	<element name="animateColor" type="smil20lang:animateColorType" substitutionGroup="smil20lang:animateColor"/>
131
	<complexType name="animateColorPrototype">
132
		<attributeGroup ref="smil20:animNamedTargetAttrs"/>
133
		<attributeGroup ref="smil20:animAddAccumAttrs"/>
134
		<attributeGroup ref="smil20:animValuesAttrs"/>
135
	</complexType>
136
	<element name="set" type="smil20lang:setType" substitutionGroup="smil20lang:set"/>
137
	<complexType name="setPrototype">
138
		<attributeGroup ref="smil20:animNamedTargetAttrs"/>
139
		<attributeGroup ref="smil20:animSetValuesAttrs"/>
140
	</complexType>
141
	<!-- ============================================================= 
142
	timing.xsd
143
	============================================================== -->
144
	<attributeGroup name="syncBehaviorAttrs">
145
		<attribute name="syncBehavior" type="smil20:syncBehaviorType" default="default"/>
146
		<attribute name="syncTolerance" type="string" use="optional"/>
147
	</attributeGroup>
148
	<simpleType name="syncBehaviorType">
149
		<restriction base="string">
150
			<enumeration value="canSlip"/>
151
			<enumeration value="locked"/>
152
			<enumeration value="independent"/>
153
			<enumeration value="default"/>
154
		</restriction>
155
	</simpleType>
156
	<attributeGroup name="syncBehaviorDefaultAttrs">
157
		<attribute name="syncBehaviorDefault" type="smil20:syncBehaviorDefaultType" default="inherit"/>
158
		<attribute name="syncToleranceDefault" type="string" default="inherit"/>
159
	</attributeGroup>
160
	<simpleType name="syncBehaviorDefaultType">
161
		<restriction base="string">
162
			<enumeration value="canSlip"/>
163
			<enumeration value="locked"/>
164
			<enumeration value="independent"/>
165
			<enumeration value="inherit"/>
166
		</restriction>
167
	</simpleType>
168
	<attributeGroup name="restartTimingAttrs">
169
		<attribute name="restart" type="smil20:restartTimingType" default="default"/>
170
	</attributeGroup>
171
	<simpleType name="restartTimingType">
172
		<restriction base="string">
173
			<enumeration value="never"/>
174
			<enumeration value="always"/>
175
			<enumeration value="whenNotActive"/>
176
			<enumeration value="default"/>
177
		</restriction>
178
	</simpleType>
179
	<attributeGroup name="restartDefaultAttrs">
180
		<attribute name="restartDefault" type="smil20:restartDefaultType" default="inherit"/>
181
	</attributeGroup>
182
	<simpleType name="restartDefaultType">
183
		<restriction base="string">
184
			<enumeration value="never"/>
185
			<enumeration value="always"/>
186
			<enumeration value="whenNotActive"/>
187
			<enumeration value="inherit"/>
188
		</restriction>
189
	</simpleType>
190
	<attributeGroup name="fillTimingAttrs">
191
		<attribute name="fill" type="smil20:fillTimingAttrsType" default="default"/>
192
	</attributeGroup>
193
	<simpleType name="fillTimingAttrsType">
194
		<restriction base="string">
195
			<enumeration value="remove"/>
196
			<enumeration value="freeze"/>
197
			<enumeration value="hold"/>
198
			<enumeration value="auto"/>
199
			<enumeration value="default"/>
200
			<enumeration value="transition"/>
201
		</restriction>
202
	</simpleType>
203
	<attributeGroup name="fillDefaultAttrs">
204
		<attribute name="fillDefault" type="smil20:fillDefaultType" default="inherit"/>
205
	</attributeGroup>
206
	<simpleType name="fillDefaultType">
207
		<restriction base="string">
208
			<enumeration value="remove"/>
209
			<enumeration value="freeze"/>
210
			<enumeration value="hold"/>
211
			<enumeration value="auto"/>
212
			<enumeration value="inherit"/>
213
			<enumeration value="transition"/>
214
		</restriction>
215
	</simpleType>
216
	<attributeGroup name="beginEndTimingAttrs">
217
		<attribute name="begin" type="string"/>
218
		<attribute name="end" type="string"/>
219
	</attributeGroup>
220
	<attributeGroup name="durTimingAttrs">
221
		<attribute name="dur" type="string"/>
222
	</attributeGroup>
223
	<attributeGroup name="repeatTimingAttrs">
224
		<attribute name="repeatDur" type="string"/>
225
		<attribute name="repeatCount" type="smil20:nonNegativeDecimalType"/>
226
	</attributeGroup>
227
	<attributeGroup name="deprecatedRepeatTiming">
228
		<attribute name="repeat" type="nonNegativeInteger"/>
229
	</attributeGroup>
230
	<attributeGroup name="minMaxTimingAttrs">
231
		<attribute name="min" type="string"/>
232
		<attribute name="max" type="string"/>
233
	</attributeGroup>
234
</schema>