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,1479 @@
|
|
1
|
+
<?xml version='1.0'?>
|
2
|
+
|
3
|
+
<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XSD 1.1//EN" "XMLSchema.dtd" [
|
4
|
+
|
5
|
+
<!-- provide ID type information even for parsers which only read the
|
6
|
+
internal subset -->
|
7
|
+
<!ATTLIST xs:schema id ID #IMPLIED>
|
8
|
+
<!ATTLIST xs:complexType id ID #IMPLIED>
|
9
|
+
<!ATTLIST xs:complexContent id ID #IMPLIED>
|
10
|
+
<!ATTLIST xs:simpleContent id ID #IMPLIED>
|
11
|
+
<!ATTLIST xs:extension id ID #IMPLIED>
|
12
|
+
<!ATTLIST xs:element id ID #IMPLIED>
|
13
|
+
<!ATTLIST xs:group id ID #IMPLIED>
|
14
|
+
<!ATTLIST xs:all id ID #IMPLIED>
|
15
|
+
<!ATTLIST xs:choice id ID #IMPLIED>
|
16
|
+
<!ATTLIST xs:sequence id ID #IMPLIED>
|
17
|
+
<!ATTLIST xs:any id ID #IMPLIED>
|
18
|
+
<!ATTLIST xs:anyAttribute id ID #IMPLIED>
|
19
|
+
<!ATTLIST xs:attribute id ID #IMPLIED>
|
20
|
+
<!ATTLIST xs:attributeGroup id ID #IMPLIED>
|
21
|
+
<!ATTLIST xs:unique id ID #IMPLIED>
|
22
|
+
<!ATTLIST xs:key id ID #IMPLIED>
|
23
|
+
<!ATTLIST xs:keyref id ID #IMPLIED>
|
24
|
+
<!ATTLIST xs:selector id ID #IMPLIED>
|
25
|
+
<!ATTLIST xs:field id ID #IMPLIED>
|
26
|
+
<!ATTLIST xs:assert id ID #IMPLIED>
|
27
|
+
<!ATTLIST xs:include id ID #IMPLIED>
|
28
|
+
<!ATTLIST xs:import id ID #IMPLIED>
|
29
|
+
<!ATTLIST xs:redefine id ID #IMPLIED>
|
30
|
+
<!ATTLIST xs:override id ID #IMPLIED>
|
31
|
+
<!ATTLIST xs:notation id ID #IMPLIED>
|
32
|
+
]>
|
33
|
+
|
34
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
35
|
+
elementFormDefault="qualified" xml:lang="EN"
|
36
|
+
targetNamespace="http://www.w3.org/2001/XMLSchema"
|
37
|
+
version="structures.xsd (rec-20120405)">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html">
|
40
|
+
The schema corresponding to this document is normative,
|
41
|
+
with respect to the syntactic constraints it expresses in the
|
42
|
+
XML Schema Definition Language. The documentation (within 'documentation' elements)
|
43
|
+
below, is not normative, but rather highlights important aspects of
|
44
|
+
the W3C Recommendation of which this is a part.
|
45
|
+
|
46
|
+
See below (at the bottom of this document) for information about
|
47
|
+
the revision and namespace-versioning policy governing this
|
48
|
+
schema document.
|
49
|
+
|
50
|
+
</xs:documentation>
|
51
|
+
</xs:annotation>
|
52
|
+
<xs:annotation>
|
53
|
+
<xs:documentation>
|
54
|
+
The simpleType element and all of its members are defined
|
55
|
+
in datatypes.xsd</xs:documentation>
|
56
|
+
</xs:annotation>
|
57
|
+
<xs:include schemaLocation="datatypes.xsd"/>
|
58
|
+
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
|
59
|
+
schemaLocation="http://www.w3.org/2001/xml.xsd">
|
60
|
+
<xs:annotation>
|
61
|
+
<xs:documentation>
|
62
|
+
Get access to the xml: attribute groups for xml:lang
|
63
|
+
as declared on 'schema' and 'documentation' below
|
64
|
+
</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:import>
|
67
|
+
<xs:complexType name="openAttrs">
|
68
|
+
<xs:annotation>
|
69
|
+
<xs:documentation>
|
70
|
+
This type is extended by almost all schema types
|
71
|
+
to allow attributes from other namespaces to be
|
72
|
+
added to user schemas.
|
73
|
+
</xs:documentation>
|
74
|
+
</xs:annotation>
|
75
|
+
<xs:complexContent>
|
76
|
+
<xs:restriction base="xs:anyType">
|
77
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
78
|
+
</xs:restriction>
|
79
|
+
</xs:complexContent>
|
80
|
+
</xs:complexType>
|
81
|
+
<xs:complexType name="annotated">
|
82
|
+
<xs:annotation>
|
83
|
+
<xs:documentation>
|
84
|
+
This type is extended by all types which allow annotation
|
85
|
+
other than <schema> itself
|
86
|
+
</xs:documentation>
|
87
|
+
</xs:annotation>
|
88
|
+
<xs:complexContent>
|
89
|
+
<xs:extension base="xs:openAttrs">
|
90
|
+
<xs:sequence>
|
91
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
92
|
+
</xs:sequence>
|
93
|
+
<xs:attribute name="id" type="xs:ID"/>
|
94
|
+
</xs:extension>
|
95
|
+
</xs:complexContent>
|
96
|
+
</xs:complexType>
|
97
|
+
<xs:group name="composition">
|
98
|
+
<xs:choice>
|
99
|
+
<xs:element ref="xs:include"/>
|
100
|
+
<xs:element ref="xs:import"/>
|
101
|
+
<xs:element ref="xs:redefine"/>
|
102
|
+
<xs:element ref="xs:override"/>
|
103
|
+
<xs:element ref="xs:annotation"/>
|
104
|
+
</xs:choice>
|
105
|
+
</xs:group>
|
106
|
+
<xs:group name="schemaTop">
|
107
|
+
<xs:annotation>
|
108
|
+
<xs:documentation>
|
109
|
+
This group is for the
|
110
|
+
elements which occur freely at the top level of schemas.
|
111
|
+
All of their types are based on the "annotated" type by extension.</xs:documentation>
|
112
|
+
</xs:annotation>
|
113
|
+
<xs:choice>
|
114
|
+
<xs:group ref="xs:redefinable"/>
|
115
|
+
<xs:element ref="xs:element"/>
|
116
|
+
<xs:element ref="xs:attribute"/>
|
117
|
+
<xs:element ref="xs:notation"/>
|
118
|
+
</xs:choice>
|
119
|
+
</xs:group>
|
120
|
+
<xs:group name="redefinable">
|
121
|
+
<xs:annotation>
|
122
|
+
<xs:documentation>
|
123
|
+
This group is for the
|
124
|
+
elements which can self-redefine (see <redefine> below).</xs:documentation>
|
125
|
+
</xs:annotation>
|
126
|
+
<xs:choice>
|
127
|
+
<xs:element ref="xs:simpleType"/>
|
128
|
+
<xs:element ref="xs:complexType"/>
|
129
|
+
<xs:element ref="xs:group"/>
|
130
|
+
<xs:element ref="xs:attributeGroup"/>
|
131
|
+
</xs:choice>
|
132
|
+
</xs:group>
|
133
|
+
<xs:simpleType name="formChoice">
|
134
|
+
<xs:annotation>
|
135
|
+
<xs:documentation>
|
136
|
+
A utility type, not for public use</xs:documentation>
|
137
|
+
</xs:annotation>
|
138
|
+
<xs:restriction base="xs:NMTOKEN">
|
139
|
+
<xs:enumeration value="qualified"/>
|
140
|
+
<xs:enumeration value="unqualified"/>
|
141
|
+
</xs:restriction>
|
142
|
+
</xs:simpleType>
|
143
|
+
<xs:simpleType name="reducedDerivationControl">
|
144
|
+
<xs:annotation>
|
145
|
+
<xs:documentation>
|
146
|
+
A utility type, not for public use</xs:documentation>
|
147
|
+
</xs:annotation>
|
148
|
+
<xs:restriction base="xs:derivationControl">
|
149
|
+
<xs:enumeration value="extension"/>
|
150
|
+
<xs:enumeration value="restriction"/>
|
151
|
+
</xs:restriction>
|
152
|
+
</xs:simpleType>
|
153
|
+
<xs:simpleType name="derivationSet">
|
154
|
+
<xs:annotation>
|
155
|
+
<xs:documentation>
|
156
|
+
A utility type, not for public use</xs:documentation>
|
157
|
+
<xs:documentation>
|
158
|
+
#all or (possibly empty) subset of {extension, restriction}</xs:documentation>
|
159
|
+
</xs:annotation>
|
160
|
+
<xs:union>
|
161
|
+
<xs:simpleType>
|
162
|
+
<xs:restriction base="xs:token">
|
163
|
+
<xs:enumeration value="#all"/>
|
164
|
+
</xs:restriction>
|
165
|
+
</xs:simpleType>
|
166
|
+
<xs:simpleType>
|
167
|
+
<xs:list itemType="xs:reducedDerivationControl"/>
|
168
|
+
</xs:simpleType>
|
169
|
+
</xs:union>
|
170
|
+
</xs:simpleType>
|
171
|
+
<xs:simpleType name="typeDerivationControl">
|
172
|
+
<xs:annotation>
|
173
|
+
<xs:documentation>
|
174
|
+
A utility type, not for public use</xs:documentation>
|
175
|
+
</xs:annotation>
|
176
|
+
<xs:restriction base="xs:derivationControl">
|
177
|
+
<xs:enumeration value="extension"/>
|
178
|
+
<xs:enumeration value="restriction"/>
|
179
|
+
<xs:enumeration value="list"/>
|
180
|
+
<xs:enumeration value="union"/>
|
181
|
+
</xs:restriction>
|
182
|
+
</xs:simpleType>
|
183
|
+
<xs:simpleType name="fullDerivationSet">
|
184
|
+
<xs:annotation>
|
185
|
+
<xs:documentation>
|
186
|
+
A utility type, not for public use</xs:documentation>
|
187
|
+
<xs:documentation>
|
188
|
+
#all or (possibly empty) subset of {extension, restriction, list, union}</xs:documentation>
|
189
|
+
</xs:annotation>
|
190
|
+
<xs:union>
|
191
|
+
<xs:simpleType>
|
192
|
+
<xs:restriction base="xs:token">
|
193
|
+
<xs:enumeration value="#all"/>
|
194
|
+
</xs:restriction>
|
195
|
+
</xs:simpleType>
|
196
|
+
<xs:simpleType>
|
197
|
+
<xs:list itemType="xs:typeDerivationControl"/>
|
198
|
+
</xs:simpleType>
|
199
|
+
</xs:union>
|
200
|
+
</xs:simpleType>
|
201
|
+
<xs:element name="schema" id="schema">
|
202
|
+
<xs:annotation>
|
203
|
+
<xs:documentation
|
204
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-schema"/>
|
205
|
+
</xs:annotation>
|
206
|
+
<xs:complexType>
|
207
|
+
<xs:complexContent>
|
208
|
+
<xs:extension base="xs:openAttrs">
|
209
|
+
<xs:sequence>
|
210
|
+
<xs:group ref="xs:composition" minOccurs="0" maxOccurs="unbounded"/>
|
211
|
+
<xs:sequence minOccurs="0">
|
212
|
+
<xs:element ref="xs:defaultOpenContent"/>
|
213
|
+
<xs:element ref="xs:annotation" minOccurs="0"
|
214
|
+
maxOccurs="unbounded"/>
|
215
|
+
</xs:sequence>
|
216
|
+
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
217
|
+
<xs:group ref="xs:schemaTop"/>
|
218
|
+
<xs:element ref="xs:annotation" minOccurs="0"
|
219
|
+
maxOccurs="unbounded"/>
|
220
|
+
</xs:sequence>
|
221
|
+
</xs:sequence>
|
222
|
+
<xs:attribute name="targetNamespace" type="xs:anyURI"/>
|
223
|
+
<xs:attribute name="version" type="xs:token"/>
|
224
|
+
<xs:attribute name="finalDefault" type="xs:fullDerivationSet"
|
225
|
+
default="" use="optional"/>
|
226
|
+
<xs:attribute name="blockDefault" type="xs:blockSet" default=""
|
227
|
+
use="optional"/>
|
228
|
+
<xs:attribute name="attributeFormDefault" type="xs:formChoice"
|
229
|
+
default="unqualified" use="optional"/>
|
230
|
+
<xs:attribute name="elementFormDefault" type="xs:formChoice"
|
231
|
+
default="unqualified" use="optional"/>
|
232
|
+
<xs:attribute name="defaultAttributes" type="xs:QName"/>
|
233
|
+
<xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace"
|
234
|
+
default="##local" use="optional"/>
|
235
|
+
<xs:attribute name="id" type="xs:ID"/>
|
236
|
+
<xs:attribute ref="xml:lang"/>
|
237
|
+
</xs:extension>
|
238
|
+
</xs:complexContent>
|
239
|
+
</xs:complexType>
|
240
|
+
<xs:key name="element">
|
241
|
+
<xs:selector xpath="xs:element"/>
|
242
|
+
<xs:field xpath="@name"/>
|
243
|
+
</xs:key>
|
244
|
+
<xs:key name="attribute">
|
245
|
+
<xs:selector xpath="xs:attribute"/>
|
246
|
+
<xs:field xpath="@name"/>
|
247
|
+
</xs:key>
|
248
|
+
<xs:key name="type">
|
249
|
+
<xs:selector xpath="xs:complexType|xs:simpleType"/>
|
250
|
+
<xs:field xpath="@name"/>
|
251
|
+
</xs:key>
|
252
|
+
<xs:key name="group">
|
253
|
+
<xs:selector xpath="xs:group"/>
|
254
|
+
<xs:field xpath="@name"/>
|
255
|
+
</xs:key>
|
256
|
+
<xs:key name="attributeGroup">
|
257
|
+
<xs:selector xpath="xs:attributeGroup"/>
|
258
|
+
<xs:field xpath="@name"/>
|
259
|
+
</xs:key>
|
260
|
+
<xs:key name="notation">
|
261
|
+
<xs:selector xpath="xs:notation"/>
|
262
|
+
<xs:field xpath="@name"/>
|
263
|
+
</xs:key>
|
264
|
+
<xs:key name="identityConstraint">
|
265
|
+
<xs:selector xpath=".//xs:key|.//xs:unique|.//xs:keyref"/>
|
266
|
+
<xs:field xpath="@name"/>
|
267
|
+
</xs:key>
|
268
|
+
</xs:element>
|
269
|
+
<xs:simpleType name="allNNI">
|
270
|
+
<xs:annotation>
|
271
|
+
<xs:documentation>
|
272
|
+
for maxOccurs</xs:documentation>
|
273
|
+
</xs:annotation>
|
274
|
+
<xs:union memberTypes="xs:nonNegativeInteger">
|
275
|
+
<xs:simpleType>
|
276
|
+
<xs:restriction base="xs:NMTOKEN">
|
277
|
+
<xs:enumeration value="unbounded"/>
|
278
|
+
</xs:restriction>
|
279
|
+
</xs:simpleType>
|
280
|
+
</xs:union>
|
281
|
+
</xs:simpleType>
|
282
|
+
<xs:attributeGroup name="occurs">
|
283
|
+
<xs:annotation>
|
284
|
+
<xs:documentation>
|
285
|
+
for all particles</xs:documentation>
|
286
|
+
</xs:annotation>
|
287
|
+
<xs:attribute name="minOccurs" type="xs:nonNegativeInteger" default="1"
|
288
|
+
use="optional"/>
|
289
|
+
<xs:attribute name="maxOccurs" type="xs:allNNI" default="1" use="optional"/>
|
290
|
+
</xs:attributeGroup>
|
291
|
+
<xs:attributeGroup name="defRef">
|
292
|
+
<xs:annotation>
|
293
|
+
<xs:documentation>
|
294
|
+
for element, group and attributeGroup,
|
295
|
+
which both define and reference</xs:documentation>
|
296
|
+
</xs:annotation>
|
297
|
+
<xs:attribute name="name" type="xs:NCName"/>
|
298
|
+
<xs:attribute name="ref" type="xs:QName"/>
|
299
|
+
</xs:attributeGroup>
|
300
|
+
<xs:group name="typeDefParticle">
|
301
|
+
<xs:annotation>
|
302
|
+
<xs:documentation>
|
303
|
+
'complexType' uses this</xs:documentation>
|
304
|
+
</xs:annotation>
|
305
|
+
<xs:choice>
|
306
|
+
<xs:element name="group" type="xs:groupRef"/>
|
307
|
+
<xs:element ref="xs:all"/>
|
308
|
+
<xs:element ref="xs:choice"/>
|
309
|
+
<xs:element ref="xs:sequence"/>
|
310
|
+
</xs:choice>
|
311
|
+
</xs:group>
|
312
|
+
<xs:group name="nestedParticle">
|
313
|
+
<xs:choice>
|
314
|
+
<xs:element name="element" type="xs:localElement"/>
|
315
|
+
<xs:element name="group" type="xs:groupRef"/>
|
316
|
+
|
317
|
+
<xs:element ref="xs:choice"/>
|
318
|
+
<xs:element ref="xs:sequence"/>
|
319
|
+
<xs:element ref="xs:any"/>
|
320
|
+
</xs:choice>
|
321
|
+
</xs:group>
|
322
|
+
<xs:group name="particle">
|
323
|
+
<xs:choice>
|
324
|
+
<xs:element name="element" type="xs:localElement"/>
|
325
|
+
<xs:element name="group" type="xs:groupRef"/>
|
326
|
+
<xs:element ref="xs:all"/>
|
327
|
+
<xs:element ref="xs:choice"/>
|
328
|
+
<xs:element ref="xs:sequence"/>
|
329
|
+
<xs:element ref="xs:any"/>
|
330
|
+
</xs:choice>
|
331
|
+
</xs:group>
|
332
|
+
<xs:complexType name="attribute">
|
333
|
+
<xs:complexContent>
|
334
|
+
<xs:extension base="xs:annotated">
|
335
|
+
<xs:sequence>
|
336
|
+
<xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
|
337
|
+
</xs:sequence>
|
338
|
+
<xs:attributeGroup ref="xs:defRef"/>
|
339
|
+
<xs:attribute name="type" type="xs:QName"/>
|
340
|
+
<xs:attribute name="use" default="optional" use="optional">
|
341
|
+
<xs:simpleType>
|
342
|
+
<xs:restriction base="xs:NMTOKEN">
|
343
|
+
<xs:enumeration value="prohibited"/>
|
344
|
+
<xs:enumeration value="optional"/>
|
345
|
+
<xs:enumeration value="required"/>
|
346
|
+
</xs:restriction>
|
347
|
+
</xs:simpleType>
|
348
|
+
</xs:attribute>
|
349
|
+
<xs:attribute name="default" type="xs:string"/>
|
350
|
+
<xs:attribute name="fixed" type="xs:string"/>
|
351
|
+
<xs:attribute name="form" type="xs:formChoice"/>
|
352
|
+
<xs:attribute name="targetNamespace" type="xs:anyURI"/>
|
353
|
+
|
354
|
+
<xs:attribute name="inheritable" type="xs:boolean"/>
|
355
|
+
</xs:extension>
|
356
|
+
</xs:complexContent>
|
357
|
+
</xs:complexType>
|
358
|
+
<xs:complexType name="topLevelAttribute">
|
359
|
+
<xs:complexContent>
|
360
|
+
<xs:restriction base="xs:attribute">
|
361
|
+
<xs:sequence>
|
362
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
363
|
+
<xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
|
364
|
+
</xs:sequence>
|
365
|
+
<xs:attribute name="ref" use="prohibited"/>
|
366
|
+
<xs:attribute name="form" use="prohibited"/>
|
367
|
+
<xs:attribute name="use" use="prohibited"/>
|
368
|
+
<xs:attribute name="targetNamespace" use="prohibited"/>
|
369
|
+
<xs:attribute name="name" type="xs:NCName" use="required"/>
|
370
|
+
<xs:attribute name="inheritable" type="xs:boolean"/>
|
371
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
372
|
+
</xs:restriction>
|
373
|
+
</xs:complexContent>
|
374
|
+
</xs:complexType>
|
375
|
+
<xs:group name="attrDecls">
|
376
|
+
<xs:sequence>
|
377
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
378
|
+
<xs:element name="attribute" type="xs:attribute"/>
|
379
|
+
<xs:element name="attributeGroup" type="xs:attributeGroupRef"/>
|
380
|
+
</xs:choice>
|
381
|
+
<xs:element ref="xs:anyAttribute" minOccurs="0"/>
|
382
|
+
</xs:sequence>
|
383
|
+
</xs:group>
|
384
|
+
<xs:element name="anyAttribute" id="anyAttribute">
|
385
|
+
<xs:annotation>
|
386
|
+
<xs:documentation
|
387
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-anyAttribute"/>
|
388
|
+
</xs:annotation>
|
389
|
+
<xs:complexType>
|
390
|
+
<xs:complexContent>
|
391
|
+
<xs:extension base="xs:wildcard">
|
392
|
+
<xs:attribute name="notQName" type="xs:qnameListA"
|
393
|
+
use="optional"/>
|
394
|
+
</xs:extension>
|
395
|
+
</xs:complexContent>
|
396
|
+
</xs:complexType>
|
397
|
+
</xs:element>
|
398
|
+
<xs:group name="assertions">
|
399
|
+
<xs:sequence>
|
400
|
+
<xs:element name="assert" type="xs:assertion"
|
401
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
402
|
+
</xs:sequence>
|
403
|
+
</xs:group>
|
404
|
+
<xs:complexType name="assertion">
|
405
|
+
<xs:complexContent>
|
406
|
+
<xs:extension base="xs:annotated">
|
407
|
+
<xs:attribute name="test" type="xs:string"/>
|
408
|
+
<xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace"/>
|
409
|
+
</xs:extension>
|
410
|
+
</xs:complexContent>
|
411
|
+
</xs:complexType>
|
412
|
+
<xs:group name="complexTypeModel">
|
413
|
+
<xs:choice>
|
414
|
+
<xs:element ref="xs:simpleContent"/>
|
415
|
+
<xs:element ref="xs:complexContent"/>
|
416
|
+
<xs:sequence>
|
417
|
+
<xs:annotation>
|
418
|
+
<xs:documentation>
|
419
|
+
This branch is short for
|
420
|
+
<complexContent>
|
421
|
+
<restriction base="xs:anyType">
|
422
|
+
...
|
423
|
+
</restriction>
|
424
|
+
</complexContent></xs:documentation>
|
425
|
+
</xs:annotation>
|
426
|
+
<xs:element ref="xs:openContent" minOccurs="0"/>
|
427
|
+
<xs:group ref="xs:typeDefParticle" minOccurs="0"/>
|
428
|
+
<xs:group ref="xs:attrDecls"/>
|
429
|
+
<xs:group ref="xs:assertions"/>
|
430
|
+
</xs:sequence>
|
431
|
+
</xs:choice>
|
432
|
+
</xs:group>
|
433
|
+
<xs:complexType name="complexType" abstract="true">
|
434
|
+
<xs:complexContent>
|
435
|
+
<xs:extension base="xs:annotated">
|
436
|
+
<xs:group ref="xs:complexTypeModel"/>
|
437
|
+
<xs:attribute name="name" type="xs:NCName">
|
438
|
+
<xs:annotation>
|
439
|
+
<xs:documentation>
|
440
|
+
Will be restricted to required or prohibited</xs:documentation>
|
441
|
+
</xs:annotation>
|
442
|
+
</xs:attribute>
|
443
|
+
<xs:attribute name="mixed" type="xs:boolean" use="optional">
|
444
|
+
<xs:annotation>
|
445
|
+
<xs:documentation>
|
446
|
+
Not allowed if simpleContent child is chosen.
|
447
|
+
May be overridden by setting on complexContent child.</xs:documentation>
|
448
|
+
</xs:annotation>
|
449
|
+
</xs:attribute>
|
450
|
+
<xs:attribute name="abstract" type="xs:boolean" default="false"
|
451
|
+
use="optional"/>
|
452
|
+
<xs:attribute name="final" type="xs:derivationSet"/>
|
453
|
+
<xs:attribute name="block" type="xs:derivationSet"/>
|
454
|
+
<xs:attribute name="defaultAttributesApply" type="xs:boolean"
|
455
|
+
default="true" use="optional"/>
|
456
|
+
</xs:extension>
|
457
|
+
</xs:complexContent>
|
458
|
+
</xs:complexType>
|
459
|
+
<xs:complexType name="topLevelComplexType">
|
460
|
+
<xs:complexContent>
|
461
|
+
<xs:restriction base="xs:complexType">
|
462
|
+
<xs:sequence>
|
463
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
464
|
+
<xs:group ref="xs:complexTypeModel"/>
|
465
|
+
</xs:sequence>
|
466
|
+
<xs:attribute name="name" type="xs:NCName" use="required"/>
|
467
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
468
|
+
</xs:restriction>
|
469
|
+
</xs:complexContent>
|
470
|
+
</xs:complexType>
|
471
|
+
<xs:complexType name="localComplexType">
|
472
|
+
<xs:complexContent>
|
473
|
+
<xs:restriction base="xs:complexType">
|
474
|
+
<xs:sequence>
|
475
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
476
|
+
<xs:group ref="xs:complexTypeModel"/>
|
477
|
+
</xs:sequence>
|
478
|
+
<xs:attribute name="name" use="prohibited"/>
|
479
|
+
<xs:attribute name="abstract" use="prohibited"/>
|
480
|
+
<xs:attribute name="final" use="prohibited"/>
|
481
|
+
<xs:attribute name="block" use="prohibited"/>
|
482
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
483
|
+
</xs:restriction>
|
484
|
+
</xs:complexContent>
|
485
|
+
</xs:complexType>
|
486
|
+
<xs:complexType name="restrictionType">
|
487
|
+
<xs:complexContent>
|
488
|
+
<xs:extension base="xs:annotated">
|
489
|
+
<xs:sequence>
|
490
|
+
<xs:choice minOccurs="0">
|
491
|
+
|
492
|
+
<xs:sequence>
|
493
|
+
<xs:element ref="xs:openContent" minOccurs="0"/>
|
494
|
+
<xs:group ref="xs:typeDefParticle"/>
|
495
|
+
</xs:sequence>
|
496
|
+
<xs:group ref="xs:simpleRestrictionModel"/>
|
497
|
+
</xs:choice>
|
498
|
+
<xs:group ref="xs:attrDecls"/>
|
499
|
+
<xs:group ref="xs:assertions"/>
|
500
|
+
</xs:sequence>
|
501
|
+
<xs:attribute name="base" type="xs:QName" use="required"/>
|
502
|
+
</xs:extension>
|
503
|
+
</xs:complexContent>
|
504
|
+
</xs:complexType>
|
505
|
+
<xs:complexType name="complexRestrictionType">
|
506
|
+
<xs:complexContent>
|
507
|
+
<xs:restriction base="xs:restrictionType">
|
508
|
+
<xs:sequence>
|
509
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
510
|
+
<xs:choice minOccurs="0">
|
511
|
+
<xs:annotation>
|
512
|
+
<xs:documentation>This choice is added simply to
|
513
|
+
make this a valid restriction per the REC</xs:documentation>
|
514
|
+
</xs:annotation>
|
515
|
+
|
516
|
+
<xs:sequence>
|
517
|
+
<xs:element ref="xs:openContent" minOccurs="0"/>
|
518
|
+
<xs:group ref="xs:typeDefParticle"/>
|
519
|
+
</xs:sequence>
|
520
|
+
</xs:choice>
|
521
|
+
<xs:group ref="xs:attrDecls"/>
|
522
|
+
<xs:group ref="xs:assertions"/>
|
523
|
+
</xs:sequence>
|
524
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
525
|
+
</xs:restriction>
|
526
|
+
</xs:complexContent>
|
527
|
+
</xs:complexType>
|
528
|
+
<xs:complexType name="extensionType">
|
529
|
+
<xs:complexContent>
|
530
|
+
<xs:extension base="xs:annotated">
|
531
|
+
<xs:sequence>
|
532
|
+
<xs:element ref="xs:openContent" minOccurs="0"/>
|
533
|
+
<xs:group ref="xs:typeDefParticle" minOccurs="0"/>
|
534
|
+
<xs:group ref="xs:attrDecls"/>
|
535
|
+
<xs:group ref="xs:assertions"/>
|
536
|
+
</xs:sequence>
|
537
|
+
<xs:attribute name="base" type="xs:QName" use="required"/>
|
538
|
+
|
539
|
+
</xs:extension>
|
540
|
+
</xs:complexContent>
|
541
|
+
</xs:complexType>
|
542
|
+
<xs:element name="complexContent" id="complexContent">
|
543
|
+
<xs:annotation>
|
544
|
+
<xs:documentation
|
545
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-complexContent"/>
|
546
|
+
</xs:annotation>
|
547
|
+
<xs:complexType>
|
548
|
+
<xs:complexContent>
|
549
|
+
<xs:extension base="xs:annotated">
|
550
|
+
<xs:choice>
|
551
|
+
<xs:element name="restriction" type="xs:complexRestrictionType"/>
|
552
|
+
<xs:element name="extension" type="xs:extensionType"/>
|
553
|
+
</xs:choice>
|
554
|
+
<xs:attribute name="mixed" type="xs:boolean">
|
555
|
+
<xs:annotation>
|
556
|
+
<xs:documentation>
|
557
|
+
Overrides any setting on complexType parent.</xs:documentation>
|
558
|
+
</xs:annotation>
|
559
|
+
</xs:attribute>
|
560
|
+
</xs:extension>
|
561
|
+
</xs:complexContent>
|
562
|
+
</xs:complexType>
|
563
|
+
</xs:element>
|
564
|
+
<xs:element name="openContent" id="openContent">
|
565
|
+
<xs:annotation>
|
566
|
+
<xs:documentation
|
567
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-openContent"/>
|
568
|
+
</xs:annotation>
|
569
|
+
<xs:complexType>
|
570
|
+
<xs:complexContent>
|
571
|
+
<xs:extension base="xs:annotated">
|
572
|
+
<xs:sequence>
|
573
|
+
<xs:element name="any" minOccurs="0" type="xs:wildcard"/>
|
574
|
+
</xs:sequence>
|
575
|
+
<xs:attribute name="mode" default="interleave" use="optional">
|
576
|
+
<xs:simpleType>
|
577
|
+
<xs:restriction base="xs:NMTOKEN">
|
578
|
+
<xs:enumeration value="none"/>
|
579
|
+
<xs:enumeration value="interleave"/>
|
580
|
+
<xs:enumeration value="suffix"/>
|
581
|
+
</xs:restriction>
|
582
|
+
</xs:simpleType>
|
583
|
+
</xs:attribute>
|
584
|
+
|
585
|
+
</xs:extension>
|
586
|
+
</xs:complexContent>
|
587
|
+
</xs:complexType>
|
588
|
+
</xs:element>
|
589
|
+
<xs:element name="defaultOpenContent" id="defaultOpenContent">
|
590
|
+
<xs:annotation>
|
591
|
+
<xs:documentation
|
592
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-defaultOpenContent"/>
|
593
|
+
</xs:annotation>
|
594
|
+
<xs:complexType>
|
595
|
+
<xs:complexContent>
|
596
|
+
<xs:extension base="xs:annotated">
|
597
|
+
<xs:sequence>
|
598
|
+
<xs:element name="any" type="xs:wildcard"/>
|
599
|
+
</xs:sequence>
|
600
|
+
<xs:attribute name="appliesToEmpty" type="xs:boolean"
|
601
|
+
default="false" use="optional"/>
|
602
|
+
<xs:attribute name="mode" default="interleave" use="optional">
|
603
|
+
<xs:simpleType>
|
604
|
+
<xs:restriction base="xs:NMTOKEN">
|
605
|
+
<xs:enumeration value="interleave"/>
|
606
|
+
<xs:enumeration value="suffix"/>
|
607
|
+
</xs:restriction>
|
608
|
+
</xs:simpleType>
|
609
|
+
</xs:attribute>
|
610
|
+
|
611
|
+
</xs:extension>
|
612
|
+
</xs:complexContent>
|
613
|
+
</xs:complexType>
|
614
|
+
</xs:element>
|
615
|
+
<xs:complexType name="simpleRestrictionType">
|
616
|
+
<xs:complexContent>
|
617
|
+
<xs:restriction base="xs:restrictionType">
|
618
|
+
<xs:sequence>
|
619
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
620
|
+
<xs:choice minOccurs="0">
|
621
|
+
<xs:annotation>
|
622
|
+
<xs:documentation>This choice is added simply to
|
623
|
+
make this a valid restriction per the REC</xs:documentation>
|
624
|
+
</xs:annotation>
|
625
|
+
<xs:group ref="xs:simpleRestrictionModel"/>
|
626
|
+
</xs:choice>
|
627
|
+
<xs:group ref="xs:attrDecls"/>
|
628
|
+
<xs:group ref="xs:assertions"/>
|
629
|
+
</xs:sequence>
|
630
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
631
|
+
</xs:restriction>
|
632
|
+
</xs:complexContent>
|
633
|
+
</xs:complexType>
|
634
|
+
<xs:complexType name="simpleExtensionType">
|
635
|
+
<xs:complexContent>
|
636
|
+
<xs:restriction base="xs:extensionType">
|
637
|
+
<xs:sequence>
|
638
|
+
<xs:annotation>
|
639
|
+
<xs:documentation>
|
640
|
+
No typeDefParticle group reference</xs:documentation>
|
641
|
+
</xs:annotation>
|
642
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
643
|
+
<xs:group ref="xs:attrDecls"/>
|
644
|
+
<xs:group ref="xs:assertions"/>
|
645
|
+
</xs:sequence>
|
646
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
647
|
+
</xs:restriction>
|
648
|
+
</xs:complexContent>
|
649
|
+
</xs:complexType>
|
650
|
+
<xs:element name="simpleContent" id="simpleContent">
|
651
|
+
<xs:annotation>
|
652
|
+
<xs:documentation
|
653
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-simpleContent"/>
|
654
|
+
</xs:annotation>
|
655
|
+
<xs:complexType>
|
656
|
+
<xs:complexContent>
|
657
|
+
<xs:extension base="xs:annotated">
|
658
|
+
<xs:choice>
|
659
|
+
<xs:element name="restriction" type="xs:simpleRestrictionType"/>
|
660
|
+
<xs:element name="extension" type="xs:simpleExtensionType"/>
|
661
|
+
</xs:choice>
|
662
|
+
</xs:extension>
|
663
|
+
</xs:complexContent>
|
664
|
+
</xs:complexType>
|
665
|
+
</xs:element>
|
666
|
+
<xs:element name="complexType" type="xs:topLevelComplexType" id="complexType">
|
667
|
+
<xs:annotation>
|
668
|
+
<xs:documentation
|
669
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-complexType"/>
|
670
|
+
</xs:annotation>
|
671
|
+
</xs:element>
|
672
|
+
<xs:simpleType name="blockSet">
|
673
|
+
<xs:annotation>
|
674
|
+
<xs:documentation>
|
675
|
+
A utility type, not for public use</xs:documentation>
|
676
|
+
<xs:documentation>
|
677
|
+
#all or (possibly empty) subset of {substitution, extension,
|
678
|
+
restriction}</xs:documentation>
|
679
|
+
</xs:annotation>
|
680
|
+
<xs:union>
|
681
|
+
<xs:simpleType>
|
682
|
+
<xs:restriction base="xs:token">
|
683
|
+
<xs:enumeration value="#all"/>
|
684
|
+
</xs:restriction>
|
685
|
+
</xs:simpleType>
|
686
|
+
<xs:simpleType>
|
687
|
+
<xs:list>
|
688
|
+
<xs:simpleType>
|
689
|
+
<xs:restriction base="xs:derivationControl">
|
690
|
+
<xs:enumeration value="extension"/>
|
691
|
+
<xs:enumeration value="restriction"/>
|
692
|
+
<xs:enumeration value="substitution"/>
|
693
|
+
</xs:restriction>
|
694
|
+
</xs:simpleType>
|
695
|
+
</xs:list>
|
696
|
+
</xs:simpleType>
|
697
|
+
</xs:union>
|
698
|
+
</xs:simpleType>
|
699
|
+
<xs:complexType name="element" abstract="true">
|
700
|
+
<xs:annotation>
|
701
|
+
<xs:documentation>
|
702
|
+
The element element can be used either
|
703
|
+
at the top level to define an element-type binding globally,
|
704
|
+
or within a content model to either reference a globally-defined
|
705
|
+
element or type or declare an element-type binding locally.
|
706
|
+
The ref form is not allowed at the top level.</xs:documentation>
|
707
|
+
</xs:annotation>
|
708
|
+
<xs:complexContent>
|
709
|
+
<xs:extension base="xs:annotated">
|
710
|
+
<xs:sequence>
|
711
|
+
<xs:choice minOccurs="0">
|
712
|
+
<xs:element name="simpleType" type="xs:localSimpleType"/>
|
713
|
+
<xs:element name="complexType" type="xs:localComplexType"/>
|
714
|
+
</xs:choice>
|
715
|
+
<xs:element name="alternative" type="xs:altType"
|
716
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
717
|
+
<xs:group ref="xs:identityConstraint" minOccurs="0"
|
718
|
+
maxOccurs="unbounded"/>
|
719
|
+
</xs:sequence>
|
720
|
+
<xs:attributeGroup ref="xs:defRef"/>
|
721
|
+
<xs:attribute name="type" type="xs:QName"/>
|
722
|
+
|
723
|
+
<xs:attribute name="substitutionGroup">
|
724
|
+
<xs:simpleType>
|
725
|
+
<xs:list itemType="xs:QName"/>
|
726
|
+
</xs:simpleType>
|
727
|
+
</xs:attribute>
|
728
|
+
<xs:attributeGroup ref="xs:occurs"/>
|
729
|
+
<xs:attribute name="default" type="xs:string"/>
|
730
|
+
<xs:attribute name="fixed" type="xs:string"/>
|
731
|
+
<xs:attribute name="nillable" type="xs:boolean" use="optional"/>
|
732
|
+
<xs:attribute name="abstract" type="xs:boolean" default="false"
|
733
|
+
use="optional"/>
|
734
|
+
<xs:attribute name="final" type="xs:derivationSet"/>
|
735
|
+
<xs:attribute name="block" type="xs:blockSet"/>
|
736
|
+
<xs:attribute name="form" type="xs:formChoice"/>
|
737
|
+
<xs:attribute name="targetNamespace" type="xs:anyURI"/>
|
738
|
+
</xs:extension>
|
739
|
+
</xs:complexContent>
|
740
|
+
</xs:complexType>
|
741
|
+
<xs:complexType name="topLevelElement">
|
742
|
+
<xs:complexContent>
|
743
|
+
<xs:restriction base="xs:element">
|
744
|
+
<xs:sequence>
|
745
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
746
|
+
<xs:choice minOccurs="0">
|
747
|
+
<xs:element name="simpleType" type="xs:localSimpleType"/>
|
748
|
+
<xs:element name="complexType" type="xs:localComplexType"/>
|
749
|
+
</xs:choice>
|
750
|
+
<xs:element name="alternative" type="xs:altType"
|
751
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
752
|
+
<xs:group ref="xs:identityConstraint" minOccurs="0"
|
753
|
+
maxOccurs="unbounded"/>
|
754
|
+
</xs:sequence>
|
755
|
+
<xs:attribute name="ref" use="prohibited"/>
|
756
|
+
<xs:attribute name="form" use="prohibited"/>
|
757
|
+
<xs:attribute name="targetNamespace" use="prohibited"/>
|
758
|
+
<xs:attribute name="minOccurs" use="prohibited"/>
|
759
|
+
<xs:attribute name="maxOccurs" use="prohibited"/>
|
760
|
+
<xs:attribute name="name" type="xs:NCName" use="required"/>
|
761
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
762
|
+
</xs:restriction>
|
763
|
+
</xs:complexContent>
|
764
|
+
</xs:complexType>
|
765
|
+
<xs:complexType name="localElement">
|
766
|
+
<xs:complexContent>
|
767
|
+
<xs:restriction base="xs:element">
|
768
|
+
<xs:sequence>
|
769
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
770
|
+
<xs:choice minOccurs="0">
|
771
|
+
<xs:element name="simpleType" type="xs:localSimpleType"/>
|
772
|
+
<xs:element name="complexType" type="xs:localComplexType"/>
|
773
|
+
</xs:choice>
|
774
|
+
<xs:element name="alternative" type="xs:altType"
|
775
|
+
minOccurs="0" maxOccurs="unbounded"/>
|
776
|
+
<xs:group ref="xs:identityConstraint" minOccurs="0"
|
777
|
+
maxOccurs="unbounded"/>
|
778
|
+
</xs:sequence>
|
779
|
+
<xs:attribute name="substitutionGroup" use="prohibited"/>
|
780
|
+
<xs:attribute name="final" use="prohibited"/>
|
781
|
+
<xs:attribute name="abstract" use="prohibited"/>
|
782
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
783
|
+
</xs:restriction>
|
784
|
+
</xs:complexContent>
|
785
|
+
</xs:complexType>
|
786
|
+
<xs:element name="element" type="xs:topLevelElement" id="element">
|
787
|
+
<xs:annotation>
|
788
|
+
<xs:documentation
|
789
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-element"/>
|
790
|
+
</xs:annotation>
|
791
|
+
</xs:element>
|
792
|
+
<xs:complexType name="altType">
|
793
|
+
<xs:annotation>
|
794
|
+
<xs:documentation>
|
795
|
+
This type is used for 'alternative' elements.
|
796
|
+
</xs:documentation>
|
797
|
+
</xs:annotation>
|
798
|
+
<xs:complexContent>
|
799
|
+
<xs:extension base="xs:annotated">
|
800
|
+
<xs:choice minOccurs="0">
|
801
|
+
<xs:element name="simpleType" type="xs:localSimpleType"/>
|
802
|
+
<xs:element name="complexType" type="xs:localComplexType"/>
|
803
|
+
</xs:choice>
|
804
|
+
<xs:attribute name="test" type="xs:string" use="optional"/>
|
805
|
+
<xs:attribute name="type" type="xs:QName" use="optional"/>
|
806
|
+
<xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace"/>
|
807
|
+
</xs:extension>
|
808
|
+
</xs:complexContent>
|
809
|
+
</xs:complexType>
|
810
|
+
<xs:complexType name="group" abstract="true">
|
811
|
+
<xs:annotation>
|
812
|
+
<xs:documentation>
|
813
|
+
group type for explicit groups, named top-level groups and
|
814
|
+
group references</xs:documentation>
|
815
|
+
</xs:annotation>
|
816
|
+
<xs:complexContent>
|
817
|
+
<xs:extension base="xs:annotated">
|
818
|
+
|
819
|
+
<xs:group ref="xs:particle" minOccurs="0" maxOccurs="unbounded"/>
|
820
|
+
|
821
|
+
<xs:attributeGroup ref="xs:defRef"/>
|
822
|
+
<xs:attributeGroup ref="xs:occurs"/>
|
823
|
+
</xs:extension>
|
824
|
+
</xs:complexContent>
|
825
|
+
</xs:complexType>
|
826
|
+
<xs:complexType name="realGroup">
|
827
|
+
<xs:complexContent>
|
828
|
+
<xs:restriction base="xs:group">
|
829
|
+
<xs:sequence>
|
830
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
831
|
+
<xs:choice minOccurs="0" maxOccurs="1">
|
832
|
+
<xs:element ref="xs:all"/>
|
833
|
+
<xs:element ref="xs:choice"/>
|
834
|
+
<xs:element ref="xs:sequence"/>
|
835
|
+
</xs:choice>
|
836
|
+
|
837
|
+
</xs:sequence>
|
838
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
839
|
+
</xs:restriction>
|
840
|
+
</xs:complexContent>
|
841
|
+
</xs:complexType>
|
842
|
+
<xs:complexType name="namedGroup">
|
843
|
+
<xs:complexContent>
|
844
|
+
<xs:restriction base="xs:realGroup">
|
845
|
+
<xs:sequence>
|
846
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
847
|
+
<xs:choice minOccurs="1" maxOccurs="1">
|
848
|
+
<xs:element name="all">
|
849
|
+
<xs:complexType>
|
850
|
+
<xs:complexContent>
|
851
|
+
<xs:restriction base="xs:all">
|
852
|
+
<xs:group ref="xs:allModel"/>
|
853
|
+
<xs:attribute name="minOccurs" use="prohibited"/>
|
854
|
+
<xs:attribute name="maxOccurs" use="prohibited"/>
|
855
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
856
|
+
</xs:restriction>
|
857
|
+
</xs:complexContent>
|
858
|
+
</xs:complexType>
|
859
|
+
</xs:element>
|
860
|
+
<xs:element name="choice" type="xs:simpleExplicitGroup"/>
|
861
|
+
<xs:element name="sequence" type="xs:simpleExplicitGroup"/>
|
862
|
+
</xs:choice>
|
863
|
+
</xs:sequence>
|
864
|
+
<xs:attribute name="name" type="xs:NCName" use="required"/>
|
865
|
+
<xs:attribute name="ref" use="prohibited"/>
|
866
|
+
<xs:attribute name="minOccurs" use="prohibited"/>
|
867
|
+
<xs:attribute name="maxOccurs" use="prohibited"/>
|
868
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
869
|
+
</xs:restriction>
|
870
|
+
</xs:complexContent>
|
871
|
+
</xs:complexType>
|
872
|
+
<xs:complexType name="groupRef">
|
873
|
+
<xs:complexContent>
|
874
|
+
<xs:restriction base="xs:realGroup">
|
875
|
+
<xs:sequence>
|
876
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
877
|
+
</xs:sequence>
|
878
|
+
<xs:attribute name="ref" type="xs:QName" use="required"/>
|
879
|
+
<xs:attribute name="name" use="prohibited"/>
|
880
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
881
|
+
</xs:restriction>
|
882
|
+
</xs:complexContent>
|
883
|
+
</xs:complexType>
|
884
|
+
<xs:complexType name="explicitGroup">
|
885
|
+
<xs:annotation>
|
886
|
+
<xs:documentation>
|
887
|
+
group type for the three kinds of group</xs:documentation>
|
888
|
+
</xs:annotation>
|
889
|
+
<xs:complexContent>
|
890
|
+
<xs:restriction base="xs:group">
|
891
|
+
<xs:sequence>
|
892
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
893
|
+
<xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
|
894
|
+
</xs:sequence>
|
895
|
+
<xs:attribute name="name" use="prohibited"/>
|
896
|
+
<xs:attribute name="ref" use="prohibited"/>
|
897
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
898
|
+
</xs:restriction>
|
899
|
+
</xs:complexContent>
|
900
|
+
</xs:complexType>
|
901
|
+
<xs:complexType name="simpleExplicitGroup">
|
902
|
+
<xs:complexContent>
|
903
|
+
<xs:restriction base="xs:explicitGroup">
|
904
|
+
<xs:sequence>
|
905
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
906
|
+
<xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
|
907
|
+
</xs:sequence>
|
908
|
+
<xs:attribute name="minOccurs" use="prohibited"/>
|
909
|
+
<xs:attribute name="maxOccurs" use="prohibited"/>
|
910
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
911
|
+
</xs:restriction>
|
912
|
+
</xs:complexContent>
|
913
|
+
</xs:complexType>
|
914
|
+
<xs:group name="allModel">
|
915
|
+
<xs:sequence>
|
916
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
917
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
918
|
+
<xs:annotation>
|
919
|
+
<xs:documentation>This choice with min/max is here to
|
920
|
+
avoid a pblm with the Elt:All/Choice/Seq
|
921
|
+
Particle derivation constraint</xs:documentation>
|
922
|
+
</xs:annotation>
|
923
|
+
<xs:element name="element" type="xs:localElement"/>
|
924
|
+
<xs:element ref="xs:any"/>
|
925
|
+
<xs:element name="group">
|
926
|
+
<xs:complexType>
|
927
|
+
<xs:complexContent>
|
928
|
+
<xs:restriction base="xs:groupRef">
|
929
|
+
<xs:sequence>
|
930
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
931
|
+
</xs:sequence>
|
932
|
+
<xs:attribute name="minOccurs" fixed="1" type="xs:nonNegativeInteger"/>
|
933
|
+
<xs:attribute name="maxOccurs" fixed="1" type="xs:nonNegativeInteger"/>
|
934
|
+
</xs:restriction>
|
935
|
+
</xs:complexContent>
|
936
|
+
</xs:complexType>
|
937
|
+
</xs:element>
|
938
|
+
</xs:choice>
|
939
|
+
</xs:sequence>
|
940
|
+
</xs:group>
|
941
|
+
<xs:complexType name="all">
|
942
|
+
<xs:annotation>
|
943
|
+
<xs:documentation>
|
944
|
+
Only elements allowed inside</xs:documentation>
|
945
|
+
</xs:annotation>
|
946
|
+
<xs:complexContent>
|
947
|
+
<xs:restriction base="xs:explicitGroup">
|
948
|
+
<xs:group ref="xs:allModel"/>
|
949
|
+
<xs:attribute name="minOccurs" default="1" use="optional">
|
950
|
+
<xs:simpleType>
|
951
|
+
<xs:restriction base="xs:nonNegativeInteger">
|
952
|
+
<xs:enumeration value="0"/>
|
953
|
+
<xs:enumeration value="1"/>
|
954
|
+
</xs:restriction>
|
955
|
+
</xs:simpleType>
|
956
|
+
</xs:attribute>
|
957
|
+
<xs:attribute name="maxOccurs" default="1" use="optional">
|
958
|
+
<xs:simpleType>
|
959
|
+
<xs:restriction base="xs:allNNI">
|
960
|
+
<xs:enumeration value="0"/>
|
961
|
+
<xs:enumeration value="1"/>
|
962
|
+
</xs:restriction>
|
963
|
+
</xs:simpleType>
|
964
|
+
</xs:attribute>
|
965
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
966
|
+
</xs:restriction>
|
967
|
+
</xs:complexContent>
|
968
|
+
</xs:complexType>
|
969
|
+
<xs:element name="all" type="xs:all" id="all">
|
970
|
+
<xs:annotation>
|
971
|
+
<xs:documentation source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-all"/>
|
972
|
+
</xs:annotation>
|
973
|
+
</xs:element>
|
974
|
+
<xs:element name="choice" type="xs:explicitGroup" id="choice">
|
975
|
+
<xs:annotation>
|
976
|
+
<xs:documentation
|
977
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-choice"/>
|
978
|
+
</xs:annotation>
|
979
|
+
</xs:element>
|
980
|
+
<xs:element name="sequence" type="xs:explicitGroup" id="sequence">
|
981
|
+
<xs:annotation>
|
982
|
+
<xs:documentation
|
983
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-sequence"/>
|
984
|
+
</xs:annotation>
|
985
|
+
</xs:element>
|
986
|
+
<xs:element name="group" type="xs:namedGroup" id="group">
|
987
|
+
<xs:annotation>
|
988
|
+
<xs:documentation source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-group"/>
|
989
|
+
</xs:annotation>
|
990
|
+
</xs:element>
|
991
|
+
<xs:attributeGroup name="anyAttrGroup">
|
992
|
+
<xs:attribute name="namespace" type="xs:namespaceList"
|
993
|
+
use="optional"/>
|
994
|
+
<xs:attribute name="notNamespace" use="optional">
|
995
|
+
<xs:simpleType>
|
996
|
+
<xs:restriction base="xs:basicNamespaceList">
|
997
|
+
<xs:minLength value="1"/>
|
998
|
+
</xs:restriction>
|
999
|
+
</xs:simpleType>
|
1000
|
+
</xs:attribute>
|
1001
|
+
<xs:attribute name="processContents" default="strict" use="optional">
|
1002
|
+
<xs:simpleType>
|
1003
|
+
<xs:restriction base="xs:NMTOKEN">
|
1004
|
+
<xs:enumeration value="skip"/>
|
1005
|
+
<xs:enumeration value="lax"/>
|
1006
|
+
<xs:enumeration value="strict"/>
|
1007
|
+
</xs:restriction>
|
1008
|
+
</xs:simpleType>
|
1009
|
+
</xs:attribute>
|
1010
|
+
</xs:attributeGroup>
|
1011
|
+
<xs:complexType name="wildcard">
|
1012
|
+
<xs:complexContent>
|
1013
|
+
<xs:extension base="xs:annotated">
|
1014
|
+
|
1015
|
+
<xs:attributeGroup ref="xs:anyAttrGroup"/>
|
1016
|
+
</xs:extension>
|
1017
|
+
</xs:complexContent>
|
1018
|
+
</xs:complexType>
|
1019
|
+
<xs:element name="any" id="any">
|
1020
|
+
<xs:annotation>
|
1021
|
+
<xs:documentation source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-any"/>
|
1022
|
+
</xs:annotation>
|
1023
|
+
<xs:complexType>
|
1024
|
+
<xs:complexContent>
|
1025
|
+
<xs:extension base="xs:wildcard">
|
1026
|
+
<xs:attribute name="notQName" type="xs:qnameList"
|
1027
|
+
use="optional"/>
|
1028
|
+
<xs:attributeGroup ref="xs:occurs"/>
|
1029
|
+
</xs:extension>
|
1030
|
+
</xs:complexContent>
|
1031
|
+
</xs:complexType>
|
1032
|
+
</xs:element>
|
1033
|
+
<xs:annotation>
|
1034
|
+
<xs:documentation>
|
1035
|
+
simple type for the value of the 'namespace' attr of
|
1036
|
+
'any' and 'anyAttribute'</xs:documentation>
|
1037
|
+
</xs:annotation>
|
1038
|
+
<xs:annotation>
|
1039
|
+
<xs:documentation>
|
1040
|
+
Value is
|
1041
|
+
##any - - any non-conflicting WFXML/attribute at all
|
1042
|
+
|
1043
|
+
##other - - any non-conflicting WFXML/attribute from
|
1044
|
+
namespace other than targetNS
|
1045
|
+
|
1046
|
+
##local - - any unqualified non-conflicting WFXML/attribute
|
1047
|
+
|
1048
|
+
one or - - any non-conflicting WFXML/attribute from
|
1049
|
+
more URI the listed namespaces
|
1050
|
+
references
|
1051
|
+
(space separated)
|
1052
|
+
|
1053
|
+
##targetNamespace or ##local may appear in the above list, to
|
1054
|
+
refer to the targetNamespace of the enclosing
|
1055
|
+
schema or an absent targetNamespace respectively</xs:documentation>
|
1056
|
+
</xs:annotation>
|
1057
|
+
<xs:simpleType name="namespaceList">
|
1058
|
+
<xs:annotation>
|
1059
|
+
<xs:documentation>
|
1060
|
+
A utility type, not for public use</xs:documentation>
|
1061
|
+
</xs:annotation>
|
1062
|
+
|
1063
|
+
<xs:union memberTypes="xs:specialNamespaceList xs:basicNamespaceList" />
|
1064
|
+
</xs:simpleType>
|
1065
|
+
<xs:simpleType name="basicNamespaceList">
|
1066
|
+
<xs:annotation>
|
1067
|
+
<xs:documentation>
|
1068
|
+
A utility type, not for public use</xs:documentation>
|
1069
|
+
</xs:annotation>
|
1070
|
+
<xs:list>
|
1071
|
+
<xs:simpleType>
|
1072
|
+
<xs:union memberTypes="xs:anyURI">
|
1073
|
+
<xs:simpleType>
|
1074
|
+
<xs:restriction base="xs:token">
|
1075
|
+
<xs:enumeration value="##targetNamespace"/>
|
1076
|
+
<xs:enumeration value="##local"/>
|
1077
|
+
</xs:restriction>
|
1078
|
+
</xs:simpleType>
|
1079
|
+
</xs:union>
|
1080
|
+
</xs:simpleType>
|
1081
|
+
</xs:list>
|
1082
|
+
</xs:simpleType>
|
1083
|
+
<xs:simpleType name="specialNamespaceList">
|
1084
|
+
<xs:annotation>
|
1085
|
+
<xs:documentation>
|
1086
|
+
A utility type, not for public use</xs:documentation>
|
1087
|
+
</xs:annotation>
|
1088
|
+
<xs:restriction base="xs:token">
|
1089
|
+
<xs:enumeration value="##any"/>
|
1090
|
+
<xs:enumeration value="##other"/>
|
1091
|
+
</xs:restriction>
|
1092
|
+
</xs:simpleType>
|
1093
|
+
<xs:simpleType name="qnameList">
|
1094
|
+
<xs:annotation>
|
1095
|
+
<xs:documentation>
|
1096
|
+
A utility type, not for public use
|
1097
|
+
</xs:documentation>
|
1098
|
+
</xs:annotation>
|
1099
|
+
<xs:list>
|
1100
|
+
<xs:simpleType>
|
1101
|
+
<xs:union memberTypes="xs:QName">
|
1102
|
+
<xs:simpleType>
|
1103
|
+
<xs:restriction base="xs:token">
|
1104
|
+
<xs:enumeration value="##defined"/>
|
1105
|
+
<xs:enumeration value="##definedSibling"/>
|
1106
|
+
</xs:restriction>
|
1107
|
+
</xs:simpleType>
|
1108
|
+
</xs:union>
|
1109
|
+
</xs:simpleType>
|
1110
|
+
</xs:list>
|
1111
|
+
</xs:simpleType>
|
1112
|
+
<xs:simpleType name="qnameListA">
|
1113
|
+
<xs:annotation>
|
1114
|
+
<xs:documentation>
|
1115
|
+
A utility type, not for public use
|
1116
|
+
</xs:documentation>
|
1117
|
+
</xs:annotation>
|
1118
|
+
<xs:list>
|
1119
|
+
<xs:simpleType>
|
1120
|
+
<xs:union memberTypes="xs:QName">
|
1121
|
+
<xs:simpleType>
|
1122
|
+
<xs:restriction base="xs:token">
|
1123
|
+
<xs:enumeration value="##defined"/>
|
1124
|
+
</xs:restriction>
|
1125
|
+
</xs:simpleType>
|
1126
|
+
</xs:union>
|
1127
|
+
</xs:simpleType>
|
1128
|
+
</xs:list>
|
1129
|
+
</xs:simpleType>
|
1130
|
+
<xs:simpleType name="xpathDefaultNamespace">
|
1131
|
+
<xs:union memberTypes="xs:anyURI">
|
1132
|
+
<xs:simpleType>
|
1133
|
+
<xs:restriction base="xs:token">
|
1134
|
+
<xs:enumeration value="##defaultNamespace"/>
|
1135
|
+
<xs:enumeration value="##targetNamespace"/>
|
1136
|
+
<xs:enumeration value="##local"/>
|
1137
|
+
</xs:restriction>
|
1138
|
+
</xs:simpleType>
|
1139
|
+
</xs:union>
|
1140
|
+
</xs:simpleType>
|
1141
|
+
<xs:element name="attribute" type="xs:topLevelAttribute" id="attribute">
|
1142
|
+
<xs:annotation>
|
1143
|
+
<xs:documentation
|
1144
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-attribute"/>
|
1145
|
+
</xs:annotation>
|
1146
|
+
</xs:element>
|
1147
|
+
<xs:complexType name="attributeGroup" abstract="true">
|
1148
|
+
<xs:complexContent>
|
1149
|
+
<xs:extension base="xs:annotated">
|
1150
|
+
|
1151
|
+
<xs:group ref="xs:attrDecls"/>
|
1152
|
+
|
1153
|
+
<xs:attributeGroup ref="xs:defRef"/>
|
1154
|
+
</xs:extension>
|
1155
|
+
</xs:complexContent>
|
1156
|
+
</xs:complexType>
|
1157
|
+
<xs:complexType name="namedAttributeGroup">
|
1158
|
+
<xs:complexContent>
|
1159
|
+
<xs:restriction base="xs:attributeGroup">
|
1160
|
+
<xs:sequence>
|
1161
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
1162
|
+
<xs:group ref="xs:attrDecls"/>
|
1163
|
+
|
1164
|
+
</xs:sequence>
|
1165
|
+
<xs:attribute name="name" type="xs:NCName" use="required"/>
|
1166
|
+
<xs:attribute name="ref" use="prohibited"/>
|
1167
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
1168
|
+
</xs:restriction>
|
1169
|
+
</xs:complexContent>
|
1170
|
+
</xs:complexType>
|
1171
|
+
<xs:complexType name="attributeGroupRef">
|
1172
|
+
<xs:complexContent>
|
1173
|
+
<xs:restriction base="xs:attributeGroup">
|
1174
|
+
<xs:sequence>
|
1175
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
1176
|
+
</xs:sequence>
|
1177
|
+
<xs:attribute name="ref" type="xs:QName" use="required"/>
|
1178
|
+
<xs:attribute name="name" use="prohibited"/>
|
1179
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
1180
|
+
</xs:restriction>
|
1181
|
+
</xs:complexContent>
|
1182
|
+
</xs:complexType>
|
1183
|
+
<xs:element name="attributeGroup" type="xs:namedAttributeGroup"
|
1184
|
+
id="attributeGroup">
|
1185
|
+
<xs:annotation>
|
1186
|
+
<xs:documentation
|
1187
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-attributeGroup"/>
|
1188
|
+
</xs:annotation>
|
1189
|
+
</xs:element>
|
1190
|
+
<xs:element name="include" id="include">
|
1191
|
+
<xs:annotation>
|
1192
|
+
<xs:documentation
|
1193
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-include"/>
|
1194
|
+
</xs:annotation>
|
1195
|
+
<xs:complexType>
|
1196
|
+
<xs:complexContent>
|
1197
|
+
<xs:extension base="xs:annotated">
|
1198
|
+
<xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
|
1199
|
+
</xs:extension>
|
1200
|
+
</xs:complexContent>
|
1201
|
+
</xs:complexType>
|
1202
|
+
</xs:element>
|
1203
|
+
<xs:element name="redefine" id="redefine">
|
1204
|
+
<xs:annotation>
|
1205
|
+
<xs:documentation
|
1206
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-redefine"/>
|
1207
|
+
</xs:annotation>
|
1208
|
+
<xs:complexType>
|
1209
|
+
<xs:complexContent>
|
1210
|
+
<xs:extension base="xs:openAttrs">
|
1211
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1212
|
+
<xs:element ref="xs:annotation"/>
|
1213
|
+
<xs:group ref="xs:redefinable"/>
|
1214
|
+
</xs:choice>
|
1215
|
+
<xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
|
1216
|
+
<xs:attribute name="id" type="xs:ID"/>
|
1217
|
+
</xs:extension>
|
1218
|
+
</xs:complexContent>
|
1219
|
+
</xs:complexType>
|
1220
|
+
</xs:element>
|
1221
|
+
|
1222
|
+
<xs:element name="override" id="override">
|
1223
|
+
<xs:annotation>
|
1224
|
+
<xs:documentation
|
1225
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-override"/>
|
1226
|
+
</xs:annotation>
|
1227
|
+
<xs:complexType>
|
1228
|
+
<xs:complexContent>
|
1229
|
+
<xs:extension base="xs:openAttrs">
|
1230
|
+
<xs:sequence>
|
1231
|
+
<xs:element ref="xs:annotation" minOccurs="0"/>
|
1232
|
+
<xs:group ref="xs:schemaTop" minOccurs="0" maxOccurs="unbounded"/>
|
1233
|
+
</xs:sequence>
|
1234
|
+
<xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
|
1235
|
+
<xs:attribute name="id" type="xs:ID"/>
|
1236
|
+
</xs:extension>
|
1237
|
+
</xs:complexContent>
|
1238
|
+
</xs:complexType>
|
1239
|
+
</xs:element>
|
1240
|
+
<xs:element name="import" id="import">
|
1241
|
+
<xs:annotation>
|
1242
|
+
<xs:documentation
|
1243
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-import"/>
|
1244
|
+
</xs:annotation>
|
1245
|
+
<xs:complexType>
|
1246
|
+
<xs:complexContent>
|
1247
|
+
<xs:extension base="xs:annotated">
|
1248
|
+
<xs:attribute name="namespace" type="xs:anyURI"/>
|
1249
|
+
<xs:attribute name="schemaLocation" type="xs:anyURI"/>
|
1250
|
+
</xs:extension>
|
1251
|
+
</xs:complexContent>
|
1252
|
+
</xs:complexType>
|
1253
|
+
</xs:element>
|
1254
|
+
<xs:element name="selector" id="selector">
|
1255
|
+
<xs:annotation>
|
1256
|
+
<xs:documentation
|
1257
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-selector"/>
|
1258
|
+
</xs:annotation>
|
1259
|
+
<xs:complexType>
|
1260
|
+
<xs:complexContent>
|
1261
|
+
<xs:extension base="xs:annotated">
|
1262
|
+
<xs:attribute name="xpath" use="required">
|
1263
|
+
<xs:simpleType>
|
1264
|
+
<xs:annotation>
|
1265
|
+
<xs:documentation>A subset of XPath expressions for use
|
1266
|
+
in selectors</xs:documentation>
|
1267
|
+
<xs:documentation>A utility type, not for public
|
1268
|
+
use</xs:documentation>
|
1269
|
+
</xs:annotation>
|
1270
|
+
<xs:restriction base="xs:token"/>
|
1271
|
+
|
1272
|
+
</xs:simpleType>
|
1273
|
+
</xs:attribute>
|
1274
|
+
<xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace"/>
|
1275
|
+
</xs:extension>
|
1276
|
+
</xs:complexContent>
|
1277
|
+
</xs:complexType>
|
1278
|
+
</xs:element>
|
1279
|
+
<xs:element name="field" id="field">
|
1280
|
+
<xs:annotation>
|
1281
|
+
<xs:documentation source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-field"/>
|
1282
|
+
</xs:annotation>
|
1283
|
+
<xs:complexType>
|
1284
|
+
<xs:complexContent>
|
1285
|
+
<xs:extension base="xs:annotated">
|
1286
|
+
<xs:attribute name="xpath" use="required">
|
1287
|
+
<xs:simpleType>
|
1288
|
+
<xs:annotation>
|
1289
|
+
<xs:documentation>A subset of XPath expressions for use
|
1290
|
+
in fields</xs:documentation>
|
1291
|
+
<xs:documentation>A utility type, not for public
|
1292
|
+
use</xs:documentation>
|
1293
|
+
</xs:annotation>
|
1294
|
+
<xs:restriction base="xs:token"/>
|
1295
|
+
|
1296
|
+
</xs:simpleType>
|
1297
|
+
</xs:attribute>
|
1298
|
+
<xs:attribute name="xpathDefaultNamespace" type="xs:xpathDefaultNamespace"/>
|
1299
|
+
</xs:extension>
|
1300
|
+
</xs:complexContent>
|
1301
|
+
</xs:complexType>
|
1302
|
+
</xs:element>
|
1303
|
+
<xs:complexType name="keybase">
|
1304
|
+
<xs:complexContent>
|
1305
|
+
<xs:extension base="xs:annotated">
|
1306
|
+
<xs:sequence minOccurs="0">
|
1307
|
+
<xs:element ref="xs:selector"/>
|
1308
|
+
<xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>
|
1309
|
+
</xs:sequence>
|
1310
|
+
<xs:attribute name="name" type="xs:NCName"/>
|
1311
|
+
<xs:attribute name="ref" type="xs:QName"/>
|
1312
|
+
</xs:extension>
|
1313
|
+
</xs:complexContent>
|
1314
|
+
</xs:complexType>
|
1315
|
+
<xs:group name="identityConstraint">
|
1316
|
+
<xs:annotation>
|
1317
|
+
<xs:documentation>The three kinds of identity constraints, all with
|
1318
|
+
type of or derived from 'keybase'.
|
1319
|
+
</xs:documentation>
|
1320
|
+
</xs:annotation>
|
1321
|
+
<xs:choice>
|
1322
|
+
<xs:element ref="xs:unique"/>
|
1323
|
+
<xs:element ref="xs:key"/>
|
1324
|
+
<xs:element ref="xs:keyref"/>
|
1325
|
+
</xs:choice>
|
1326
|
+
</xs:group>
|
1327
|
+
<xs:element name="unique" type="xs:keybase" id="unique">
|
1328
|
+
<xs:annotation>
|
1329
|
+
<xs:documentation
|
1330
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-unique"/>
|
1331
|
+
</xs:annotation>
|
1332
|
+
</xs:element>
|
1333
|
+
<xs:element name="key" type="xs:keybase" id="key">
|
1334
|
+
<xs:annotation>
|
1335
|
+
<xs:documentation source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-key"/>
|
1336
|
+
</xs:annotation>
|
1337
|
+
</xs:element>
|
1338
|
+
<xs:element name="keyref" id="keyref">
|
1339
|
+
<xs:annotation>
|
1340
|
+
<xs:documentation
|
1341
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-keyref"/>
|
1342
|
+
</xs:annotation>
|
1343
|
+
<xs:complexType>
|
1344
|
+
<xs:complexContent>
|
1345
|
+
<xs:extension base="xs:keybase">
|
1346
|
+
<xs:attribute name="refer" type="xs:QName"/>
|
1347
|
+
</xs:extension>
|
1348
|
+
</xs:complexContent>
|
1349
|
+
</xs:complexType>
|
1350
|
+
</xs:element>
|
1351
|
+
<xs:element name="notation" id="notation">
|
1352
|
+
<xs:annotation>
|
1353
|
+
<xs:documentation
|
1354
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-notation"/>
|
1355
|
+
</xs:annotation>
|
1356
|
+
<xs:complexType>
|
1357
|
+
<xs:complexContent>
|
1358
|
+
<xs:extension base="xs:annotated">
|
1359
|
+
<xs:attribute name="name" type="xs:NCName" use="required"/>
|
1360
|
+
<xs:attribute name="public" type="xs:public"/>
|
1361
|
+
<xs:attribute name="system" type="xs:anyURI"/>
|
1362
|
+
</xs:extension>
|
1363
|
+
</xs:complexContent>
|
1364
|
+
</xs:complexType>
|
1365
|
+
</xs:element>
|
1366
|
+
<xs:simpleType name="public">
|
1367
|
+
<xs:annotation>
|
1368
|
+
<xs:documentation>
|
1369
|
+
A utility type, not for public use</xs:documentation>
|
1370
|
+
<xs:documentation>
|
1371
|
+
A public identifier, per ISO 8879</xs:documentation>
|
1372
|
+
</xs:annotation>
|
1373
|
+
<xs:restriction base="xs:token"/>
|
1374
|
+
</xs:simpleType>
|
1375
|
+
<xs:element name="appinfo" id="appinfo">
|
1376
|
+
<xs:annotation>
|
1377
|
+
<xs:documentation
|
1378
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-appinfo"/>
|
1379
|
+
</xs:annotation>
|
1380
|
+
<xs:complexType mixed="true">
|
1381
|
+
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
1382
|
+
<xs:any processContents="lax"/>
|
1383
|
+
</xs:sequence>
|
1384
|
+
<xs:attribute name="source" type="xs:anyURI"/>
|
1385
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
1386
|
+
</xs:complexType>
|
1387
|
+
</xs:element>
|
1388
|
+
<xs:element name="documentation" id="documentation">
|
1389
|
+
<xs:annotation>
|
1390
|
+
<xs:documentation
|
1391
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-documentation"/>
|
1392
|
+
</xs:annotation>
|
1393
|
+
<xs:complexType mixed="true">
|
1394
|
+
<xs:sequence minOccurs="0" maxOccurs="unbounded">
|
1395
|
+
<xs:any processContents="lax"/>
|
1396
|
+
</xs:sequence>
|
1397
|
+
<xs:attribute name="source" type="xs:anyURI"/>
|
1398
|
+
<xs:attribute ref="xml:lang"/>
|
1399
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
1400
|
+
</xs:complexType>
|
1401
|
+
</xs:element>
|
1402
|
+
<xs:element name="annotation" id="annotation">
|
1403
|
+
<xs:annotation>
|
1404
|
+
<xs:documentation
|
1405
|
+
source="http://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/structures.html#element-annotation"/>
|
1406
|
+
</xs:annotation>
|
1407
|
+
<xs:complexType>
|
1408
|
+
<xs:complexContent>
|
1409
|
+
<xs:extension base="xs:openAttrs">
|
1410
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
1411
|
+
<xs:element ref="xs:appinfo"/>
|
1412
|
+
<xs:element ref="xs:documentation"/>
|
1413
|
+
</xs:choice>
|
1414
|
+
<xs:attribute name="id" type="xs:ID"/>
|
1415
|
+
</xs:extension>
|
1416
|
+
</xs:complexContent>
|
1417
|
+
</xs:complexType>
|
1418
|
+
</xs:element>
|
1419
|
+
<xs:annotation>
|
1420
|
+
<xs:documentation>
|
1421
|
+
notations for use within schema documents</xs:documentation>
|
1422
|
+
</xs:annotation>
|
1423
|
+
<xs:notation name="XMLSchemaStructures" public="structures"
|
1424
|
+
system="http://www.w3.org/2000/08/XMLSchema.xsd"/>
|
1425
|
+
<xs:notation name="XML" public="REC-xml-19980210"
|
1426
|
+
system="http://www.w3.org/TR/1998/REC-xml-19980210"/>
|
1427
|
+
<xs:complexType name="anyType" mixed="true">
|
1428
|
+
<xs:annotation>
|
1429
|
+
<xs:documentation>
|
1430
|
+
Not the real urType, but as close an approximation as we can
|
1431
|
+
get in the XML representation</xs:documentation>
|
1432
|
+
</xs:annotation>
|
1433
|
+
<xs:sequence>
|
1434
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
1435
|
+
</xs:sequence>
|
1436
|
+
<xs:anyAttribute processContents="lax"/>
|
1437
|
+
</xs:complexType>
|
1438
|
+
|
1439
|
+
<xs:annotation>
|
1440
|
+
<xs:documentation>
|
1441
|
+
In keeping with the XML Schema WG's standard versioning policy,
|
1442
|
+
the material in this schema document will persist at the URI
|
1443
|
+
http://www.w3.org/2012/04/XMLSchema.xsd.
|
1444
|
+
|
1445
|
+
At the date of issue it can also be found at the URI
|
1446
|
+
http://www.w3.org/2009/XMLSchema/XMLSchema.xsd.
|
1447
|
+
|
1448
|
+
The schema document at that URI may however change in the future,
|
1449
|
+
in order to remain compatible with the latest version of XSD
|
1450
|
+
and its namespace. In other words, if XSD or the XML Schema
|
1451
|
+
namespace change, the version of this document at
|
1452
|
+
http://www.w3.org/2009/XMLSchema/XMLSchema.xsd will change accordingly;
|
1453
|
+
the version at http://www.w3.org/2012/04/XMLSchema.xsd will not change.
|
1454
|
+
|
1455
|
+
Previous dated (and unchanging) versions of this schema document
|
1456
|
+
include:
|
1457
|
+
|
1458
|
+
http://www.w3.org/2012/01/XMLSchema.xsd
|
1459
|
+
(XSD 1.1 Proposed Recommendation)
|
1460
|
+
|
1461
|
+
http://www.w3.org/2011/07/XMLSchema.xsd
|
1462
|
+
(XSD 1.1 Candidate Recommendation)
|
1463
|
+
|
1464
|
+
http://www.w3.org/2009/04/XMLSchema.xsd
|
1465
|
+
(XSD 1.1 Candidate Recommendation)
|
1466
|
+
|
1467
|
+
http://www.w3.org/2004/10/XMLSchema.xsd
|
1468
|
+
(XSD 1.0 Recommendation, Second Edition)
|
1469
|
+
|
1470
|
+
http://www.w3.org/2001/05/XMLSchema.xsd
|
1471
|
+
(XSD 1.0 Recommendation, First Edition)
|
1472
|
+
|
1473
|
+
|
1474
|
+
</xs:documentation>
|
1475
|
+
</xs:annotation>
|
1476
|
+
|
1477
|
+
|
1478
|
+
</xs:schema>
|
1479
|
+
|