Project

Profile

Help

Revision 98e83bb6

Added by Debbie Lockett almost 3 years ago

Bug 3711/4193 - updated version of SCM schema files

View differences:

latest9.9/samples/scm/scmschema.scm
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<scm:schema xmlns:scm="http://ns.saxonica.com/schema-component-model"
3
            generatedAt="2018-03-14T10:05:56.077Z"
3
            generatedAt="2018-11-14T18:17:04.194Z"
4 4
            xsdVersion="1.1">
5 5
   <scm:simpleType id="C0"
6
                   name="finalType"
6
                   name="complexVarietyType"
7
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
8
                   base="#NCName"
9
                   variety="atomic"
10
                   primitiveType="#string">
11
      <scm:enumeration value="mixed"/>
12
      <scm:enumeration value="simple"/>
13
      <scm:enumeration value="element-only"/>
14
      <scm:enumeration value="empty"/>
15
   </scm:simpleType>
16
   <scm:simpleType id="C1"
17
                   name="typeReferenceType"
18
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
19
                   base="#anySimpleType"
20
                   variety="union"
21
                   memberTypes="C2 #IDREF"/>
22
   <scm:simpleType id="C3"
23
                   name="notQNameListType"
7 24
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
8 25
                   base="#anySimpleType"
9 26
                   variety="list"
10
                   itemType="C1"/>
11
   <scm:simpleType id="C2"
27
                   itemType="C4"/>
28
   <scm:simpleType id="C5"
12 29
                   name="xsdVersionType"
13 30
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
14 31
                   base="#string"
......
17 34
      <scm:enumeration value="1.0"/>
18 35
      <scm:enumeration value="1.1"/>
19 36
   </scm:simpleType>
20
   <scm:simpleType id="C3"
21
                   name="processContentsType"
37
   <scm:simpleType id="C6"
38
                   name="openContentModeType"
22 39
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
23 40
                   base="#NCName"
24 41
                   variety="atomic"
25 42
                   primitiveType="#string">
26
      <scm:enumeration value="lax"/>
27
      <scm:enumeration value="skip"/>
28
      <scm:enumeration value="strict"/>
43
      <scm:enumeration value="suffix"/>
44
      <scm:enumeration value="interleave"/>
29 45
   </scm:simpleType>
30 46
   <scm:simpleType id="C4"
31
                   name="whitespaceType"
47
                   name="notQNameType"
32 48
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
33
                   base="#NCName"
34
                   variety="atomic"
35
                   primitiveType="#string">
36
      <scm:enumeration value="preserve"/>
37
      <scm:enumeration value="replace"/>
38
      <scm:enumeration value="collapse"/>
39
   </scm:simpleType>
40
   <scm:simpleType id="C5"
41
                   name="pseudoQNameType"
49
                   base="#anySimpleType"
50
                   variety="union"
51
                   memberTypes="C7 C8 #NCName"/>
52
   <scm:simpleType id="C2"
53
                   name="builtInTypeReferenceType"
42 54
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
43 55
                   base="#string"
44 56
                   variety="atomic"
45 57
                   primitiveType="#string">
46
      <scm:enumeration value="##defined"/>
47
      <scm:enumeration value="##definedSibling"/>
58
      <scm:pattern value="#[a-zA-Z0-9]+\*?"/>
48 59
   </scm:simpleType>
49
   <scm:simpleType id="C6"
50
                   name="openContentModeType"
51
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
52
                   base="#NCName"
60
   <scm:simpleType id="C9"
61
                   name="zero-length-string"
62
                   targetNamespace="http://saxon.sf.net/"
63
                   base="#string"
53 64
                   variety="atomic"
54 65
                   primitiveType="#string">
55
      <scm:enumeration value="interleave"/>
56
      <scm:enumeration value="suffix"/>
66
      <scm:length value="0"/>
57 67
   </scm:simpleType>
58
   <scm:simpleType id="C7"
68
   <scm:complexType id="C10"
69
                    name="abstractParticleType"
70
                    targetNamespace="http://ns.saxonica.com/schema-component-model"
71
                    base="#anyType"
72
                    derivationMethod="restriction"
73
                    abstract="true"
74
                    variety="empty">
75
      <scm:attributeUse required="true" inheritable="false" ref="C11"/>
76
      <scm:attributeUse required="true" inheritable="false" ref="C12"/>
77
      <scm:finiteStateMachine initialState="0">
78
         <scm:state nr="0" final="true"/>
79
      </scm:finiteStateMachine>
80
   </scm:complexType>
81
   <scm:simpleType id="C13"
59 82
                   name="xpathExpressionType"
60 83
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
61 84
                   base="#string"
......
63 86
                   primitiveType="#string">
64 87
      <scm:pattern value=".+"/>
65 88
   </scm:simpleType>
66
   <scm:simpleType id="C8"
67
                   name="typeReferenceType"
68
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
69
                   base="#anySimpleType"
70
                   variety="union"
71
                   memberTypes="C9 #IDREF"/>
72
   <scm:simpleType id="C10"
89
   <scm:simpleType id="C14"
73 90
                   name="_langType"
74 91
                   targetNamespace="http://www.w3.org/XML/1998/namespace"
75 92
                   base="#anySimpleType"
76 93
                   variety="union"
77
                   memberTypes="#language C11"/>
78
   <scm:simpleType id="C12"
79
                   name="typeReferenceListType"
94
                   memberTypes="#language C9"/>
95
   <scm:simpleType id="C15"
96
                   name="finalType"
80 97
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
81 98
                   base="#anySimpleType"
82 99
                   variety="list"
83
                   itemType="C8"/>
84
   <scm:complexType id="C13"
85
                    name="identityConstraintType"
86
                    targetNamespace="http://ns.saxonica.com/schema-component-model"
87
                    base="#anyType"
88
                    derivationMethod="restriction"
89
                    abstract="false"
90
                    variety="element-only">
91
      <scm:attributeUse required="true" inheritable="false" ref="C14"/>
92
      <scm:attributeUse required="true" inheritable="false" ref="C15"/>
93
      <scm:attributeUse required="false" inheritable="false" ref="C16"/>
94
      <scm:attributeUse required="false" inheritable="false" ref="C17"/>
95
      <scm:modelGroupParticle minOccurs="1" maxOccurs="1">
96
         <scm:sequence>
97
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C18"/>
98
            <scm:elementParticle minOccurs="1" maxOccurs="unbounded" ref="C19"/>
99
         </scm:sequence>
100
      </scm:modelGroupParticle>
101
      <scm:finiteStateMachine initialState="0">
102
         <scm:state nr="0">
103
            <scm:edge term="C18" to="1"/>
104
         </scm:state>
105
         <scm:state nr="1">
106
            <scm:edge term="C19" to="2"/>
107
         </scm:state>
108
         <scm:state nr="2" final="true">
109
            <scm:edge term="C19" to="3"/>
110
         </scm:state>
111
         <scm:state nr="3" final="true">
112
            <scm:edge term="C19" to="3"/>
113
         </scm:state>
114
      </scm:finiteStateMachine>
115
   </scm:complexType>
116
   <scm:simpleType id="C20"
117
                   name="pseudoNamespaceType"
100
                   itemType="C16"/>
101
   <scm:simpleType id="C7"
102
                   name="pseudoQNameType"
118 103
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
119 104
                   base="#string"
120 105
                   variety="atomic"
121 106
                   primitiveType="#string">
122
      <scm:enumeration value="##absent"/>
123
      <scm:enumeration value="##other"/>
124
      <scm:enumeration value="##any"/>
125
      <scm:enumeration value="##targetNamespace"/>
126
      <scm:enumeration value="##defaultNamespace"/>
