rgen-xsd 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/MIT-LICENSE +21 -0
- data/README +16 -0
- data/Rakefile +45 -0
- data/lib/rgen/xsd/1.0/datatypes.xml +1117 -0
- data/lib/rgen/xsd/1.0/metamodel.rb +413 -0
- data/lib/rgen/xsd/1.0/rakefile +3 -0
- data/lib/rgen/xsd/1.0/readme.txt +6 -0
- data/lib/rgen/xsd/1.0/structures.xml +1235 -0
- data/lib/rgen/xsd/1.1/datatypes.xml +491 -0
- data/lib/rgen/xsd/1.1/metamodel.rb +488 -0
- data/lib/rgen/xsd/1.1/rakefile +3 -0
- data/lib/rgen/xsd/1.1/readme.txt +6 -0
- data/lib/rgen/xsd/1.1/structures.xml +1479 -0
- data/lib/rgen/xsd/metamodel_generator.rb +110 -0
- data/lib/rgen/xsd/metamodel_modification_helper.rb +41 -0
- data/lib/rgen/xsd/particle.rb +169 -0
- data/lib/rgen/xsd/simple_type.rb +87 -0
- data/lib/rgen/xsd/xml/readme.txt +6 -0
- data/lib/rgen/xsd/xml/xml.xsd +145 -0
- data/lib/rgen/xsd/xml_schema_metamodel_ext.rb +54 -0
- data/lib/rgen/xsd/xsd_instantiator.rb +83 -0
- data/lib/rgen/xsd/xsd_to_ecore.rb +325 -0
- data/lib/rgen/xsd/xsi_instantiator.rb +230 -0
- metadata +87 -0
@@ -0,0 +1,491 @@
|
|
1
|
+
<?xml version='1.0'?>
|
2
|
+
<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XSD 1.1//EN" "XMLSchema.dtd" [
|
3
|
+
|
4
|
+
<!--
|
5
|
+
Make sure that processors that do not read the external
|
6
|
+
subset will know about the various IDs we declare
|
7
|
+
-->
|
8
|
+
<!ATTLIST xs:simpleType id ID #IMPLIED>
|
9
|
+
<!ATTLIST xs:maxExclusive id ID #IMPLIED>
|
10
|
+
<!ATTLIST xs:minExclusive id ID #IMPLIED>
|
11
|
+
<!ATTLIST xs:maxInclusive id ID #IMPLIED>
|
12
|
+
<!ATTLIST xs:minInclusive id ID #IMPLIED>
|
13
|
+
<!ATTLIST xs:totalDigits id ID #IMPLIED>
|
14
|
+
<!ATTLIST xs:fractionDigits id ID #IMPLIED>
|
15
|
+
<!ATTLIST xs:length id ID #IMPLIED>
|
16
|
+
<!ATTLIST xs:minLength id ID #IMPLIED>
|
17
|
+
<!ATTLIST xs:maxLength id ID #IMPLIED>
|
18
|
+
<!ATTLIST xs:enumeration id ID #IMPLIED>
|
19
|
+
<!ATTLIST xs:pattern id ID #IMPLIED>
|
20
|
+
<!ATTLIST xs:assertion id ID #IMPLIED>
|
21
|
+
<!ATTLIST xs:explicitTimezone id ID #IMPLIED>
|
22
|
+
<!ATTLIST xs:appinfo id ID #IMPLIED>
|
23
|
+
<!ATTLIST xs:documentation id ID #IMPLIED>
|
24
|
+
<!ATTLIST xs:list id ID #IMPLIED>
|
25
|
+
<!ATTLIST xs:union id ID #IMPLIED>
|
26
|
+
]>
|
27
|
+
|
28
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
29
|
+
elementFormDefault="qualified"
|
30
|
+
xml:lang="en"
|
31
|
+
targetNamespace="http://www.w3.org/2001/XMLSchema"
|
32
|
+
version="datatypes.xsd (rec-20120405)">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation source="../datatypes/datatypes.html">
|
35
|
+
The schema corresponding to this document is normative,
|
36
|
+
with respect to the syntactic constraints it expresses in the
|
37
|
+
XML Schema language. The documentation (within 'documentation'
|
38
|
+
elements) below, is not normative, but rather highlights important
|
39
|
+
aspects of the W3C Recommendation of which this is a part.
|
40
|
+
|
41
|
+
See below (at the bottom of this document) for information about
|
42
|
+
the revision and namespace-versioning policy governing this
|
43
|
+
schema document.
|
44
|
+
</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
|
47
|
+
|
48
|
+
<xs:simpleType name="derivationControl">
|
49
|
+
<xs:annotation>
|
50
|
+
<xs:documentation>
|
51
|
+
A utility type, not for public use</xs:documentation>
|
52
|
+
</xs:annotation>
|
53
|
+
<xs:restriction base="xs:NMTOKEN">
|
54
|
+
<xs:enumeration value="substitution"/>
|
55
|
+
<xs:enumeration value="extension"/>
|
56
|
+
<xs:enumeration value="restriction"/>
|
57
|
+
<xs:enumeration value="list"/>
|
58
|
+
<xs:enumeration value="union"/>
|
59
|
+
</xs:restriction>
|
60
|
+
</xs:simpleType>
|
61
|
+
<xs:group name="simpleDerivation">
|
62
|
+
<xs:choice>
|
63
|
+
<xs:element ref="xs:restriction"/>
|
64
|
+
<xs:element ref="xs:list"/>
|
65
|
+
<xs:element ref="xs:union"/>
|
66
|
+
</xs:choice>
|
67
|
+
</xs:group>
|
68
|
+
<xs:simpleType name="simpleDerivationSet">
|
69
|
+
<xs:annotation>
|
70
|
+
<xs:documentation>
|
71
|
+
#all or (possibly empty) subset of {restriction, extension, union, list}
|
72
|
+
</xs:documentation>
|
73
|
+
<xs:documentation>
|
74
|
+
A utility type, not for public use</xs:documentation>
|
75
|
+
</xs:annotation>
|
76
|
+
<xs:union>
|
77
|
+
<xs:simpleType>
|
78
|
+
<xs:restriction base="xs:token">
|
79
|
+
<xs:enumeration value="#all"/>
|
80
|
+
</xs:restriction>
|
81
|
+
</xs:simpleType>
|
82
|
+
<xs:simpleType>
|
83
|
+
<xs:list>
|
84
|
+
<xs:simpleType>
|
85
|
+
<xs:restriction base="xs:derivationControl">
|
86
|
+
<xs:enumeration value="list"/>
|
87
|
+
<xs:enumeration value="union"/>
|
88
|
+
<xs:enumeration value="restriction"/>
|
89
|
+
<xs:enumeration value="extension"/>
|
90
|
+
</xs:restriction>
|
91
|
+
</xs:simpleType>
|
92
|
+
</xs:list>
|
93
|
+
</xs:simpleType>
|
94
|
+
</xs:union>
|
95
|
+
</xs:simpleType>
|
96
|
+
<xs:complexType name="simpleType" abstract="true">
|
97
|
+
<xs:complexContent>
|
98
|
+
<xs:extension base="xs:annotated">
|
99
|
+
<xs:group ref="xs:simpleDerivation"/>
|
100
|
+
<xs:attribute name="final" type="xs:simpleDerivationSet"/>
|
101
|
+
<xs:attribute name="name" type="xs:NCName">
|
102
|
+
<xs:annotation>
|
103
|
+
<xs:documentation>
|
104
|
+
Can be restricted to required or forbidden
|
105
|
+
</xs:documentation>
|
106
|
+
</xs:annotation>
|
107
|
+
</xs:attribute>
|
108
|
+
</xs:extension>
|
109
|
+
</xs:complexContent>
|
110
|
+
</xs:complexType>
|
111
|
+
<xs:complexType name="topLevelSimpleType">
|
112
|
+
<xs:complexContent>
|
113
|
+
<xs:restriction base="xs:simpleType">
|
114
|
+
<xs:sequence>
|
115
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
116
|
+
<xs:group ref="xs:simpleDerivation"/>
|
117
|
+
</xs:sequence>
|
118
|
+
<xs:attribute name="name" type="xs:NCName" use="required">
|
119
|
+
<xs:annotation>
|
120
|
+
<xs:documentation>
|
121
|
+
Required at the top level
|
122
|
+
</xs:documentation>
|
123
|
+
</xs:annotation>
|
124
|
+
</xs:attribute>
|
125
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
126
|
+
</xs:restriction>
|
127
|
+
</xs:complexContent>
|
128
|
+
</xs:complexType>
|
129
|
+
<xs:complexType name="localSimpleType">
|
130
|
+
<xs:complexContent>
|
131
|
+
<xs:restriction base="xs:simpleType">
|
132
|
+
<xs:sequence>
|
133
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
134
|
+
<xs:group ref="xs:simpleDerivation"/>
|
135
|
+
</xs:sequence>
|
136
|
+
<xs:attribute name="name" use="prohibited">
|
137
|
+
<xs:annotation>
|
138
|
+
<xs:documentation>
|
139
|
+
Forbidden when nested
|
140
|
+
</xs:documentation>
|
141
|
+
</xs:annotation>
|
142
|
+
</xs:attribute>
|
143
|
+
<xs:attribute name="final" use="prohibited"/>
|
144
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
145
|
+
</xs:restriction>
|
146
|
+
</xs:complexContent>
|
147
|
+
</xs:complexType>
|
148
|
+
<xs:element name="simpleType" type="xs:topLevelSimpleType" id="simpleType">
|
149
|
+
<xs:annotation>
|
150
|
+
<xs:documentation
|
151
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-simpleType"/>
|
152
|
+
</xs:annotation>
|
153
|
+
</xs:element>
|
154
|
+
<xs:element name="facet" abstract="true">
|
155
|
+
<xs:annotation>
|
156
|
+
<xs:documentation>
|
157
|
+
An abstract element, representing facets in general.
|
158
|
+
The facets defined by this spec are substitutable for
|
159
|
+
this element, and implementation-defined facets should
|
160
|
+
also name this as a substitution-group head.
|
161
|
+
</xs:documentation>
|
162
|
+
</xs:annotation>
|
163
|
+
</xs:element>
|
164
|
+
<xs:group name="simpleRestrictionModel">
|
165
|
+
<xs:sequence>
|
166
|
+
<xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
|
167
|
+
<xs:choice minOccurs="0"
|
168
|
+
maxOccurs="unbounded">
|
169
|
+
<xs:element ref="xs:facet"/>
|
170
|
+
<xs:any processContents="lax"
|
171
|
+
namespace="##other"/>
|
172
|
+
</xs:choice>
|
173
|
+
</xs:sequence>
|
174
|
+
</xs:group>
|
175
|
+
<xs:element name="restriction" id="restriction">
|
176
|
+
<xs:complexType>
|
177
|
+
<xs:annotation>
|
178
|
+
<xs:documentation
|
179
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-restriction">
|
180
|
+
base attribute and simpleType child are mutually
|
181
|
+
exclusive, but one or other is required
|
182
|
+
</xs:documentation>
|
183
|
+
</xs:annotation>
|
184
|
+
<xs:complexContent>
|
185
|
+
<xs:extension base="xs:annotated">
|
186
|
+
<xs:group ref="xs:simpleRestrictionModel"/>
|
187
|
+
<xs:attribute name="base" type="xs:QName" use="optional"/>
|
188
|
+
</xs:extension>
|
189
|
+
</xs:complexContent>
|
190
|
+
</xs:complexType>
|
191
|
+
</xs:element>
|
192
|
+
<xs:element name="list" id="list">
|
193
|
+
<xs:complexType>
|
194
|
+
<xs:annotation>
|
195
|
+
<xs:documentation
|
196
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-list">
|
197
|
+
itemType attribute and simpleType child are mutually
|
198
|
+
exclusive, but one or other is required
|
199
|
+
</xs:documentation>
|
200
|
+
</xs:annotation>
|
201
|
+
<xs:complexContent>
|
202
|
+
<xs:extension base="xs:annotated">
|
203
|
+
<xs:sequence>
|
204
|
+
<xs:element name="simpleType" type="xs:localSimpleType"
|
205
|
+
minOccurs="0"/>
|
206
|
+
</xs:sequence>
|
207
|
+
<xs:attribute name="itemType" type="xs:QName" use="optional"/>
|
208
|
+
</xs:extension>
|
209
|
+
</xs:complexContent>
|
210
|
+
</xs:complexType>
|
211
|
+
</xs:element>
|
212
|
+
<xs:element name="union" id="union">
|
213
|
+
<xs:complexType>
|
214
|
+
<xs:annotation>
|
215
|
+
<xs:documentation
|
216
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-union">
|
217
|
+
memberTypes attribute must be non-empty or there must be
|
218
|
+
at least one simpleType child
|
219
|
+
</xs:documentation>
|
220
|
+
</xs:annotation>
|
221
|
+
<xs:complexContent>
|
222
|
+
<xs:extension base="xs:annotated">
|
223
|
+
<xs:sequence>
|
224
|
+
<xs:element name="simpleType" type="xs:localSimpleType"
|
225
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
226
|
+
</xs:sequence>
|
227
|
+
<xs:attribute name="memberTypes" use="optional">
|
228
|
+
<xs:simpleType>
|
229
|
+
<xs:list itemType="xs:QName"/>
|
230
|
+
</xs:simpleType>
|
231
|
+
</xs:attribute>
|
232
|
+
</xs:extension>
|
233
|
+
</xs:complexContent>
|
234
|
+
</xs:complexType>
|
235
|
+
</xs:element>
|
236
|
+
<xs:complexType name="facet">
|
237
|
+
<xs:complexContent>
|
238
|
+
<xs:extension base="xs:annotated">
|
239
|
+
<xs:attribute name="value" use="required"/>
|
240
|
+
<xs:attribute name="fixed" type="xs:boolean" default="false"
|
241
|
+
use="optional"/>
|
242
|
+
</xs:extension>
|
243
|
+
</xs:complexContent>
|
244
|
+
</xs:complexType>
|
245
|
+
<xs:complexType name="noFixedFacet">
|
246
|
+
<xs:complexContent>
|
247
|
+
<xs:restriction base="xs:facet">
|
248
|
+
<xs:sequence>
|
249
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
250
|
+
</xs:sequence>
|
251
|
+
<xs:attribute name="fixed" use="prohibited"/>
|
252
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
253
|
+
</xs:restriction>
|
254
|
+
</xs:complexContent>
|
255
|
+
</xs:complexType>
|
256
|
+
<xs:element name="minExclusive" type="xs:facet"
|
257
|
+
id="minExclusive"
|
258
|
+
substitutionGroup="xs:facet">
|
259
|
+
<xs:annotation>
|
260
|
+
<xs:documentation
|
261
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-minExclusive"/>
|
262
|
+
</xs:annotation>
|
263
|
+
</xs:element>
|
264
|
+
<xs:element name="minInclusive" type="xs:facet"
|
265
|
+
id="minInclusive"
|
266
|
+
substitutionGroup="xs:facet">
|
267
|
+
<xs:annotation>
|
268
|
+
<xs:documentation
|
269
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-minInclusive"/>
|
270
|
+
</xs:annotation>
|
271
|
+
</xs:element>
|
272
|
+
<xs:element name="maxExclusive" type="xs:facet"
|
273
|
+
id="maxExclusive"
|
274
|
+
substitutionGroup="xs:facet">
|
275
|
+
<xs:annotation>
|
276
|
+
<xs:documentation
|
277
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-maxExclusive"/>
|
278
|
+
</xs:annotation>
|
279
|
+
</xs:element>
|
280
|
+
<xs:element name="maxInclusive" type="xs:facet"
|
281
|
+
id="maxInclusive"
|
282
|
+
substitutionGroup="xs:facet">
|
283
|
+
<xs:annotation>
|
284
|
+
<xs:documentation
|
285
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-maxInclusive"/>
|
286
|
+
</xs:annotation>
|
287
|
+
</xs:element>
|
288
|
+
<xs:complexType name="numFacet">
|
289
|
+
<xs:complexContent>
|
290
|
+
<xs:restriction base="xs:facet">
|
291
|
+
<xs:sequence>
|
292
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
293
|
+
</xs:sequence>
|
294
|
+
<xs:attribute name="value"
|
295
|
+
type="xs:nonNegativeInteger" use="required"/>
|
296
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
297
|
+
</xs:restriction>
|
298
|
+
</xs:complexContent>
|
299
|
+
</xs:complexType>
|
300
|
+
|
301
|
+
<xs:complexType name="intFacet">
|
302
|
+
<xs:complexContent>
|
303
|
+
<xs:restriction base="xs:facet">
|
304
|
+
<xs:sequence>
|
305
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
306
|
+
</xs:sequence>
|
307
|
+
<xs:attribute name="value" type="xs:integer" use="required"/>
|
308
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
309
|
+
</xs:restriction>
|
310
|
+
</xs:complexContent>
|
311
|
+
</xs:complexType>
|
312
|
+
|
313
|
+
<xs:element name="totalDigits" id="totalDigits"
|
314
|
+
substitutionGroup="xs:facet">
|
315
|
+
<xs:annotation>
|
316
|
+
<xs:documentation
|
317
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-totalDigits"/>
|
318
|
+
</xs:annotation>
|
319
|
+
<xs:complexType>
|
320
|
+
<xs:complexContent>
|
321
|
+
<xs:restriction base="xs:numFacet">
|
322
|
+
<xs:sequence>
|
323
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
324
|
+
</xs:sequence>
|
325
|
+
<xs:attribute name="value" type="xs:positiveInteger" use="required"/>
|
326
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
327
|
+
</xs:restriction>
|
328
|
+
</xs:complexContent>
|
329
|
+
</xs:complexType>
|
330
|
+
</xs:element>
|
331
|
+
<xs:element name="fractionDigits" type="xs:numFacet"
|
332
|
+
id="fractionDigits"
|
333
|
+
substitutionGroup="xs:facet">
|
334
|
+
<xs:annotation>
|
335
|
+
<xs:documentation
|
336
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-fractionDigits"/>
|
337
|
+
</xs:annotation>
|
338
|
+
</xs:element>
|
339
|
+
|
340
|
+
<xs:element name="length" type="xs:numFacet" id="length"
|
341
|
+
substitutionGroup="xs:facet">
|
342
|
+
<xs:annotation>
|
343
|
+
<xs:documentation
|
344
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-length"/>
|
345
|
+
</xs:annotation>
|
346
|
+
</xs:element>
|
347
|
+
<xs:element name="minLength" type="xs:numFacet"
|
348
|
+
id="minLength"
|
349
|
+
substitutionGroup="xs:facet">
|
350
|
+
<xs:annotation>
|
351
|
+
<xs:documentation
|
352
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-minLength"/>
|
353
|
+
</xs:annotation>
|
354
|
+
</xs:element>
|
355
|
+
<xs:element name="maxLength" type="xs:numFacet"
|
356
|
+
id="maxLength"
|
357
|
+
substitutionGroup="xs:facet">
|
358
|
+
<xs:annotation>
|
359
|
+
<xs:documentation
|
360
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-maxLength"/>
|
361
|
+
</xs:annotation>
|
362
|
+
</xs:element>
|
363
|
+
<xs:element name="enumeration" type="xs:noFixedFacet"
|
364
|
+
id="enumeration"
|
365
|
+
substitutionGroup="xs:facet">
|
366
|
+
<xs:annotation>
|
367
|
+
<xs:documentation
|
368
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-enumeration"/>
|
369
|
+
</xs:annotation>
|
370
|
+
</xs:element>
|
371
|
+
<xs:element name="whiteSpace" id="whiteSpace"
|
372
|
+
substitutionGroup="xs:facet">
|
373
|
+
<xs:annotation>
|
374
|
+
<xs:documentation
|
375
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-whiteSpace"/>
|
376
|
+
</xs:annotation>
|
377
|
+
<xs:complexType>
|
378
|
+
<xs:complexContent>
|
379
|
+
<xs:restriction base="xs:facet">
|
380
|
+
<xs:sequence>
|
381
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
382
|
+
</xs:sequence>
|
383
|
+
<xs:attribute name="value" use="required">
|
384
|
+
<xs:simpleType>
|
385
|
+
<xs:restriction base="xs:NMTOKEN">
|
386
|
+
<xs:enumeration value="preserve"/>
|
387
|
+
<xs:enumeration value="replace"/>
|
388
|
+
<xs:enumeration value="collapse"/>
|
389
|
+
</xs:restriction>
|
390
|
+
</xs:simpleType>
|
391
|
+
</xs:attribute>
|
392
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
393
|
+
</xs:restriction>
|
394
|
+
</xs:complexContent>
|
395
|
+
</xs:complexType>
|
396
|
+
</xs:element>
|
397
|
+
<xs:element name="pattern" id="pattern"
|
398
|
+
substitutionGroup="xs:facet">
|
399
|
+
<xs:annotation>
|
400
|
+
<xs:documentation
|
401
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-pattern"/>
|
402
|
+
</xs:annotation>
|
403
|
+
<xs:complexType>
|
404
|
+
<xs:complexContent>
|
405
|
+
<xs:restriction base="xs:noFixedFacet">
|
406
|
+
<xs:sequence>
|
407
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
408
|
+
</xs:sequence>
|
409
|
+
<xs:attribute name="value" type="xs:string"
|
410
|
+
use="required"/>
|
411
|
+
<xs:anyAttribute namespace="##other"
|
412
|
+
processContents="lax"/>
|
413
|
+
</xs:restriction>
|
414
|
+
</xs:complexContent>
|
415
|
+
</xs:complexType>
|
416
|
+
</xs:element>
|
417
|
+
<xs:element name="assertion" type="xs:assertion"
|
418
|
+
id="assertion" substitutionGroup="xs:facet">
|
419
|
+
<xs:annotation>
|
420
|
+
<xs:documentation
|
421
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-assertion"/>
|
422
|
+
</xs:annotation>
|
423
|
+
</xs:element>
|
424
|
+
<xs:element name="explicitTimezone" id="explicitTimezone"
|
425
|
+
substitutionGroup="xs:facet">
|
426
|
+
<xs:annotation>
|
427
|
+
<xs:documentation
|
428
|
+
source="http://www.w3.org/TR/xmlschema11-2/#element-explicitTimezone"/>
|
429
|
+
</xs:annotation>
|
430
|
+
<xs:complexType>
|
431
|
+
<xs:complexContent>
|
432
|
+
<xs:restriction base="xs:facet">
|
433
|
+
<xs:sequence>
|
434
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
435
|
+
</xs:sequence>
|
436
|
+
<xs:attribute name="value" use="required">
|
437
|
+
<xs:simpleType>
|
438
|
+
<xs:restriction base="xs:NMTOKEN">
|
439
|
+
<xs:enumeration value="optional"/>
|
440
|
+
<xs:enumeration value="required"/>
|
441
|
+
<xs:enumeration value="prohibited"/>
|
442
|
+
</xs:restriction>
|
443
|
+
</xs:simpleType>
|
444
|
+
</xs:attribute>
|
445
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
446
|
+
</xs:restriction>
|
447
|
+
</xs:complexContent>
|
448
|
+
</xs:complexType>
|
449
|
+
</xs:element>
|
450
|
+
|
451
|
+
<xs:annotation>
|
452
|
+
<xs:documentation>
|
453
|
+
In keeping with the XML Schema WG's standard versioning policy,
|
454
|
+
this schema document will persist at the URI
|
455
|
+
http://www.w3.org/2012/04/datatypes.xsd.
|
456
|
+
|
457
|
+
At the date of issue it can also be found at the URI
|
458
|
+
http://www.w3.org/2009/XMLSchema/datatypes.xsd.
|
459
|
+
|
460
|
+
The schema document at that URI may however change in the future,
|
461
|
+
in order to remain compatible with the latest version of XSD
|
462
|
+
and its namespace. In other words, if XSD or the XML Schema
|
463
|
+
namespace change, the version of this document at
|
464
|
+
http://www.w3.org/2009/XMLSchema/datatypes.xsd will change accordingly;
|
465
|
+
the version at http://www.w3.org/2012/04/datatypes.xsd will not change.
|
466
|
+
|
467
|
+
Previous dated (and unchanging) versions of this schema document
|
468
|
+
include:
|
469
|
+
|
470
|
+
http://www.w3.org/2012/01/datatypes.xsd
|
471
|
+
(XSD 1.1 Proposed Recommendation)
|
472
|
+
|
473
|
+
http://www.w3.org/2011/07/datatypes.xsd
|
474
|
+
(XSD 1.1 Candidate Recommendation)
|
475
|
+
|
476
|
+
http://www.w3.org/2009/04/datatypes.xsd
|
477
|
+
(XSD 1.1 Candidate Recommendation)
|
478
|
+
|
479
|
+
http://www.w3.org/2004/10/datatypes.xsd
|
480
|
+
(XSD 1.0 Recommendation, Second Edition)
|
481
|
+
|
482
|
+
http://www.w3.org/2001/05/datatypes.xsd
|
483
|
+
(XSD 1.0 Recommendation, First Edition)
|
484
|
+
|
485
|
+
</xs:documentation>
|
486
|
+
</xs:annotation>
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
</xs:schema>
|
491
|
+
|