127
      <scm:enumeration value="##local"/>
107
      <scm:enumeration value="##definedSibling"/>
108
      <scm:enumeration value="##defined"/>
128 109
   </scm:simpleType>
129
   <scm:simpleType id="C21"
130
                   name="namespaceListType"
110
   <scm:simpleType id="C17"
111
                   name="blockType"
131 112
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
132 113
                   base="#anySimpleType"
133 114
                   variety="list"
134
                   itemType="C22"/>
135
   <scm:simpleType id="C22"
136
                   name="namespaceType"
137
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
138
                   base="#anySimpleType"
139
                   variety="union"
140
                   memberTypes="C20 C23"/>
141
   <scm:simpleType id="C9"
142
                   name="builtInTypeReferenceType"
115
                   itemType="C16"/>
116
   <scm:simpleType id="C18"
117
                   name="pseudoNamespaceType"
143 118
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
144 119
                   base="#string"
145 120
                   variety="atomic"
146 121
                   primitiveType="#string">
147
      <scm:pattern value="#[a-zA-Z0-9]+\*?"/>
122
      <scm:enumeration value="##targetNamespace"/>
123
      <scm:enumeration value="##local"/>
124
      <scm:enumeration value="##any"/>
125
      <scm:enumeration value="##other"/>
126
      <scm:enumeration value="##defaultNamespace"/>
127
      <scm:enumeration value="##absent"/>
148 128
   </scm:simpleType>
149
   <scm:simpleType id="C24"
150
                   name="notQNameListType"
129
   <scm:simpleType id="C19"
130
                   name="typeReferenceListType"
151 131
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
152 132
                   base="#anySimpleType"
153 133
                   variety="list"
154
                   itemType="C25"/>
155
   <scm:complexType id="C26"
134
                   itemType="C1"/>
135
   <scm:complexType id="C20"
156 136
                    name="xpathContainerType"
157 137
                    targetNamespace="http://ns.saxonica.com/schema-component-model"
158 138
                    base="#anyType"
159 139
                    derivationMethod="restriction"
160 140
                    abstract="false"
161 141
                    variety="empty">
162
      <scm:attributeUse required="true" inheritable="false" ref="C27"/>
163
      <scm:attributeUse required="true" inheritable="false" ref="C28"/>
164
      <scm:attributeUse required="false" inheritable="false" ref="C29"/>
165
      <scm:attributeUse required="false" inheritable="false" ref="C30"/>
142
      <scm:attributeUse required="true" inheritable="false" ref="C21"/>
143
      <scm:attributeUse required="true" inheritable="false" ref="C22"/>
144
      <scm:attributeUse required="false" inheritable="false" ref="C23"/>
145
      <scm:attributeUse required="false" inheritable="false" ref="C24"/>
166 146
      <scm:finiteStateMachine initialState="0">
167 147
         <scm:state nr="0" final="true"/>
168 148
      </scm:finiteStateMachine>
169 149
   </scm:complexType>
170
   <scm:complexType id="C31"
171
                    name="abstractParticleType"
172
                    targetNamespace="http://ns.saxonica.com/schema-component-model"
173
                    base="#anyType"
174
                    derivationMethod="restriction"
175
                    abstract="true"
176
                    variety="empty">
177
      <scm:attributeUse required="true" inheritable="false" ref="C32"/>
178
      <scm:attributeUse required="true" inheritable="false" ref="C33"/>
179
      <scm:finiteStateMachine initialState="0">
180
         <scm:state nr="0" final="true"/>
181
      </scm:finiteStateMachine>
182
   </scm:complexType>
183
   <scm:simpleType id="C23"
184
                   name="uriType"
150
   <scm:simpleType id="C25"
151
                   name="explicitTimezoneType"
185 152
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
186
                   base="#token"
153
                   base="#NCName"
187 154
                   variety="atomic"
188 155
                   primitiveType="#string">
189
      <scm:pattern value="[^\s\r\n\t]*"/>
156
      <scm:enumeration value="optional"/>
157
      <scm:enumeration value="required"/>
158
      <scm:enumeration value="prohibited"/>
190 159
   </scm:simpleType>
191
   <scm:complexType id="C34"
192
                    name="typedValueType"
193
                    targetNamespace="http://ns.saxonica.com/schema-component-model"
194
                    base="#anyType"
195
                    derivationMethod="restriction"
196
                    abstract="false"
197
                    variety="element-only">
198
      <scm:attributeUse required="false" inheritable="false" ref="C35"/>
199
      <scm:elementParticle minOccurs="0" maxOccurs="unbounded" ref="C36"/>
200
      <scm:finiteStateMachine initialState="0">
201
         <scm:state nr="0" final="true">
202
            <scm:edge term="C36" to="1"/>
203
         </scm:state>
204
         <scm:state nr="1" final="true">
205
            <scm:edge term="C36" to="1"/>
206
         </scm:state>
207
      </scm:finiteStateMachine>
208
   </scm:complexType>
209
   <scm:simpleType id="C37"
210
                   name="complexVarietyType"
160
   <scm:simpleType id="C8"
161
                   name="clarkNameType"
211 162
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
212
                   base="#NCName"
163
                   base="#string"
213 164
                   variety="atomic"
214 165
                   primitiveType="#string">
215
      <scm:enumeration value="simple"/>
216
      <scm:enumeration value="element-only"/>
217
      <scm:enumeration value="empty"/>
218
      <scm:enumeration value="mixed"/>
166
      <scm:pattern value="\{[^{}]*\}\i\c*"/>
219 167
   </scm:simpleType>
220
   <scm:simpleType id="C38"
168
   <scm:simpleType id="C26"
221 169
                   name="maxOccursType"
222 170
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
223 171
                   base="#anySimpleType"
224 172
                   variety="union"
225
                   memberTypes="#nonNegativeInteger C39"/>
226
   <scm:simpleType id="C11"
227
                   name="zero-length-string"
228
                   targetNamespace="http://saxon.sf.net/"
229
                   base="#string"
173
                   memberTypes="#nonNegativeInteger C27"/>
174
   <scm:simpleType id="C28"
175
                   name="namespaceType"
176
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
177
                   base="#anySimpleType"
178
                   variety="union"
179
                   memberTypes="C18 C29"/>
180
   <scm:simpleType id="C30"
181
                   name="_spaceType"
182
                   base="#NCName"
230 183
                   variety="atomic"
231 184
                   primitiveType="#string">
232
      <scm:length value="0"/>
185
      <scm:enumeration value="preserve"/>
186
      <scm:enumeration value="default"/>
233 187
   </scm:simpleType>
234
   <scm:simpleType id="C40"
235
                   name="blockType"
188
   <scm:simpleType id="C31"
189
                   name="namespaceListType"
236 190
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
237 191
                   base="#anySimpleType"
238 192
                   variety="list"
239
                   itemType="C1"/>
240
   <scm:simpleType id="C41"
241
                   name="explicitTimezoneType"
193
                   itemType="C28"/>
194
   <scm:simpleType id="C32"
195
                   name="processContentsType"
242 196
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
243 197
                   base="#NCName"
244 198
                   variety="atomic"
245 199
                   primitiveType="#string">
246
      <scm:enumeration value="prohibited"/>
247
      <scm:enumeration value="optional"/>
248
      <scm:enumeration value="required"/>
200
      <scm:enumeration value="lax"/>
201
      <scm:enumeration value="skip"/>
202
      <scm:enumeration value="strict"/>
249 203
   </scm:simpleType>
250
   <scm:simpleType id="C1"
251
                   name="derivationMethodType"
204
   <scm:complexType id="C33"
205
                    name="typedValueType"
206
                    targetNamespace="http://ns.saxonica.com/schema-component-model"
207
                    base="#anyType"
208
                    derivationMethod="restriction"
209
                    abstract="false"
210
                    variety="element-only">
211
      <scm:attributeUse required="false" inheritable="false" ref="C34"/>
212
      <scm:elementParticle minOccurs="0" maxOccurs="unbounded" ref="C35"/>
213
      <scm:finiteStateMachine initialState="0">
214
         <scm:state nr="0" final="true">
215
            <scm:edge term="C35" to="1"/>
216
         </scm:state>
217
         <scm:state nr="1" final="true">
218
            <scm:edge term="C35" to="1"/>
219
         </scm:state>
220
      </scm:finiteStateMachine>
221
   </scm:complexType>
222
   <scm:simpleType id="C27"
223
                   name="unboundedType"
252 224
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
253 225
                   base="#NCName"
254 226
                   variety="atomic"
255 227
                   primitiveType="#string">
256
      <scm:enumeration value="restriction"/>
257
      <scm:enumeration value="substitution"/>
258
      <scm:enumeration value="list"/>
259
      <scm:enumeration value="extension"/>
260
      <scm:enumeration value="union"/>
228
      <scm:enumeration value="unbounded"/>
261 229
   </scm:simpleType>
262
   <scm:simpleType id="C25"
263
                   name="notQNameType"
264
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
265
                   base="#anySimpleType"
266
                   variety="union"
267
                   memberTypes="C5 C42 #NCName"/>
268
   <scm:simpleType id="C42"
269
                   name="clarkNameType"
230
   <scm:complexType id="C36"
231
                    name="identityConstraintType"
232
                    targetNamespace="http://ns.saxonica.com/schema-component-model"
233
                    base="#anyType"
234
                    derivationMethod="restriction"
235
                    abstract="false"
236
                    variety="element-only">
237
      <scm:attributeUse required="true" inheritable="false" ref="C37"/>
238
      <scm:attributeUse required="true" inheritable="false" ref="C38"/>
239
      <scm:attributeUse required="false" inheritable="false" ref="C39"/>
240
      <scm:attributeUse required="false" inheritable="false" ref="C40"/>
241
      <scm:modelGroupParticle minOccurs="1" maxOccurs="1">
242
         <scm:sequence>
243
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C41"/>
244
            <scm:elementParticle minOccurs="1" maxOccurs="unbounded" ref="C42"/>
245
         </scm:sequence>
246
      </scm:modelGroupParticle>
247
      <scm:finiteStateMachine initialState="0">
248
         <scm:state nr="0">
249
            <scm:edge term="C41" to="1"/>
250
         </scm:state>
251
         <scm:state nr="1">
252
            <scm:edge term="C42" to="2"/>
253
         </scm:state>
254
         <scm:state nr="2" final="true">
255
            <scm:edge term="C42" to="3"/>
256
         </scm:state>
257
         <scm:state nr="3" final="true">
258
            <scm:edge term="C42" to="3"/>
259
         </scm:state>
260
      </scm:finiteStateMachine>
261
   </scm:complexType>
262
   <scm:simpleType id="C16"
263
                   name="derivationMethodType"
270 264
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
271
                   base="#string"
265
                   base="#NCName"
272 266
                   variety="atomic"
273 267
                   primitiveType="#string">
274
      <scm:pattern value="\{[^{}]*\}\i\c*"/>
268
      <scm:enumeration value="extension"/>
269
      <scm:enumeration value="substitution"/>
270
      <scm:enumeration value="union"/>
271
      <scm:enumeration value="list"/>
272
      <scm:enumeration value="restriction"/>
275 273
   </scm:simpleType>
276
   <scm:simpleType id="C39"
277
                   name="unboundedType"
274
   <scm:simpleType id="C43"
275
                   name="whitespaceType"
278 276
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
279 277
                   base="#NCName"
280 278
                   variety="atomic"
281 279
                   primitiveType="#string">
282
      <scm:enumeration value="unbounded"/>
283
   </scm:simpleType>
284
   <scm:simpleType id="C43"
285
                   name="_spaceType"
286
                   base="#NCName"
280
      <scm:enumeration value="replace"/>
281
      <scm:enumeration value="preserve"/>
282
      <scm:enumeration value="collapse"/>
283
   </scm:simpleType>
284
   <scm:simpleType id="C29"
285
                   name="uriType"
286
                   targetNamespace="http://ns.saxonica.com/schema-component-model"
287
                   base="#token"
287 288
                   variety="atomic"
288 289
                   primitiveType="#string">
289
      <scm:enumeration value="preserve"/>
290
      <scm:enumeration value="default"/>
290
      <scm:pattern value="[^\s\r\n\t]*"/>
291 291
   </scm:simpleType>
292 292
   <scm:element id="C44"
293
                name="simpleType"
293
                name="totalDigits"
294 294
                targetNamespace="http://ns.saxonica.com/schema-component-model"
295 295
                type="C45"
296 296
                global="true"
297 297
                nillable="false"
298
                abstract="false"/>
299
   <scm:element id="C46"
300
                name="minExclusive"
298
                abstract="false">
299
      <scm:substitutionGroupAffiliation ref="C46"/>
300
   </scm:element>
301
   <scm:element id="C47"
302
                name="schema"
301 303
                targetNamespace="http://ns.saxonica.com/schema-component-model"
302
                type="C47"
304
                type="C48"
303 305
                global="true"
304 306
                nillable="false"
305
                abstract="false">
306
      <scm:substitutionGroupAffiliation ref="C48"/>
307
   </scm:element>
307
                abstract="false"/>
308 308
   <scm:element id="C49"
309
                name="wildcard"
309
                name="identityConstraint"
310 310
                targetNamespace="http://ns.saxonica.com/schema-component-model"
311 311
                type="C50"
312 312
                global="true"
313 313
                nillable="false"
314 314
                abstract="false"/>
315 315
   <scm:element id="C51"
316
                name="attribute"
316
                name="choice"
317 317
                targetNamespace="http://ns.saxonica.com/schema-component-model"
318 318
                type="C52"
319 319
                global="true"
320 320
                nillable="false"
321
                abstract="false"/>
322
   <scm:element id="C53"
323
                name="abstractParticle"
324
                targetNamespace="http://ns.saxonica.com/schema-component-model"
325
                type="C31"
326
                global="true"
327
                nillable="false"
328
                abstract="true"/>
321
                abstract="false">
322
      <scm:substitutionGroupAffiliation ref="C53"/>
323
   </scm:element>
329 324
   <scm:element id="C54"
330
                name="substitutionGroupAffiliation"
325
                name="element"
331 326
                targetNamespace="http://ns.saxonica.com/schema-component-model"
332 327
                type="C55"
333 328
                global="true"
334 329
                nillable="false"
335 330
                abstract="false"/>
336 331
   <scm:element id="C56"
337
                name="element"
332
                name="state"
338 333
                targetNamespace="http://ns.saxonica.com/schema-component-model"
339 334
                type="C57"
340 335
                global="true"
341 336
                nillable="false"
342 337
                abstract="false"/>
343 338
   <scm:element id="C58"
344
                name="assert"
339
                name="notation"
345 340
                targetNamespace="http://ns.saxonica.com/schema-component-model"
346 341
                type="C59"
347 342
                global="true"
348 343
                nillable="false"
349
                abstract="false">
350
      <scm:substitutionGroupAffiliation ref="C48"/>
351
   </scm:element>
344
                abstract="false"/>
352 345
   <scm:element id="C60"
353
                name="maxScale"
346
                name="attributeUse"
354 347
                targetNamespace="http://ns.saxonica.com/schema-component-model"
355 348
                type="C61"
356 349
                global="true"
357 350
                nillable="false"
358
                abstract="false">
359
      <scm:substitutionGroupAffiliation ref="C48"/>
360
   </scm:element>
361
   <scm:element id="C18"
362
                name="selector"
351
                abstract="false"/>
352
   <scm:element id="C42"
353
                name="field"
363 354
                targetNamespace="http://ns.saxonica.com/schema-component-model"
364
                type="C26"
355
                type="C20"
365 356
                global="true"
366 357
                nillable="false"
367 358
                abstract="false"/>
368 359
   <scm:element id="C62"
369
                name="state"
360
                name="minExclusive"
370 361
                targetNamespace="http://ns.saxonica.com/schema-component-model"
371 362
                type="C63"
372 363
                global="true"
373 364
                nillable="false"
374
                abstract="false"/>
375
   <scm:element id="C19"
376
                name="field"
377
                targetNamespace="http://ns.saxonica.com/schema-component-model"
378
                type="C26"
379
                global="true"
380
                nillable="false"
381
                abstract="false"/>
365
                abstract="false">
366
      <scm:substitutionGroupAffiliation ref="C46"/>
367
   </scm:element>
382 368
   <scm:element id="C64"
383
                name="minScale"
369
                name="attributeGroup"
384 370
                targetNamespace="http://ns.saxonica.com/schema-component-model"
385 371
                type="C65"
386 372
                global="true"
387 373
                nillable="false"
388
                abstract="false">
389
      <scm:substitutionGroupAffiliation ref="C48"/>
390
   </scm:element>
374
                abstract="false"/>
391 375
   <scm:element id="C66"
392
                name="maxExclusive"
376
                name="assertion"
393 377
                targetNamespace="http://ns.saxonica.com/schema-component-model"
394 378
                type="C67"
395 379
                global="true"
396 380
                nillable="false"
397
                abstract="false">
398
      <scm:substitutionGroupAffiliation ref="C48"/>
399
   </scm:element>
381
                abstract="false"/>
400 382
   <scm:element id="C68"
401
                name="explicitTimezone"
383
                name="minScale"
402 384
                targetNamespace="http://ns.saxonica.com/schema-component-model"
403 385
                type="C69"
404 386
                global="true"
405 387
                nillable="false"
406 388
                abstract="false">
407
      <scm:substitutionGroupAffiliation ref="C48"/>
389
      <scm:substitutionGroupAffiliation ref="C46"/>
408 390
   </scm:element>
409 391
   <scm:element id="C70"
410
                name="elementParticle"
392
                name="attributeWildcard"
411 393
                targetNamespace="http://ns.saxonica.com/schema-component-model"
412 394
                type="C71"
413 395
                global="true"
414 396
                nillable="false"
415
                abstract="false">
416
      <scm:substitutionGroupAffiliation ref="C53"/>
417
   </scm:element>
397
                abstract="false"/>
418 398
   <scm:element id="C72"
419
                name="totalDigits"
399
                name="fixed"
420 400
                targetNamespace="http://ns.saxonica.com/schema-component-model"
421
                type="C73"
401
                type="C33"
422 402
                global="true"
423 403
                nillable="false"
424
                abstract="false">
425
      <scm:substitutionGroupAffiliation ref="C48"/>
426
   </scm:element>
404
                abstract="false"/>
405
   <scm:element id="C73"
406
                name="keyref"
407
                targetNamespace="http://ns.saxonica.com/schema-component-model"
408
                type="C36"
409
                global="true"
410
                nillable="false"
411
                abstract="false"/>
427 412
   <scm:element id="C74"
428
                name="whiteSpace"
413
                name="maxExclusive"
429 414
                targetNamespace="http://ns.saxonica.com/schema-component-model"
430 415
                type="C75"
431 416
                global="true"
432 417
                nillable="false"
433 418
                abstract="false">
434
      <scm:substitutionGroupAffiliation ref="C48"/>
419
      <scm:substitutionGroupAffiliation ref="C46"/>
435 420
   </scm:element>
421
   <scm:element id="C53"
422
                name="abstractModelGroup"
423
                targetNamespace="http://ns.saxonica.com/schema-component-model"
424
                type="C52"
425
                global="true"
426
                nillable="false"
427
                abstract="true"/>
436 428
   <scm:element id="C76"
437
                name="minInclusive"
429
                name="length"
438 430
                targetNamespace="http://ns.saxonica.com/schema-component-model"
439 431
                type="C77"
440 432
                global="true"
441 433
                nillable="false"
442 434
                abstract="false">
443
      <scm:substitutionGroupAffiliation ref="C48"/>
435
      <scm:substitutionGroupAffiliation ref="C46"/>
444 436
   </scm:element>
437
   <scm:element id="C41"
438
                name="selector"
439
                targetNamespace="http://ns.saxonica.com/schema-component-model"
440
                type="C20"
441
                global="true"
442
                nillable="false"
443
                abstract="false"/>
445 444
   <scm:element id="C78"
446
                name="alternativeType"
445
                name="maxScale"
447 446
                targetNamespace="http://ns.saxonica.com/schema-component-model"
448 447
                type="C79"
449 448
                global="true"
450 449
                nillable="false"
451
                abstract="false"/>
450
                abstract="false">
451
      <scm:substitutionGroupAffiliation ref="C46"/>
452
   </scm:element>
452 453
   <scm:element id="C80"
453
                name="complexType"
454
                name="elementParticle"
454 455
                targetNamespace="http://ns.saxonica.com/schema-component-model"
455 456
                type="C81"
456 457
                global="true"
457 458
                nillable="false"
458
                abstract="false"/>
459
   <scm:element id="C82"
460
                name="attributeUse"
459
                abstract="false">
460
      <scm:substitutionGroupAffiliation ref="C82"/>
461
   </scm:element>
462
   <scm:element id="C83"
463
                name="complexType"
461 464
                targetNamespace="http://ns.saxonica.com/schema-component-model"
462
                type="C83"
465
                type="C84"
463 466
                global="true"
464 467
                nillable="false"
465 468
                abstract="false"/>
466
   <scm:element id="C84"
467
                name="finiteStateMachine"
469
   <scm:element id="C85"
470
                name="default"
468 471
                targetNamespace="http://ns.saxonica.com/schema-component-model"
469
                type="C85"
472
                type="C33"
470 473
                global="true"
471 474
                nillable="false"
472 475
                abstract="false"/>
473 476
   <scm:element id="C86"
474
                name="edge"
477
                name="minInclusive"
475 478
                targetNamespace="http://ns.saxonica.com/schema-component-model"
476 479
                type="C87"
477 480
                global="true"
478 481
                nillable="false"
479
                abstract="false"/>
480
   <scm:element id="C48"
481
                name="abstractFacet"
482
                abstract="false">
483
      <scm:substitutionGroupAffiliation ref="C46"/>
484
   </scm:element>
485
   <scm:element id="C88"
486
                name="all"
482 487
                targetNamespace="http://ns.saxonica.com/schema-component-model"
483
                type="#anyType"
488
                type="C52"
484 489
                global="true"
485 490
                nillable="false"
486
                abstract="true"/>
487
   <scm:element id="C88"
488
                name="unique"
491
                abstract="false">
492
      <scm:substitutionGroupAffiliation ref="C53"/>
493
   </scm:element>
494
   <scm:element id="C89"
495
                name="key"
489 496
                targetNamespace="http://ns.saxonica.com/schema-component-model"
490
                type="C13"
497
                type="C36"
491 498
                global="true"
492 499
                nillable="false"
493 500
                abstract="false"/>
494
   <scm:element id="C89"
501
   <scm:element id="C90"
495 502
                name="maxInclusive"
496 503
                targetNamespace="http://ns.saxonica.com/schema-component-model"
497
                type="C90"
504
                type="C91"
498 505
                global="true"
499 506
                nillable="false"
500 507
                abstract="false">
501
      <scm:substitutionGroupAffiliation ref="C48"/>
508
      <scm:substitutionGroupAffiliation ref="C46"/>
502 509
   </scm:element>
503
   <scm:element id="C91"
504
                name="elementWildcard"
510
   <scm:element id="C92"
511
                name="pattern"
505 512
                targetNamespace="http://ns.saxonica.com/schema-component-model"
506
                type="C92"
513
                type="C93"
507 514
                global="true"
508 515
                nillable="false"
509 516
                abstract="false">
510
      <scm:substitutionGroupAffiliation ref="C53"/>
517
      <scm:substitutionGroupAffiliation ref="C46"/>
511 518
   </scm:element>
512
   <scm:element id="C93"
513
                name="modelGroupParticle"
519
   <scm:element id="C82"
520
                name="abstractParticle"
514 521
                targetNamespace="http://ns.saxonica.com/schema-component-model"
515
                type="C94"
522
                type="C10"
516 523
                global="true"
517 524
                nillable="false"
518
                abstract="false">
519
      <scm:substitutionGroupAffiliation ref="C53"/>
520
   </scm:element>
525
                abstract="true"/>
526
   <scm:element id="C94"
527
                name="unique"
528
                targetNamespace="http://ns.saxonica.com/schema-component-model"
529
                type="C36"
530
                global="true"
531
                nillable="false"
532
                abstract="false"/>
521 533
   <scm:element id="C95"
522
                name="attributeWildcard"
534
                name="wildcard"
523 535
                targetNamespace="http://ns.saxonica.com/schema-component-model"
524 536
                type="C96"
525 537
                global="true"
526 538
                nillable="false"
527 539
                abstract="false"/>
528 540
   <scm:element id="C97"
529
                name="minLength"
541
                name="modelGroupDefinition"
530 542
                targetNamespace="http://ns.saxonica.com/schema-component-model"
531 543
                type="C98"
532 544
                global="true"
533 545
                nillable="false"
534
                abstract="false">
535
      <scm:substitutionGroupAffiliation ref="C48"/>
536
   </scm:element>
546
                abstract="false"/>
537 547
   <scm:element id="C99"
538
                name="preprocess"
548
                name="fractionDigits"
539 549
                targetNamespace="http://ns.saxonica.com/schema-component-model"
540 550
                type="C100"
541 551
                global="true"
542 552
                nillable="false"
543 553
                abstract="false">
544
      <scm:substitutionGroupAffiliation ref="C48"/>
554
      <scm:substitutionGroupAffiliation ref="C46"/>
545 555
   </scm:element>
546 556
   <scm:element id="C101"
547
                name="attributeGroup"
557
                name="explicitTimezone"
548 558
                targetNamespace="http://ns.saxonica.com/schema-component-model"
549 559
                type="C102"
550 560
                global="true"
551 561
                nillable="false"
552
                abstract="false"/>
562
                abstract="false">
563
      <scm:substitutionGroupAffiliation ref="C46"/>
564
   </scm:element>
553 565
   <scm:element id="C103"
554
                name="identityConstraint"
566
                name="edge"
555 567
                targetNamespace="http://ns.saxonica.com/schema-component-model"
556 568
                type="C104"
557 569
                global="true"
558 570
                nillable="false"
559 571
                abstract="false"/>
560 572
   <scm:element id="C105"
561
                name="choice"
573
                name="finiteStateMachine"
562 574
                targetNamespace="http://ns.saxonica.com/schema-component-model"
563 575
                type="C106"
564 576
                global="true"
565 577
                nillable="false"
566
                abstract="false">
567
      <scm:substitutionGroupAffiliation ref="C107"/>
568
   </scm:element>
578
                abstract="false"/>
569 579
   <scm:element id="C107"
570
                name="abstractModelGroup"
571
                targetNamespace="http://ns.saxonica.com/schema-component-model"
572
                type="C106"
573
                global="true"
574
                nillable="false"
575
                abstract="true"/>
576
   <scm:element id="C108"
577
                name="fractionDigits"
580
                name="elementWildcard"
578 581
                targetNamespace="http://ns.saxonica.com/schema-component-model"
579
                type="C109"
582
                type="C108"
580 583
                global="true"
581 584
                nillable="false"
582 585
                abstract="false">
583
      <scm:substitutionGroupAffiliation ref="C48"/>
586
      <scm:substitutionGroupAffiliation ref="C82"/>
584 587
   </scm:element>
585
   <scm:element id="C110"
586
                name="notation"
587
                targetNamespace="http://ns.saxonica.com/schema-component-model"
588
                type="C111"
589
                global="true"
590
                nillable="false"
591
                abstract="false"/>
592
   <scm:element id="C112"
593
                name="maxLength"
588
   <scm:element id="C109"
589
                name="modelGroupParticle"
594 590
                targetNamespace="http://ns.saxonica.com/schema-component-model"
595
                type="C113"
591
                type="C110"
596 592
                global="true"
597 593
                nillable="false"
598 594
                abstract="false">
599
      <scm:substitutionGroupAffiliation ref="C48"/>
595
      <scm:substitutionGroupAffiliation ref="C82"/>
600 596
   </scm:element>
601
   <scm:element id="C114"
602
                name="pattern"
597
   <scm:element id="C111"
598
                name="substitutionGroupAffiliation"
603 599
                targetNamespace="http://ns.saxonica.com/schema-component-model"
604
                type="C115"
600
                type="C112"
605 601
                global="true"
606 602
                nillable="false"
607
                abstract="false">
608
      <scm:substitutionGroupAffiliation ref="C48"/>
609
   </scm:element>
610
   <scm:element id="C116"
611
                name="sequence"
603
                abstract="false"/>
604
   <scm:element id="C113"
605
                name="attribute"
612 606
                targetNamespace="http://ns.saxonica.com/schema-component-model"
613
                type="C106"
607
                type="C114"
614 608
                global="true"
615 609
                nillable="false"
616
                abstract="false">
617
      <scm:substitutionGroupAffiliation ref="C107"/>
618
   </scm:element>
619
   <scm:element id="C117"
620
                name="fixed"
610
                abstract="false"/>
611
   <scm:element id="C115"
612
                name="alternativeType"
621 613
                targetNamespace="http://ns.saxonica.com/schema-component-model"
622
                type="C34"
614
                type="C116"
623 615
                global="true"
624 616
                nillable="false"
625 617
                abstract="false"/>
626
   <scm:element id="C118"
627
                name="key"
618
   <scm:element id="C117"
619
                name="assert"
628 620
                targetNamespace="http://ns.saxonica.com/schema-component-model"
629
                type="C13"
621
                type="C118"
630 622
                global="true"
631 623
                nillable="false"
632
                abstract="false"/>
624
                abstract="false">
625
      <scm:substitutionGroupAffiliation ref="C46"/>
626
   </scm:element>
633 627
   <scm:element id="C119"
634
                name="assertion"
628
                name="enumeration"
635 629
                targetNamespace="http://ns.saxonica.com/schema-component-model"
636 630
                type="C120"
637 631
                global="true"
638 632
                nillable="false"
639
                abstract="false"/>
633
                abstract="false">
634
      <scm:substitutionGroupAffiliation ref="C46"/>
635
   </scm:element>
640 636
   <scm:element id="C121"
641
                name="enumeration"
637
                name="minLength"
642 638
                targetNamespace="http://ns.saxonica.com/schema-component-model"
643 639
                type="C122"
644 640
                global="true"
645 641
                nillable="false"
646 642
                abstract="false">
647
      <scm:substitutionGroupAffiliation ref="C48"/>
643
      <scm:substitutionGroupAffiliation ref="C46"/>
648 644
   </scm:element>
649 645
   <scm:element id="C123"
650
                name="modelGroupDefinition"
646
                name="preprocess"
651 647
                targetNamespace="http://ns.saxonica.com/schema-component-model"
652 648
                type="C124"
653 649
                global="true"
654 650
                nillable="false"
655
                abstract="false"/>
651
                abstract="false">
652
      <scm:substitutionGroupAffiliation ref="C46"/>
653
   </scm:element>
656 654
   <scm:element id="C125"
657
                name="openContent"
655
                name="whiteSpace"
658 656
                targetNamespace="http://ns.saxonica.com/schema-component-model"
659 657
                type="C126"
660 658
                global="true"
661 659
                nillable="false"
662
                abstract="false"/>
660
                abstract="false">
661
      <scm:substitutionGroupAffiliation ref="C46"/>
662
   </scm:element>
663 663
   <scm:element id="C127"
664
                name="keyref"
664
                name="sequence"
665 665
                targetNamespace="http://ns.saxonica.com/schema-component-model"
666
                type="C13"
666
                type="C52"
667 667
                global="true"
668 668
                nillable="false"
669
                abstract="false"/>
669
                abstract="false">
670
      <scm:substitutionGroupAffiliation ref="C53"/>
671
   </scm:element>
672
   <scm:element id="C46"
673
                name="abstractFacet"
674
                targetNamespace="http://ns.saxonica.com/schema-component-model"
675
                type="#anyType"
676
                global="true"
677
                nillable="false"
678
                abstract="true"/>
670 679
   <scm:element id="C128"
671
                name="schema"
680
                name="simpleType"
672 681
                targetNamespace="http://ns.saxonica.com/schema-component-model"
673 682
                type="C129"
674 683
                global="true"
675 684
                nillable="false"
676 685
                abstract="false"/>
677 686
   <scm:element id="C130"
678
                name="length"
687
                name="maxLength"
679 688
                targetNamespace="http://ns.saxonica.com/schema-component-model"
680 689
                type="C131"
681 690
                global="true"
682 691
                nillable="false"
683 692
                abstract="false">
684
      <scm:substitutionGroupAffiliation ref="C48"/>
693
      <scm:substitutionGroupAffiliation ref="C46"/>
685 694
   </scm:element>
686 695
   <scm:element id="C132"
687
                name="all"
696
                name="openContent"
688 697
                targetNamespace="http://ns.saxonica.com/schema-component-model"
689
                type="C106"
698
                type="C133"
690 699
                global="true"
691 700
                nillable="false"
692
                abstract="false">
693
      <scm:substitutionGroupAffiliation ref="C107"/>
694
   </scm:element>
695
   <scm:attribute id="C133"
696
                  name="lang"
701
                abstract="false"/>
702
   <scm:attribute id="C134"
703
                  name="space"
697 704
                  targetNamespace="http://www.w3.org/XML/1998/namespace"
698
                  type="C10"
705
                  type="C30"
699 706
                  global="true"
700 707
                  inheritable="false"/>
701
   <scm:attribute id="C134"
702
                  name="id"
708
   <scm:attribute id="C135"
709
                  name="lang"
703 710
                  targetNamespace="http://www.w3.org/XML/1998/namespace"
704
                  type="#ID"
711
                  type="C14"
705 712
                  global="true"
706 713
                  inheritable="false"/>
707
   <scm:attribute id="C30"
714
   <scm:attribute id="C24"
708 715
                  name="base"
709 716
                  targetNamespace="http://www.w3.org/XML/1998/namespace"
710 717
                  type="#anyURI"
711 718
                  global="true"
712 719
                  inheritable="false"/>
713
   <scm:attribute id="C135"
714
                  name="space"
720
   <scm:attribute id="C136"
721
                  name="id"
715 722
                  targetNamespace="http://www.w3.org/XML/1998/namespace"
716
                  type="C43"
723
                  type="#ID"
717 724
                  global="true"
718 725
                  inheritable="false"/>
719
   <scm:complexType id="C122"
726
   <scm:attribute id="C11"
727
                  name="maxOccurs"
728
                  type="C26"
729
                  global="false"
730
                  inheritable="false"
731
                  containingComplexType="C10"/>
732
   <scm:attribute id="C12"
733
                  name="minOccurs"
734
                  type="#nonNegativeInteger"
735
                  global="false"
736
                  inheritable="false"
737
                  containingComplexType="C10"/>
738
   <scm:attribute id="C21"
739
                  name="xpath"
740
                  type="C13"
741
                  global="false"
742
                  inheritable="false"
743
                  containingComplexType="C20"/>
744
   <scm:attribute id="C22"
745
                  name="defaultNamespace"
746
                  type="C29"
747
                  global="false"
748
                  inheritable="false"
749
                  containingComplexType="C20"/>
750
   <scm:attribute id="C23"
751
                  name="type"
752
                  type="C2"
753
                  global="false"
754
                  inheritable="false"
755
                  containingComplexType="C20"/>
756
   <scm:attribute id="C34"
757
                  name="lexicalForm"
758
                  type="#string"
759
                  global="false"
760
                  inheritable="false"
761
                  containingComplexType="C33"/>
762
   <scm:element id="C35"
763
                name="item"
764
                targetNamespace="http://ns.saxonica.com/schema-component-model"
765
                type="C137"
766
                global="false"
767
                containingComplexType="C33"
768
                nillable="false"
769
                abstract="false"/>
770
   <scm:attribute id="C37"
771
                  name="id"
772
                  type="#ID"
773
                  global="false"
774
                  inheritable="false"
775
                  containingComplexType="C36"/>
776
   <scm:attribute id="C38"
777
                  name="name"
778
                  type="#NCName"
779
                  global="false"
780
                  inheritable="false"
781
                  containingComplexType="C36"/>
782
   <scm:attribute id="C39"
783
                  name="targetNamespace"
784
                  type="C29"
785
                  global="false"
786
                  inheritable="false"
787
                  containingComplexType="C36"/>
788
   <scm:attribute id="C40"
789
                  name="key"
790
                  type="#IDREF"
791
                  global="false"
792
                  inheritable="false"
793
                  containingComplexType="C36"/>
794
   <scm:complexType id="C45"
720 795
                    base="#anyType"
721 796
                    derivationMethod="restriction"
722 797
                    abstract="false"
723 798
                    variety="empty">
724
      <scm:attributeUse required="true" inheritable="false" ref="C136"/>
725
      <scm:attributeUse required="false" inheritable="false" ref="C137" default="false"/>
799
      <scm:attributeUse required="true" inheritable="false" ref="C138"/>
800
      <scm:attributeUse required="false" inheritable="false" ref="C139" default="false">
801
         <scm:default lexicalForm="false">
802
            <scm:item type="#boolean" value="false"/>
803
         </scm:default>
804
      </scm:attributeUse>
726 805
      <scm:finiteStateMachine initialState="0">
727 806
         <scm:state nr="0" final="true"/>
728 807
      </scm:finiteStateMachine>
729 808
   </scm:complexType>
730
   <scm:complexType id="C94"
731
                    base="C31"
732
                    derivationMethod="extension"
809
   <scm:complexType id="C48"
810
                    base="#anyType"
811
                    derivationMethod="restriction"
733 812
                    abstract="false"
734 813
                    variety="element-only">
735
      <scm:attributeUse required="false" inheritable="false" ref="C138"/>
736
      <scm:attributeUse required="true" inheritable="false" ref="C32"/>
737
      <scm:attributeUse required="true" inheritable="false" ref="C33"/>
738
      <scm:elementParticle minOccurs="0" maxOccurs="unbounded" ref="C107"/>
814
      <scm:attributeUse required="false" inheritable="false" ref="C140"/>
815
      <scm:attributeUse required="false" inheritable="false" ref="C141"/>
816
      <scm:modelGroupParticle minOccurs="0" maxOccurs="unbounded">
817
         <scm:choice>
818
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C54"/>
819
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C113"/>
820
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C83"/>
821
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C128"/>
822
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C64"/>
823
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C97"/>
824
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C58"/>
825
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C95"/>
826
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C94"/>
827
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C89"/>
828
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C73"/>
829
         </scm:choice>
830
      </scm:modelGroupParticle>
739 831
      <scm:finiteStateMachine initialState="0">
740 832
         <scm:state nr="0" final="true">
741
            <scm:edge term="C105" to="1"/>
742
            <scm:edge term="C132" to="1"/>
743
            <scm:edge term="C116" to="1"/>
744
            <scm:edge term="C107" to="1"/>
833
            <scm:edge term="C89" to="1"/>
834
            <scm:edge term="C58" to="1"/>
835
            <scm:edge term="C95" to="1"/>
836
            <scm:edge term="C113" to="1"/>
837
            <scm:edge term="C94" to="1"/>
838
            <scm:edge term="C83" to="1"/>
839
            <scm:edge term="C128" to="1"/>
840
            <scm:edge term="C64" to="1"/>
841
            <scm:edge term="C54" to="1"/>
842
            <scm:edge term="C97" to="1"/>
843
            <scm:edge term="C73" to="1"/>
745 844
         </scm:state>
746 845
         <scm:state nr="1" final="true">
747
            <scm:edge term="C105" to="1"/>
748
            <scm:edge term="C132" to="1"/>
749
            <scm:edge term="C116" to="1"/>
750
            <scm:edge term="C107" to="1"/>
846
            <scm:edge term="C89" to="1"/>
847
            <scm:edge term="C58" to="1"/>
848
            <scm:edge term="C95" to="1"/>
849
            <scm:edge term="C113" to="1"/>
850
            <scm:edge term="C94" to="1"/>
851
            <scm:edge term="C83" to="1"/>
852
            <scm:edge term="C128" to="1"/>
853
            <scm:edge term="C64" to="1"/>
854
            <scm:edge term="C54" to="1"/>
855
            <scm:edge term="C97" to="1"/>
856
            <scm:edge term="C73" to="1"/>
751 857
         </scm:state>
752 858
      </scm:finiteStateMachine>
753 859
   </scm:complexType>
754
   <scm:complexType id="C126"
860
   <scm:complexType id="C50"
755 861
                    base="#anyType"
756 862
                    derivationMethod="restriction"
757 863
                    abstract="false"
758 864
                    variety="empty">
759
      <scm:attributeUse required="false" inheritable="false" ref="C139"/>
760
      <scm:attributeUse required="false" inheritable="false" ref="C140"/>
865
      <scm:attributeUse required="true" inheritable="false" ref="C142"/>
866
      <scm:attributeUse required="false" inheritable="false" ref="C24"/>
761 867
      <scm:finiteStateMachine initialState="0">
762 868
         <scm:state nr="0" final="true"/>
763 869
      </scm:finiteStateMachine>
764 870
   </scm:complexType>
765
   <scm:attribute id="C136"
766
                  name="value"
767
                  type="#anySimpleType"
768
                  global="false"
769
                  inheritable="false"
770
                  containingComplexType="C122"/>
771
   <scm:complexType id="C83"
871
   <scm:complexType id="C52"
772 872
                    base="#anyType"
773 873
                    derivationMethod="restriction"
774 874
                    abstract="false"
775 875
                    variety="element-only">
776
      <scm:attributeUse required="false" inheritable="false" ref="C141"/>
777
      <scm:attributeUse required="true" inheritable="false" ref="C142"/>
778
      <scm:attributeUse required="true" inheritable="false" ref="C143"/>
779
      <scm:attributeUse required="true" inheritable="false" ref="C144"/>
780
      <scm:elementParticle minOccurs="0" maxOccurs="1" ref="C117"/>
876
      <scm:modelGroupParticle minOccurs="0" maxOccurs="unbounded">
877
         <scm:sequence>
878
            <scm:elementParticle minOccurs="1" maxOccurs="1" ref="C82"/>
879
         </scm:sequence>
880
      </scm:modelGroupParticle>
781 881
      <scm:finiteStateMachine initialState="0">
782 882
         <scm:state nr="0" final="true">
783
            <scm:edge term="C117" to="1"/>
883
            <scm:edge term="C107" to="1"/>
884
            <scm:edge term="C82" to="1"/>
885
            <scm:edge term="C80" to="1"/>
886
            <scm:edge term="C109" to="1"/>
887
         </scm:state>
888
         <scm:state nr="1" final="true">
889
            <scm:edge term="C107" to="1"/>
890
            <scm:edge term="C82" to="1"/>
891
            <scm:edge term="C80" to="1"/>
892
            <scm:edge term="C109" to="1"/>
784 893
         </scm:state>
785
         <scm:state nr="1" final="true"/>
786 894
      </scm:finiteStateMachine>
787 895
   </scm:complexType>
788
   <scm:complexType id="C90"
896
   <scm:complexType id="C55"
789 897
                    base="#anyType"
790 898
                    derivationMethod="restriction"
791 899
                    abstract="false"
792
                    variety="empty">
793
      <scm:attributeUse required="true" inheritable="false" ref="C145"/>
794
      <scm:attributeUse required="false" inheritable="false" ref="C146" default="false"/>
900
                    variety="element-only">
901
      <scm:attributeUse required="true" inheritable="false" ref="C143"/>
902
      <scm:attributeUse required="false" inheritable="false" ref="C144"/>
903
      <scm:attributeUse required="false" inheritable="false" ref="C145"/>
904
      <scm:attributeUse required="false" inheritable="false" ref="C146"/>
905
      <scm:attributeUse required="false" inheritable="false" ref="C147"/>
906
      <scm:attributeUse required="true" inheritable="false" ref="C148"/>
907
      <scm:attributeUse required="true" inheritable="false" ref="C149"/>
908
      <scm:attributeUse required="true" inheritable="false" ref="C150"/>
909
      <scm:attributeUse required="true" inheritable="false" ref="C151"/>
910
      <scm:attributeUse required="false" inheritable="false" ref="C152"/>
911
      <scm:attributeUse required="true" inheritable="false" ref="C153"/>
912
      <scm:modelGroupParticle minOccurs="1" maxOccurs="1">
913
         <scm:sequence>
914
            <scm:elementParticle minOccurs="0" maxOccurs="unbounded" ref="C111"/>
915
            <scm:elementParticle minOccurs="0" maxOccurs="unbounded" ref="C115"/>
916
            <scm:elementParticle minOccurs="0" maxOccurs="unbounded" ref="C49"/>
917
            <scm:modelGroupParticle minOccurs="1" maxOccurs="1">
918
               <scm:choice>
919
                  <scm:elementParticle minOccurs="0" maxOccurs="1" ref="C72"/>
920
                  <scm:elementParticle minOccurs="0" maxOccurs="1" ref="C85"/>
921
               </scm:choice>
922
            </scm:modelGroupParticle>
923
         </scm:sequence>
924
      </scm:modelGroupParticle>
795 925
      <scm:finiteStateMachine initialState="0">
796
         <scm:state nr="0" final="true"/>
926
         <scm:state nr="0" final="true">
927
            <scm:edge term="C85" to="1"/>
928
            <scm:edge term="C111" to="2"/>
929
            <scm:edge term="C49" to="3"/>
930
            <scm:edge term="C115" to="4"/>
931
            <scm:edge term="C72" to="1"/>
932
         </scm:state>
933
         <scm:state nr="1" final="true"/>
934
         <scm:state nr="2" final="true">
935
            <scm:edge term="C85" to="1"/>
936
            <scm:edge term="C111" to="2"/>
937
            <scm:edge term="C49" to="3"/>
938
            <scm:edge term="C115" to="4"/>
939
            <scm:edge term="C72" to="1"/>
940
         </scm:state>
941
         <scm:state nr="3" final="true">
942
            <scm:edge term="C85" to="1"/>
943
            <scm:edge term="C49" to="3"/>
944
            <scm:edge term="C72" to="1"/>
945
         </scm:state>
946
         <scm:state nr="4" final="true">
947
            <scm:edge term="C85" to="1"/>
948
            <scm:edge term="C49" to="3"/>
949
            <scm:edge term="C115" to="4"/>
950
            <scm:edge term="C72" to="1"/>
951
         </scm:state>
797 952
      </scm:finiteStateMachine>
953
      <scm:assertion xmlns:xs="http://www.w3.org/2001/XMLSchema"
954
                     xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
955
                     test="not(@default and scm:fixed)"
956
                     defaultNamespace=""
957
                     xml:base="file:/Users/mike/repo/samples/scm/scmschema.xsd"/>
798 958
   </scm:complexType>
799
   <scm:attribute id="C141"
800
                  name="default"
801
                  type="#string"
802
                  global="false"
803
                  inheritable="false"
804
                  containingComplexType="C83"/>
805
   <scm:attribute id="C140"
806
                  name="wildcard"
807
                  type="#IDREF"
808
                  global="false"
809
                  inheritable="false"
810
                  containingComplexType="C126"/>
811
   <scm:complexType id="C131"
959
   <scm:complexType id="C57"
812 960
                    base="#anyType"
813 961
                    derivationMethod="restriction"
814 962
                    abstract="false"
815
                    variety="empty">
816
      <scm:attributeUse required="true" inheritable="false" ref="C147"/>
817
      <scm:attributeUse required="false" inheritable="false" ref="C148" default="false"/>
963
                    variety="element-only">
964
      <scm:attributeUse required="false" inheritable="false" ref="C154"/>
965
      <scm:attributeUse required="false" inheritable="false" ref="C155"/>
966
      <scm:attributeUse required="false" inheritable="false" ref="C156"/>
967
      <scm:attributeUse required="false" inheritable="false" ref="C157"/>
968
      <scm:attributeUse required="true" inheritable="false" ref="C158"/>
969
      <scm:elementParticle minOccurs="0" maxOccurs="unbounded" ref="C103"/>
818 970
      <scm:finiteStateMachine initialState="0">
819
         <scm:state nr="0" final="true"/>
971
         <scm:state nr="0" final="true">
972
            <scm:edge term="C103" to="1"/>
973
         </scm:state>
974
         <scm:state nr="1" final="true">
975
            <scm:edge term="C103" to="1"/>
976
         </scm:state>
820 977
      </scm:finiteStateMachine>
821 978
   </scm:complexType>
822
   <scm:attribute id="C147"
823
                  name="value"
824
                  type="#nonNegativeInteger"
825
                  global="false"
826
                  inheritable="false"
827
                  containingComplexType="C131"/>
828
   <scm:complexType id="C71"
829
                    base="C31"
830
                    derivationMethod="extension"
979
   <scm:complexType id="C59"
980
                    base="#anyType"
981
                    derivationMethod="restriction"
831 982
                    abstract="false"
832 983
                    variety="empty">
833
      <scm:attributeUse required="true" inheritable="false" ref="C149"/>
834
      <scm:attributeUse required="true" inheritable="false" ref="C32"/>
835
      <scm:attributeUse required="true" inheritable="false" ref="C33"/>
984
      <scm:attributeUse required="true" inheritable="false" ref="C159"/>
985
      <scm:attributeUse required="false" inheritable="false" ref="C160"/>
986
      <scm:attributeUse required="false" inheritable="false" ref="C161"/>
987
      <scm:attributeUse required="false" inheritable="false" ref="C162"/>
988
      <scm:attributeUse required="false" inheritable="false" ref="C163"/>
836 989
      <scm:finiteStateMachine initialState="0">
837 990
         <scm:state nr="0" final="true"/>
838 991
      </scm:finiteStateMachine>
839 992
   </scm:complexType>
840
   <scm:attribute id="C149"
841
                  name="ref"
842
                  type="#IDREF"
843
                  global="false"
844
                  inheritable="false"
845
                  containingComplexType="C71"/>
846
   <scm:attribute id="C138"
847
                  name="ref"
848
                  type="#IDREF"
849
                  global="false"
850
                  inheritable="false"
851
                  containingComplexType="C94"/>
852
   <scm:complexType id="C52"
993
   <scm:complexType id="C61"
853 994
                    base="#anyType"
854 995
                    derivationMethod="restriction"
855 996
                    abstract="false"
856 997
                    variety="element-only">
857
      <scm:attributeUse required="false" inheritable="false" ref="C150"/>
858
      <scm:attributeUse required="false" inheritable="false" ref="C151"/>
859
      <scm:attributeUse required="true" inheritable="false" ref="C152"/>
860
      <scm:attributeUse required="true" inheritable="false" ref="C153"/>
861
      <scm:attributeUse required="true" inheritable="false" ref="C154"/>
862
      <scm:attributeUse required="false" inheritable="false" ref="C155"/>
863
      <scm:attributeUse required="true" inheritable="false" ref="C156"/>
864
      <scm:attributeUse required="true" inheritable="false" ref="C157"/>
865
      <scm:elementParticle minOccurs="0" maxOccurs="1" ref="C117"/>
998
      <scm:attributeUse required="false" inheritable="false" ref="C164"/>
999
      <scm:attributeUse required="true" inheritable="false" ref="C165"/>
1000
      <scm:attributeUse required="true" inheritable="false" ref="C166"/>
1001
      <scm:attributeUse required="true" inheritable="false" ref="C167"/>
1002
      <scm:modelGroupParticle minOccurs="1" maxOccurs="1">
1003
         <scm:choice>
1004
            <scm:elementParticle minOccurs="0" maxOccurs="1" ref="C72"/>
1005
            <scm:elementParticle minOccurs="0" maxOccurs="1" ref="C85"/>
1006
         </scm:choice>
1007
      </scm:modelGroupParticle>
866 1008
      <scm:finiteStateMachine initialState="0">
867 1009
         <scm:state nr="0" final="true">
868
            <scm:edge term="C117" to="1"/>
1010
            <scm:edge term="C85" to="1"/>
1011
            <scm:edge term="C72" to="1"/>
869 1012
         </scm:state>
870 1013
         <scm:state nr="1" final="true"/>
871 1014
      </scm:finiteStateMachine>
872 1015
   </scm:complexType>
873
   <scm:attribute id="C154"
874
                  name="name"
875
                  type="#NCName"
876
                  global="false"
877
                  inheritable="false"
878
                  containingComplexType="C52"/>
879
   <scm:attribute id="C153"
880
                  name="id"
881
                  type="#ID"
882
                  global="false"
883
                  inheritable="false"
884
                  containingComplexType="C52"/>
885
   <scm:attribute id="C150"
886
                  name="containingComplexType"
887
                  type="#IDREF"
888
                  global="false"
889
                  inheritable="false"
890
                  containingComplexType="C52"/>
891
   <scm:complexType id="C100"
1016
   <scm:complexType id="C63"
892 1017
                    base="#anyType"
893 1018
                    derivationMethod="restriction"
894 1019
                    abstract="false"
895
                    variety="element-only">
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff