rfcxml 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/rake.yml +18 -0
  3. data/.github/workflows/release.yml +25 -0
  4. data/.gitignore +11 -0
  5. data/.rspec +3 -0
  6. data/.rubocop.yml +11 -0
  7. data/.rubocop_todo.yml +20 -0
  8. data/CODE_OF_CONDUCT.md +84 -0
  9. data/Gemfile +12 -0
  10. data/README.adoc +75 -0
  11. data/Rakefile +12 -0
  12. data/bin/console +11 -0
  13. data/bin/setup +8 -0
  14. data/lib/rfcxml/v3/abstract.rb +32 -0
  15. data/lib/rfcxml/v3/address.rb +31 -0
  16. data/lib/rfcxml/v3/annotation.rb +57 -0
  17. data/lib/rfcxml/v3/area.rb +17 -0
  18. data/lib/rfcxml/v3/artset.rb +23 -0
  19. data/lib/rfcxml/v3/artwork.rb +37 -0
  20. data/lib/rfcxml/v3/aside.rb +50 -0
  21. data/lib/rfcxml/v3/author.rb +38 -0
  22. data/lib/rfcxml/v3/back.rb +25 -0
  23. data/lib/rfcxml/v3/bcp14.rb +17 -0
  24. data/lib/rfcxml/v3/blockquote.rb +92 -0
  25. data/lib/rfcxml/v3/boilerplate.rb +19 -0
  26. data/lib/rfcxml/v3/br.rb +13 -0
  27. data/lib/rfcxml/v3/c.rb +33 -0
  28. data/lib/rfcxml/v3/city.rb +19 -0
  29. data/lib/rfcxml/v3/cityarea.rb +19 -0
  30. data/lib/rfcxml/v3/code.rb +19 -0
  31. data/lib/rfcxml/v3/contact.rb +36 -0
  32. data/lib/rfcxml/v3/country.rb +19 -0
  33. data/lib/rfcxml/v3/cref.rb +51 -0
  34. data/lib/rfcxml/v3/date.rb +23 -0
  35. data/lib/rfcxml/v3/dd.rb +92 -0
  36. data/lib/rfcxml/v3/displayreference.rb +19 -0
  37. data/lib/rfcxml/v3/dl.rb +35 -0
  38. data/lib/rfcxml/v3/dt.rb +58 -0
  39. data/lib/rfcxml/v3/em.rb +14 -0
  40. data/lib/rfcxml/v3/email.rb +19 -0
  41. data/lib/rfcxml/v3/eref.rb +21 -0
  42. data/lib/rfcxml/v3/extaddr.rb +19 -0
  43. data/lib/rfcxml/v3/facsimile.rb +17 -0
  44. data/lib/rfcxml/v3/figure.rb +57 -0
  45. data/lib/rfcxml/v3/format.rb +21 -0
  46. data/lib/rfcxml/v3/front.rb +49 -0
  47. data/lib/rfcxml/v3/iref.rb +23 -0
  48. data/lib/rfcxml/v3/keyword.rb +17 -0
  49. data/lib/rfcxml/v3/li.rb +97 -0
  50. data/lib/rfcxml/v3/link.rb +19 -0
  51. data/lib/rfcxml/v3/list.rb +27 -0
  52. data/lib/rfcxml/v3/middle.rb +19 -0
  53. data/lib/rfcxml/v3/name.rb +56 -0
  54. data/lib/rfcxml/v3/note.rb +37 -0
  55. data/lib/rfcxml/v3/ol.rb +33 -0
  56. data/lib/rfcxml/v3/organization.rb +25 -0
  57. data/lib/rfcxml/v3/phone.rb +17 -0
  58. data/lib/rfcxml/v3/pobox.rb +19 -0
  59. data/lib/rfcxml/v3/postal.rb +46 -0
  60. data/lib/rfcxml/v3/postal_line.rb +19 -0
  61. data/lib/rfcxml/v3/postamble.rb +33 -0
  62. data/lib/rfcxml/v3/preamble.rb +57 -0
  63. data/lib/rfcxml/v3/refcontent.rb +28 -0
  64. data/lib/rfcxml/v3/reference.rb +43 -0
  65. data/lib/rfcxml/v3/referencegroup.rb +25 -0
  66. data/lib/rfcxml/v3/references.rb +33 -0
  67. data/lib/rfcxml/v3/region.rb +19 -0
  68. data/lib/rfcxml/v3/relref.rb +29 -0
  69. data/lib/rfcxml/v3/rfc.rb +70 -0
  70. data/lib/rfcxml/v3/section.rb +78 -0
  71. data/lib/rfcxml/v3/series_info.rb +27 -0
  72. data/lib/rfcxml/v3/sortingcode.rb +19 -0
  73. data/lib/rfcxml/v3/sourcecode.rb +31 -0
  74. data/lib/rfcxml/v3/spanx.rb +19 -0
  75. data/lib/rfcxml/v3/street.rb +19 -0
  76. data/lib/rfcxml/v3/strong.rb +43 -0
  77. data/lib/rfcxml/v3/sub.rb +49 -0
  78. data/lib/rfcxml/v3/sup.rb +28 -0
  79. data/lib/rfcxml/v3/table.rb +37 -0
  80. data/lib/rfcxml/v3/tbody.rb +21 -0
  81. data/lib/rfcxml/v3/td.rb +89 -0
  82. data/lib/rfcxml/v3/text.rb +82 -0
  83. data/lib/rfcxml/v3/texttable.rb +41 -0
  84. data/lib/rfcxml/v3/tfoot.rb +21 -0
  85. data/lib/rfcxml/v3/th.rb +14 -0
  86. data/lib/rfcxml/v3/thead.rb +21 -0
  87. data/lib/rfcxml/v3/title.rb +25 -0
  88. data/lib/rfcxml/v3/toc.rb +19 -0
  89. data/lib/rfcxml/v3/tr.rb +24 -0
  90. data/lib/rfcxml/v3/tt.rb +53 -0
  91. data/lib/rfcxml/v3/ttcol.rb +34 -0
  92. data/lib/rfcxml/v3/u.rb +25 -0
  93. data/lib/rfcxml/v3/ul.rb +31 -0
  94. data/lib/rfcxml/v3/uri.rb +17 -0
  95. data/lib/rfcxml/v3/vspace.rb +17 -0
  96. data/lib/rfcxml/v3/workgroup.rb +17 -0
  97. data/lib/rfcxml/v3/xref.rb +41 -0
  98. data/lib/rfcxml/v3/xref_text.rb +30 -0
  99. data/lib/rfcxml/v3.rb +8 -0
  100. data/lib/rfcxml/version.rb +5 -0
  101. data/lib/rfcxml.rb +17 -0
  102. data/reference-docs/v3-modified.rnc +1145 -0
  103. data/reference-docs/v3.rnc +1145 -0
  104. data/reference-docs/v3.xsd +1410 -0
  105. data/reference-docs/xml.xsd +19 -0
  106. data/rfcxml.gemspec +47 -0
  107. data/sig/xml2rfc.rbs +4 -0
  108. metadata +264 -0
@@ -0,0 +1,1410 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
4
+ <!-- xml2rfc Version 3 grammar -->
5
+ <xs:element name="rfc">
6
+ <xs:complexType>
7
+ <xs:sequence>
8
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="link"/>
9
+ <xs:element ref="front"/>
10
+ <xs:element ref="middle"/>
11
+ <xs:element minOccurs="0" ref="back"/>
12
+ </xs:sequence>
13
+ <xs:attribute name="number"/>
14
+ <xs:attribute name="obsoletes" default=""/>
15
+ <xs:attribute name="updates" default=""/>
16
+ <xs:attribute name="category">
17
+ <xs:simpleType>
18
+ <xs:restriction base="xs:token">
19
+ <xs:enumeration value="std"/>
20
+ <xs:enumeration value="bcp"/>
21
+ <xs:enumeration value="exp"/>
22
+ <xs:enumeration value="info"/>
23
+ <xs:enumeration value="historic"/>
24
+ </xs:restriction>
25
+ </xs:simpleType>
26
+ </xs:attribute>
27
+ <xs:attribute name="mode"/>
28
+ <xs:attribute name="consensus" default="false">
29
+ <xs:simpleType>
30
+ <xs:restriction base="xs:token">
31
+ <xs:enumeration value="no"/>
32
+ <xs:enumeration value="yes"/>
33
+ <xs:enumeration value="false"/>
34
+ <xs:enumeration value="true"/>
35
+ </xs:restriction>
36
+ </xs:simpleType>
37
+ </xs:attribute>
38
+ <xs:attribute name="seriesNo"/>
39
+ <xs:attribute name="ipr"/>
40
+ <xs:attribute name="iprExtract" type="xs:IDREF"/>
41
+ <xs:attribute name="submissionType" default="IETF">
42
+ <xs:simpleType>
43
+ <xs:restriction base="xs:token">
44
+ <xs:enumeration value="IETF"/>
45
+ <xs:enumeration value="IAB"/>
46
+ <xs:enumeration value="IRTF"/>
47
+ <xs:enumeration value="independent"/>
48
+ <xs:enumeration value="editorial"/>
49
+ </xs:restriction>
50
+ </xs:simpleType>
51
+ </xs:attribute>
52
+ <xs:attribute name="docName"/>
53
+ <xs:attribute name="sortRefs" default="false">
54
+ <xs:simpleType>
55
+ <xs:restriction base="xs:token">
56
+ <xs:enumeration value="true"/>
57
+ <xs:enumeration value="false"/>
58
+ </xs:restriction>
59
+ </xs:simpleType>
60
+ </xs:attribute>
61
+ <xs:attribute name="symRefs" default="true">
62
+ <xs:simpleType>
63
+ <xs:restriction base="xs:token">
64
+ <xs:enumeration value="true"/>
65
+ <xs:enumeration value="false"/>
66
+ </xs:restriction>
67
+ </xs:simpleType>
68
+ </xs:attribute>
69
+ <xs:attribute name="tocInclude" default="true">
70
+ <xs:simpleType>
71
+ <xs:restriction base="xs:token">
72
+ <xs:enumeration value="true"/>
73
+ <xs:enumeration value="false"/>
74
+ </xs:restriction>
75
+ </xs:simpleType>
76
+ </xs:attribute>
77
+ <xs:attribute name="tocDepth" default="3"/>
78
+ <xs:attribute name="prepTime"/>
79
+ <xs:attribute name="indexInclude" default="true">
80
+ <xs:simpleType>
81
+ <xs:restriction base="xs:token">
82
+ <xs:enumeration value="true"/>
83
+ <xs:enumeration value="false"/>
84
+ </xs:restriction>
85
+ </xs:simpleType>
86
+ </xs:attribute>
87
+ <xs:attribute name="version"/>
88
+ <xs:attribute name="scripts" default="Common,Latin"/>
89
+ <xs:attribute name="expiresDate"/>
90
+ </xs:complexType>
91
+ </xs:element>
92
+ <xs:element name="link">
93
+ <xs:complexType>
94
+ <xs:attribute name="href" use="required"/>
95
+ <xs:attribute name="rel"/>
96
+ </xs:complexType>
97
+ </xs:element>
98
+ <xs:element name="front">
99
+ <xs:complexType>
100
+ <xs:sequence>
101
+ <xs:element ref="title"/>
102
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="seriesInfo"/>
103
+ <xs:element maxOccurs="unbounded" ref="author"/>
104
+ <xs:element minOccurs="0" ref="date"/>
105
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="area"/>
106
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="workgroup"/>
107
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="keyword"/>
108
+ <xs:element minOccurs="0" ref="abstract"/>
109
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="note"/>
110
+ <xs:element minOccurs="0" ref="boilerplate"/>
111
+ <xs:element minOccurs="0" ref="toc"/>
112
+ </xs:sequence>
113
+ </xs:complexType>
114
+ </xs:element>
115
+ <xs:element name="title">
116
+ <xs:complexType mixed="true">
117
+ <xs:sequence>
118
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="br"/>
119
+ </xs:sequence>
120
+ <xs:attribute name="abbrev"/>
121
+ <xs:attribute name="ascii"/>
122
+ </xs:complexType>
123
+ </xs:element>
124
+ <xs:element name="author">
125
+ <xs:complexType>
126
+ <xs:sequence>
127
+ <xs:element minOccurs="0" ref="organization"/>
128
+ <xs:element minOccurs="0" ref="address"/>
129
+ </xs:sequence>
130
+ <xs:attribute name="anchor" type="xs:ID"/>
131
+ <xs:attribute name="initials"/>
132
+ <xs:attribute name="asciiInitials"/>
133
+ <xs:attribute name="surname"/>
134
+ <xs:attribute name="asciiSurname"/>
135
+ <xs:attribute name="fullname"/>
136
+ <xs:attribute name="role">
137
+ <xs:simpleType>
138
+ <xs:restriction base="xs:token">
139
+ <xs:enumeration value="editor"/>
140
+ </xs:restriction>
141
+ </xs:simpleType>
142
+ </xs:attribute>
143
+ <xs:attribute name="asciiFullname"/>
144
+ </xs:complexType>
145
+ </xs:element>
146
+ <xs:element name="contact">
147
+ <xs:complexType>
148
+ <xs:sequence>
149
+ <xs:element minOccurs="0" ref="organization"/>
150
+ <xs:element minOccurs="0" ref="address"/>
151
+ </xs:sequence>
152
+ <xs:attribute name="anchor" type="xs:ID"/>
153
+ <xs:attribute name="initials"/>
154
+ <xs:attribute name="asciiInitials"/>
155
+ <xs:attribute name="surname"/>
156
+ <xs:attribute name="asciiSurname"/>
157
+ <xs:attribute name="fullname"/>
158
+ <xs:attribute name="asciiFullname"/>
159
+ </xs:complexType>
160
+ </xs:element>
161
+ <xs:element name="organization">
162
+ <xs:complexType mixed="true">
163
+ <xs:attribute name="abbrev"/>
164
+ <xs:attribute name="ascii"/>
165
+ <xs:attribute name="asciiAbbrev"/>
166
+ <xs:attribute name="showOnFrontPage" default="true">
167
+ <xs:simpleType>
168
+ <xs:restriction base="xs:token">
169
+ <xs:enumeration value="true"/>
170
+ <xs:enumeration value="false"/>
171
+ </xs:restriction>
172
+ </xs:simpleType>
173
+ </xs:attribute>
174
+ </xs:complexType>
175
+ </xs:element>
176
+ <xs:element name="address">
177
+ <xs:complexType>
178
+ <xs:sequence>
179
+ <xs:element minOccurs="0" ref="postal"/>
180
+ <xs:element minOccurs="0" ref="phone"/>
181
+ <xs:element minOccurs="0" ref="facsimile"/>
182
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="email"/>
183
+ <xs:element minOccurs="0" ref="uri"/>
184
+ </xs:sequence>
185
+ </xs:complexType>
186
+ </xs:element>
187
+ <xs:element name="postal">
188
+ <xs:complexType>
189
+ <xs:choice>
190
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
191
+ <xs:element ref="city"/>
192
+ <xs:element ref="cityarea"/>
193
+ <xs:element ref="code"/>
194
+ <xs:element ref="country"/>
195
+ <xs:element ref="extaddr"/>
196
+ <xs:element ref="pobox"/>
197
+ <xs:element ref="region"/>
198
+ <xs:element ref="sortingcode"/>
199
+ <xs:element ref="street"/>
200
+ </xs:choice>
201
+ <xs:element maxOccurs="unbounded" ref="postalLine"/>
202
+ </xs:choice>
203
+ </xs:complexType>
204
+ </xs:element>
205
+ <xs:element name="extaddr">
206
+ <xs:complexType mixed="true">
207
+ <xs:attribute name="ascii"/>
208
+ </xs:complexType>
209
+ </xs:element>
210
+ <xs:element name="pobox">
211
+ <xs:complexType mixed="true">
212
+ <xs:attribute name="ascii"/>
213
+ </xs:complexType>
214
+ </xs:element>
215
+ <xs:element name="street">
216
+ <xs:complexType mixed="true">
217
+ <xs:attribute name="ascii"/>
218
+ </xs:complexType>
219
+ </xs:element>
220
+ <xs:element name="cityarea">
221
+ <xs:complexType mixed="true">
222
+ <xs:attribute name="ascii"/>
223
+ </xs:complexType>
224
+ </xs:element>
225
+ <xs:element name="city">
226
+ <xs:complexType mixed="true">
227
+ <xs:attribute name="ascii"/>
228
+ </xs:complexType>
229
+ </xs:element>
230
+ <xs:element name="region">
231
+ <xs:complexType mixed="true">
232
+ <xs:attribute name="ascii"/>
233
+ </xs:complexType>
234
+ </xs:element>
235
+ <xs:element name="code">
236
+ <xs:complexType mixed="true">
237
+ <xs:attribute name="ascii"/>
238
+ </xs:complexType>
239
+ </xs:element>
240
+ <xs:element name="sortingcode">
241
+ <xs:complexType mixed="true">
242
+ <xs:attribute name="ascii"/>
243
+ </xs:complexType>
244
+ </xs:element>
245
+ <xs:element name="country">
246
+ <xs:complexType mixed="true">
247
+ <xs:attribute name="ascii"/>
248
+ </xs:complexType>
249
+ </xs:element>
250
+ <xs:element name="postalLine">
251
+ <xs:complexType mixed="true">
252
+ <xs:attribute name="ascii"/>
253
+ </xs:complexType>
254
+ </xs:element>
255
+ <xs:element name="phone">
256
+ <xs:complexType mixed="true">
257
+ </xs:complexType>
258
+ </xs:element>
259
+ <xs:element name="facsimile">
260
+ <xs:complexType mixed="true">
261
+ </xs:complexType>
262
+ </xs:element>
263
+ <xs:element name="email">
264
+ <xs:complexType mixed="true">
265
+ <xs:attribute name="ascii"/>
266
+ </xs:complexType>
267
+ </xs:element>
268
+ <xs:element name="uri">
269
+ <xs:complexType mixed="true">
270
+ </xs:complexType>
271
+ </xs:element>
272
+ <xs:element name="date">
273
+ <xs:complexType mixed="true">
274
+ <xs:attribute name="day"/>
275
+ <xs:attribute name="month"/>
276
+ <xs:attribute name="year"/>
277
+ </xs:complexType>
278
+ </xs:element>
279
+ <xs:element name="area">
280
+ <xs:complexType mixed="true">
281
+ </xs:complexType>
282
+ </xs:element>
283
+ <xs:element name="workgroup">
284
+ <xs:complexType mixed="true">
285
+ </xs:complexType>
286
+ </xs:element>
287
+ <xs:element name="keyword">
288
+ <xs:complexType mixed="true">
289
+ </xs:complexType>
290
+ </xs:element>
291
+ <xs:element name="abstract">
292
+ <xs:complexType>
293
+ <xs:choice maxOccurs="unbounded">
294
+ <xs:element ref="dl"/>
295
+ <xs:element ref="ol"/>
296
+ <xs:element ref="t"/>
297
+ <xs:element ref="ul"/>
298
+ </xs:choice>
299
+ <xs:attribute name="anchor" type="xs:ID"/>
300
+ <xs:attribute name="pn" type="xs:ID"/>
301
+ </xs:complexType>
302
+ </xs:element>
303
+ <xs:element name="note">
304
+ <xs:complexType>
305
+ <xs:sequence>
306
+ <xs:element minOccurs="0" ref="name"/>
307
+ <xs:choice maxOccurs="unbounded">
308
+ <xs:element ref="dl"/>
309
+ <xs:element ref="ol"/>
310
+ <xs:element ref="t"/>
311
+ <xs:element ref="ul"/>
312
+ </xs:choice>
313
+ </xs:sequence>
314
+ <xs:attribute name="title"/>
315
+ <xs:attribute name="pn" type="xs:ID"/>
316
+ <xs:attribute name="removeInRFC" default="false">
317
+ <xs:simpleType>
318
+ <xs:restriction base="xs:token">
319
+ <xs:enumeration value="true"/>
320
+ <xs:enumeration value="false"/>
321
+ </xs:restriction>
322
+ </xs:simpleType>
323
+ </xs:attribute>
324
+ </xs:complexType>
325
+ </xs:element>
326
+ <xs:element name="boilerplate">
327
+ <xs:complexType>
328
+ <xs:sequence>
329
+ <xs:element maxOccurs="unbounded" ref="section"/>
330
+ </xs:sequence>
331
+ </xs:complexType>
332
+ </xs:element>
333
+ <xs:element name="toc">
334
+ <xs:complexType>
335
+ <xs:sequence>
336
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="section"/>
337
+ </xs:sequence>
338
+ </xs:complexType>
339
+ </xs:element>
340
+ <xs:element name="middle">
341
+ <xs:complexType>
342
+ <xs:sequence>
343
+ <xs:element maxOccurs="unbounded" ref="section"/>
344
+ </xs:sequence>
345
+ </xs:complexType>
346
+ </xs:element>
347
+ <xs:element name="section">
348
+ <xs:complexType>
349
+ <xs:sequence>
350
+ <xs:element minOccurs="0" ref="name"/>
351
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
352
+ <xs:element ref="artset"/>
353
+ <xs:element ref="artwork"/>
354
+ <xs:element ref="aside"/>
355
+ <xs:element ref="author"/>
356
+ <xs:element ref="blockquote"/>
357
+ <xs:element ref="contact"/>
358
+ <xs:element ref="dl"/>
359
+ <xs:element ref="figure"/>
360
+ <xs:element ref="iref"/>
361
+ <xs:element ref="ol"/>
362
+ <xs:element ref="sourcecode"/>
363
+ <xs:element ref="t"/>
364
+ <xs:element ref="table"/>
365
+ <xs:element ref="texttable"/>
366
+ <xs:element ref="ul"/>
367
+ </xs:choice>
368
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="section"/>
369
+ </xs:sequence>
370
+ <xs:attribute name="anchor" type="xs:ID"/>
371
+ <xs:attribute name="pn" type="xs:ID"/>
372
+ <xs:attribute name="title"/>
373
+ <xs:attribute name="numbered" default="true">
374
+ <xs:simpleType>
375
+ <xs:restriction base="xs:token">
376
+ <xs:enumeration value="true"/>
377
+ <xs:enumeration value="false"/>
378
+ </xs:restriction>
379
+ </xs:simpleType>
380
+ </xs:attribute>
381
+ <xs:attribute name="toc" default="default">
382
+ <xs:simpleType>
383
+ <xs:restriction base="xs:token">
384
+ <xs:enumeration value="include"/>
385
+ <xs:enumeration value="exclude"/>
386
+ <xs:enumeration value="default"/>
387
+ </xs:restriction>
388
+ </xs:simpleType>
389
+ </xs:attribute>
390
+ <xs:attribute name="removeInRFC" default="false">
391
+ <xs:simpleType>
392
+ <xs:restriction base="xs:token">
393
+ <xs:enumeration value="true"/>
394
+ <xs:enumeration value="false"/>
395
+ </xs:restriction>
396
+ </xs:simpleType>
397
+ </xs:attribute>
398
+ </xs:complexType>
399
+ </xs:element>
400
+ <xs:element name="name">
401
+ <xs:complexType mixed="true">
402
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
403
+ <xs:element ref="bcp14"/>
404
+ <xs:element ref="br"/>
405
+ <xs:element ref="cref"/>
406
+ <xs:element ref="em"/>
407
+ <xs:element ref="eref"/>
408
+ <xs:element ref="iref"/>
409
+ <xs:element ref="relref"/>
410
+ <xs:element ref="strong"/>
411
+ <xs:element ref="sub"/>
412
+ <xs:element ref="sup"/>
413
+ <xs:element ref="tt"/>
414
+ <xs:element ref="xref"/>
415
+ </xs:choice>
416
+ <xs:attribute name="slugifiedName" type="xs:ID"/>
417
+ </xs:complexType>
418
+ </xs:element>
419
+ <xs:element name="br">
420
+ <xs:complexType>
421
+ </xs:complexType>
422
+ </xs:element>
423
+ <xs:element name="t">
424
+ <xs:complexType mixed="true">
425
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
426
+ <xs:element ref="bcp14"/>
427
+ <xs:element ref="br"/>
428
+ <xs:element ref="contact"/>
429
+ <xs:element ref="cref"/>
430
+ <xs:element ref="em"/>
431
+ <xs:element ref="eref"/>
432
+ <xs:element ref="iref"/>
433
+ <xs:element ref="list"/>
434
+ <xs:element ref="relref"/>
435
+ <xs:element ref="spanx"/>
436
+ <xs:element ref="strong"/>
437
+ <xs:element ref="sub"/>
438
+ <xs:element ref="sup"/>
439
+ <xs:element ref="tt"/>
440
+ <xs:element ref="u"/>
441
+ <xs:element ref="vspace"/>
442
+ <xs:element ref="xref"/>
443
+ </xs:choice>
444
+ <xs:attribute name="anchor" type="xs:ID"/>
445
+ <xs:attribute name="pn" type="xs:ID"/>
446
+ <xs:attribute name="hangText"/>
447
+ <xs:attribute name="indent" default="0"/>
448
+ <xs:attribute name="keepWithNext" default="false">
449
+ <xs:simpleType>
450
+ <xs:restriction base="xs:token">
451
+ <xs:enumeration value="true"/>
452
+ <xs:enumeration value="false"/>
453
+ </xs:restriction>
454
+ </xs:simpleType>
455
+ </xs:attribute>
456
+ <xs:attribute name="keepWithPrevious" default="false">
457
+ <xs:simpleType>
458
+ <xs:restriction base="xs:token">
459
+ <xs:enumeration value="true"/>
460
+ <xs:enumeration value="false"/>
461
+ </xs:restriction>
462
+ </xs:simpleType>
463
+ </xs:attribute>
464
+ </xs:complexType>
465
+ </xs:element>
466
+ <xs:element name="aside">
467
+ <xs:complexType>
468
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
469
+ <xs:element ref="artset"/>
470
+ <xs:element ref="artwork"/>
471
+ <xs:element ref="blockquote"/>
472
+ <xs:element ref="dl"/>
473
+ <xs:element ref="figure"/>
474
+ <xs:element ref="iref"/>
475
+ <xs:element ref="ol"/>
476
+ <xs:element ref="t"/>
477
+ <xs:element ref="table"/>
478
+ <xs:element ref="ul"/>
479
+ </xs:choice>
480
+ <xs:attribute name="anchor" type="xs:ID"/>
481
+ <xs:attribute name="pn" type="xs:ID"/>
482
+ </xs:complexType>
483
+ </xs:element>
484
+ <xs:element name="blockquote">
485
+ <xs:complexType mixed="true">
486
+ <xs:choice>
487
+ <xs:choice maxOccurs="unbounded">
488
+ <xs:element ref="artset"/>
489
+ <xs:element ref="artwork"/>
490
+ <xs:element ref="dl"/>
491
+ <xs:element ref="figure"/>
492
+ <xs:element ref="ol"/>
493
+ <xs:element ref="sourcecode"/>
494
+ <xs:element ref="t"/>
495
+ <xs:element ref="ul"/>
496
+ </xs:choice>
497
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
498
+ <xs:element ref="bcp14"/>
499
+ <xs:element ref="br"/>
500
+ <xs:element ref="cref"/>
501
+ <xs:element ref="em"/>
502
+ <xs:element ref="eref"/>
503
+ <xs:element ref="iref"/>
504
+ <xs:element ref="relref"/>
505
+ <xs:element ref="strong"/>
506
+ <xs:element ref="sub"/>
507
+ <xs:element ref="sup"/>
508
+ <xs:element ref="tt"/>
509
+ <xs:element ref="u"/>
510
+ <xs:element ref="xref"/>
511
+ </xs:choice>
512
+ </xs:choice>
513
+ <xs:attribute name="anchor" type="xs:ID"/>
514
+ <xs:attribute name="pn" type="xs:ID"/>
515
+ <xs:attribute name="cite"/>
516
+ <xs:attribute name="quotedFrom"/>
517
+ </xs:complexType>
518
+ </xs:element>
519
+ <xs:element name="list">
520
+ <xs:complexType>
521
+ <xs:sequence>
522
+ <xs:element maxOccurs="unbounded" ref="t"/>
523
+ </xs:sequence>
524
+ <xs:attribute name="style" default="empty"/>
525
+ <xs:attribute name="hangIndent"/>
526
+ <xs:attribute name="counter"/>
527
+ <xs:attribute name="pn" type="xs:ID"/>
528
+ </xs:complexType>
529
+ </xs:element>
530
+ <xs:element name="ol">
531
+ <xs:complexType>
532
+ <xs:sequence>
533
+ <xs:element maxOccurs="unbounded" ref="li"/>
534
+ </xs:sequence>
535
+ <xs:attribute name="anchor" type="xs:ID"/>
536
+ <xs:attribute name="type" default="1"/>
537
+ <xs:attribute name="start" default="1"/>
538
+ <xs:attribute name="group"/>
539
+ <xs:attribute name="spacing" default="normal">
540
+ <xs:simpleType>
541
+ <xs:restriction base="xs:token">
542
+ <xs:enumeration value="normal"/>
543
+ <xs:enumeration value="compact"/>
544
+ </xs:restriction>
545
+ </xs:simpleType>
546
+ </xs:attribute>
547
+ <xs:attribute name="indent" default="adaptive"/>
548
+ <xs:attribute name="pn" type="xs:ID"/>
549
+ </xs:complexType>
550
+ </xs:element>
551
+ <xs:element name="ul">
552
+ <xs:complexType>
553
+ <xs:sequence>
554
+ <xs:element maxOccurs="unbounded" ref="li"/>
555
+ </xs:sequence>
556
+ <xs:attribute name="anchor" type="xs:ID"/>
557
+ <xs:attribute name="spacing" default="normal">
558
+ <xs:simpleType>
559
+ <xs:restriction base="xs:token">
560
+ <xs:enumeration value="normal"/>
561
+ <xs:enumeration value="compact"/>
562
+ </xs:restriction>
563
+ </xs:simpleType>
564
+ </xs:attribute>
565
+ <xs:attribute name="empty" default="false">
566
+ <xs:simpleType>
567
+ <xs:restriction base="xs:token">
568
+ <xs:enumeration value="true"/>
569
+ <xs:enumeration value="false"/>
570
+ </xs:restriction>
571
+ </xs:simpleType>
572
+ </xs:attribute>
573
+ <xs:attribute name="bare" default="false">
574
+ <xs:simpleType>
575
+ <xs:restriction base="xs:token">
576
+ <xs:enumeration value="true"/>
577
+ <xs:enumeration value="false"/>
578
+ </xs:restriction>
579
+ </xs:simpleType>
580
+ </xs:attribute>
581
+ <xs:attribute name="indent" default="3"/>
582
+ <xs:attribute name="pn" type="xs:ID"/>
583
+ </xs:complexType>
584
+ </xs:element>
585
+ <xs:element name="li">
586
+ <xs:complexType mixed="true">
587
+ <xs:choice>
588
+ <xs:choice maxOccurs="unbounded">
589
+ <xs:element ref="artset"/>
590
+ <xs:element ref="artwork"/>
591
+ <xs:element ref="blockquote"/>
592
+ <xs:element ref="dl"/>
593
+ <xs:element ref="figure"/>
594
+ <xs:element ref="ol"/>
595
+ <xs:element ref="sourcecode"/>
596
+ <xs:element ref="t"/>
597
+ <xs:element ref="table"/>
598
+ <xs:element ref="ul"/>
599
+ </xs:choice>
600
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
601
+ <xs:element ref="bcp14"/>
602
+ <xs:element ref="br"/>
603
+ <xs:element ref="cref"/>
604
+ <xs:element ref="em"/>
605
+ <xs:element ref="eref"/>
606
+ <xs:element ref="iref"/>
607
+ <xs:element ref="relref"/>
608
+ <xs:element ref="strong"/>
609
+ <xs:element ref="sub"/>
610
+ <xs:element ref="sup"/>
611
+ <xs:element ref="tt"/>
612
+ <xs:element ref="u"/>
613
+ <xs:element ref="xref"/>
614
+ </xs:choice>
615
+ </xs:choice>
616
+ <xs:attribute name="anchor" type="xs:ID"/>
617
+ <xs:attribute name="derivedCounter"/>
618
+ <xs:attribute name="pn" type="xs:ID"/>
619
+ </xs:complexType>
620
+ </xs:element>
621
+ <xs:element name="dl">
622
+ <xs:complexType>
623
+ <xs:sequence maxOccurs="unbounded">
624
+ <xs:element ref="dt"/>
625
+ <xs:element ref="dd"/>
626
+ </xs:sequence>
627
+ <xs:attribute name="anchor" type="xs:ID"/>
628
+ <xs:attribute name="spacing" default="normal">
629
+ <xs:simpleType>
630
+ <xs:restriction base="xs:token">
631
+ <xs:enumeration value="normal"/>
632
+ <xs:enumeration value="compact"/>
633
+ </xs:restriction>
634
+ </xs:simpleType>
635
+ </xs:attribute>
636
+ <xs:attribute name="newline" default="false">
637
+ <xs:simpleType>
638
+ <xs:restriction base="xs:token">
639
+ <xs:enumeration value="true"/>
640
+ <xs:enumeration value="false"/>
641
+ </xs:restriction>
642
+ </xs:simpleType>
643
+ </xs:attribute>
644
+ <xs:attribute name="indent" default="3"/>
645
+ <xs:attribute name="pn" type="xs:ID"/>
646
+ </xs:complexType>
647
+ </xs:element>
648
+ <xs:element name="dt">
649
+ <xs:complexType mixed="true">
650
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
651
+ <xs:element ref="bcp14"/>
652
+ <xs:element ref="br"/>
653
+ <xs:element ref="cref"/>
654
+ <xs:element ref="em"/>
655
+ <xs:element ref="eref"/>
656
+ <xs:element ref="iref"/>
657
+ <xs:element ref="relref"/>
658
+ <xs:element ref="strong"/>
659
+ <xs:element ref="sub"/>
660
+ <xs:element ref="sup"/>
661
+ <xs:element ref="tt"/>
662
+ <xs:element ref="xref"/>
663
+ </xs:choice>
664
+ <xs:attribute name="anchor" type="xs:ID"/>
665
+ <xs:attribute name="pn" type="xs:ID"/>
666
+ </xs:complexType>
667
+ </xs:element>
668
+ <xs:element name="dd">
669
+ <xs:complexType mixed="true">
670
+ <xs:choice>
671
+ <xs:choice maxOccurs="unbounded">
672
+ <xs:element ref="artset"/>
673
+ <xs:element ref="artwork"/>
674
+ <xs:element ref="aside"/>
675
+ <xs:element ref="dl"/>
676
+ <xs:element ref="figure"/>
677
+ <xs:element ref="ol"/>
678
+ <xs:element ref="sourcecode"/>
679
+ <xs:element ref="t"/>
680
+ <xs:element ref="table"/>
681
+ <xs:element ref="ul"/>
682
+ </xs:choice>
683
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
684
+ <xs:element ref="bcp14"/>
685
+ <xs:element ref="br"/>
686
+ <xs:element ref="cref"/>
687
+ <xs:element ref="em"/>
688
+ <xs:element ref="eref"/>
689
+ <xs:element ref="iref"/>
690
+ <xs:element ref="relref"/>
691
+ <xs:element ref="strong"/>
692
+ <xs:element ref="sub"/>
693
+ <xs:element ref="sup"/>
694
+ <xs:element ref="tt"/>
695
+ <xs:element ref="u"/>
696
+ <xs:element ref="xref"/>
697
+ </xs:choice>
698
+ </xs:choice>
699
+ <xs:attribute name="anchor" type="xs:ID"/>
700
+ <xs:attribute name="pn" type="xs:ID"/>
701
+ </xs:complexType>
702
+ </xs:element>
703
+ <xs:element name="xref">
704
+ <xs:complexType mixed="true">
705
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
706
+ <xs:element ref="em"/>
707
+ <xs:element ref="strong"/>
708
+ <xs:element ref="sub"/>
709
+ <xs:element ref="sup"/>
710
+ <xs:element ref="tt"/>
711
+ </xs:choice>
712
+ <xs:attribute name="target" use="required" type="xs:IDREF"/>
713
+ <xs:attribute name="pageno" default="false">
714
+ <xs:simpleType>
715
+ <xs:restriction base="xs:token">
716
+ <xs:enumeration value="true"/>
717
+ <xs:enumeration value="false"/>
718
+ </xs:restriction>
719
+ </xs:simpleType>
720
+ </xs:attribute>
721
+ <xs:attribute name="format" default="default">
722
+ <xs:simpleType>
723
+ <xs:restriction base="xs:token">
724
+ <xs:enumeration value="default"/>
725
+ <xs:enumeration value="title"/>
726
+ <xs:enumeration value="counter"/>
727
+ <xs:enumeration value="none"/>
728
+ </xs:restriction>
729
+ </xs:simpleType>
730
+ </xs:attribute>
731
+ <xs:attribute name="derivedContent"/>
732
+ <xs:attribute name="sectionFormat" default="of">
733
+ <xs:simpleType>
734
+ <xs:restriction base="xs:token">
735
+ <xs:enumeration value="of"/>
736
+ <xs:enumeration value="comma"/>
737
+ <xs:enumeration value="parens"/>
738
+ <xs:enumeration value="bare"/>
739
+ </xs:restriction>
740
+ </xs:simpleType>
741
+ </xs:attribute>
742
+ <xs:attribute name="section"/>
743
+ <xs:attribute name="relative"/>
744
+ <xs:attribute name="derivedLink"/>
745
+ </xs:complexType>
746
+ </xs:element>
747
+ <xs:element name="relref">
748
+ <xs:complexType mixed="true">
749
+ <xs:attribute name="target" use="required" type="xs:IDREF"/>
750
+ <xs:attribute name="displayFormat" default="of">
751
+ <xs:simpleType>
752
+ <xs:restriction base="xs:token">
753
+ <xs:enumeration value="of"/>
754
+ <xs:enumeration value="comma"/>
755
+ <xs:enumeration value="parens"/>
756
+ <xs:enumeration value="bare"/>
757
+ </xs:restriction>
758
+ </xs:simpleType>
759
+ </xs:attribute>
760
+ <xs:attribute name="derivedContent"/>
761
+ <xs:attribute name="section" use="required"/>
762
+ <xs:attribute name="relative"/>
763
+ <xs:attribute name="derivedLink"/>
764
+ </xs:complexType>
765
+ </xs:element>
766
+ <xs:element name="eref">
767
+ <xs:complexType mixed="true">
768
+ <xs:attribute name="brackets" default="none">
769
+ <xs:simpleType>
770
+ <xs:restriction base="xs:token">
771
+ <xs:enumeration value="none"/>
772
+ <xs:enumeration value="angle"/>
773
+ </xs:restriction>
774
+ </xs:simpleType>
775
+ </xs:attribute>
776
+ <xs:attribute name="target" use="required"/>
777
+ </xs:complexType>
778
+ </xs:element>
779
+ <xs:element name="iref">
780
+ <xs:complexType>
781
+ <xs:attribute name="item" use="required"/>
782
+ <xs:attribute name="subitem" default=""/>
783
+ <xs:attribute name="primary" default="false">
784
+ <xs:simpleType>
785
+ <xs:restriction base="xs:token">
786
+ <xs:enumeration value="true"/>
787
+ <xs:enumeration value="false"/>
788
+ </xs:restriction>
789
+ </xs:simpleType>
790
+ </xs:attribute>
791
+ <xs:attribute name="pn" type="xs:ID"/>
792
+ </xs:complexType>
793
+ </xs:element>
794
+ <xs:element name="cref">
795
+ <xs:complexType mixed="true">
796
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
797
+ <xs:element ref="br"/>
798
+ <xs:element ref="em"/>
799
+ <xs:element ref="eref"/>
800
+ <xs:element ref="relref"/>
801
+ <xs:element ref="strong"/>
802
+ <xs:element ref="sub"/>
803
+ <xs:element ref="sup"/>
804
+ <xs:element ref="tt"/>
805
+ <xs:element ref="xref"/>
806
+ </xs:choice>
807
+ <xs:attribute name="anchor" type="xs:ID"/>
808
+ <xs:attribute name="source"/>
809
+ <xs:attribute name="display" default="true">
810
+ <xs:simpleType>
811
+ <xs:restriction base="xs:token">
812
+ <xs:enumeration value="true"/>
813
+ <xs:enumeration value="false"/>
814
+ </xs:restriction>
815
+ </xs:simpleType>
816
+ </xs:attribute>
817
+ </xs:complexType>
818
+ </xs:element>
819
+ <xs:element name="tt">
820
+ <xs:complexType mixed="true">
821
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
822
+ <xs:element ref="bcp14"/>
823
+ <xs:element ref="br"/>
824
+ <xs:element ref="cref"/>
825
+ <xs:element ref="em"/>
826
+ <xs:element ref="eref"/>
827
+ <xs:element ref="iref"/>
828
+ <xs:element ref="relref"/>
829
+ <xs:element ref="strong"/>
830
+ <xs:element ref="sub"/>
831
+ <xs:element ref="sup"/>
832
+ <xs:element ref="xref"/>
833
+ </xs:choice>
834
+ </xs:complexType>
835
+ </xs:element>
836
+ <xs:element name="strong">
837
+ <xs:complexType mixed="true">
838
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
839
+ <xs:element ref="bcp14"/>
840
+ <xs:element ref="br"/>
841
+ <xs:element ref="cref"/>
842
+ <xs:element ref="em"/>
843
+ <xs:element ref="eref"/>
844
+ <xs:element ref="iref"/>
845
+ <xs:element ref="relref"/>
846
+ <xs:element ref="sub"/>
847
+ <xs:element ref="sup"/>
848
+ <xs:element ref="tt"/>
849
+ <xs:element ref="xref"/>
850
+ </xs:choice>
851
+ </xs:complexType>
852
+ </xs:element>
853
+ <xs:element name="em">
854
+ <xs:complexType mixed="true">
855
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
856
+ <xs:element ref="bcp14"/>
857
+ <xs:element ref="br"/>
858
+ <xs:element ref="cref"/>
859
+ <xs:element ref="eref"/>
860
+ <xs:element ref="iref"/>
861
+ <xs:element ref="relref"/>
862
+ <xs:element ref="strong"/>
863
+ <xs:element ref="sub"/>
864
+ <xs:element ref="sup"/>
865
+ <xs:element ref="tt"/>
866
+ <xs:element ref="xref"/>
867
+ </xs:choice>
868
+ </xs:complexType>
869
+ </xs:element>
870
+ <xs:element name="sub">
871
+ <xs:complexType mixed="true">
872
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
873
+ <xs:element ref="bcp14"/>
874
+ <xs:element ref="cref"/>
875
+ <xs:element ref="em"/>
876
+ <xs:element ref="eref"/>
877
+ <xs:element ref="iref"/>
878
+ <xs:element ref="relref"/>
879
+ <xs:element ref="strong"/>
880
+ <xs:element ref="sub"/>
881
+ <xs:element ref="sup"/>
882
+ <xs:element ref="tt"/>
883
+ <xs:element ref="xref"/>
884
+ </xs:choice>
885
+ </xs:complexType>
886
+ </xs:element>
887
+ <xs:element name="sup">
888
+ <xs:complexType mixed="true">
889
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
890
+ <xs:element ref="bcp14"/>
891
+ <xs:element ref="cref"/>
892
+ <xs:element ref="em"/>
893
+ <xs:element ref="eref"/>
894
+ <xs:element ref="iref"/>
895
+ <xs:element ref="relref"/>
896
+ <xs:element ref="strong"/>
897
+ <xs:element ref="sub"/>
898
+ <xs:element ref="sup"/>
899
+ <xs:element ref="tt"/>
900
+ <xs:element ref="xref"/>
901
+ </xs:choice>
902
+ </xs:complexType>
903
+ </xs:element>
904
+ <xs:element name="spanx">
905
+ <xs:complexType mixed="true">
906
+ <xs:attribute name="style" default="emph"/>
907
+ </xs:complexType>
908
+ </xs:element>
909
+ <xs:element name="vspace">
910
+ <xs:complexType>
911
+ <xs:attribute name="blankLines" default="0"/>
912
+ </xs:complexType>
913
+ </xs:element>
914
+ <xs:element name="figure">
915
+ <xs:complexType>
916
+ <xs:sequence>
917
+ <xs:element minOccurs="0" ref="name"/>
918
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="iref"/>
919
+ <xs:element minOccurs="0" ref="preamble"/>
920
+ <xs:choice maxOccurs="unbounded">
921
+ <xs:element ref="artset"/>
922
+ <xs:element ref="artwork"/>
923
+ <xs:element ref="sourcecode"/>
924
+ </xs:choice>
925
+ <xs:element minOccurs="0" ref="postamble"/>
926
+ </xs:sequence>
927
+ <xs:attribute name="anchor" type="xs:ID"/>
928
+ <xs:attribute name="pn" type="xs:ID"/>
929
+ <xs:attribute name="title" default=""/>
930
+ <xs:attribute name="suppress-title" default="false">
931
+ <xs:simpleType>
932
+ <xs:restriction base="xs:token">
933
+ <xs:enumeration value="true"/>
934
+ <xs:enumeration value="false"/>
935
+ </xs:restriction>
936
+ </xs:simpleType>
937
+ </xs:attribute>
938
+ <xs:attribute name="src"/>
939
+ <xs:attribute name="originalSrc"/>
940
+ <xs:attribute name="align" default="left">
941
+ <xs:simpleType>
942
+ <xs:restriction base="xs:token">
943
+ <xs:enumeration value="left"/>
944
+ <xs:enumeration value="center"/>
945
+ <xs:enumeration value="right"/>
946
+ </xs:restriction>
947
+ </xs:simpleType>
948
+ </xs:attribute>
949
+ <xs:attribute name="alt" default=""/>
950
+ <xs:attribute name="width" default=""/>
951
+ <xs:attribute name="height" default=""/>
952
+ </xs:complexType>
953
+ </xs:element>
954
+ <xs:element name="table">
955
+ <xs:complexType>
956
+ <xs:sequence>
957
+ <xs:element minOccurs="0" ref="name"/>
958
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="iref"/>
959
+ <xs:element minOccurs="0" ref="thead"/>
960
+ <xs:element maxOccurs="unbounded" ref="tbody"/>
961
+ <xs:element minOccurs="0" ref="tfoot"/>
962
+ </xs:sequence>
963
+ <xs:attribute name="align" default="center">
964
+ <xs:simpleType>
965
+ <xs:restriction base="xs:token">
966
+ <xs:enumeration value="left"/>
967
+ <xs:enumeration value="center"/>
968
+ <xs:enumeration value="right"/>
969
+ </xs:restriction>
970
+ </xs:simpleType>
971
+ </xs:attribute>
972
+ <xs:attribute name="anchor" type="xs:ID"/>
973
+ <xs:attribute name="pn" type="xs:ID"/>
974
+ </xs:complexType>
975
+ </xs:element>
976
+ <xs:element name="preamble">
977
+ <xs:complexType mixed="true">
978
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
979
+ <xs:element ref="bcp14"/>
980
+ <xs:element ref="cref"/>
981
+ <xs:element ref="em"/>
982
+ <xs:element ref="eref"/>
983
+ <xs:element ref="iref"/>
984
+ <xs:element ref="relref"/>
985
+ <xs:element ref="spanx"/>
986
+ <xs:element ref="strong"/>
987
+ <xs:element ref="sub"/>
988
+ <xs:element ref="sup"/>
989
+ <xs:element ref="tt"/>
990
+ <xs:element ref="u"/>
991
+ <xs:element ref="xref"/>
992
+ </xs:choice>
993
+ </xs:complexType>
994
+ </xs:element>
995
+ <xs:element name="artset">
996
+ <xs:complexType>
997
+ <xs:sequence>
998
+ <xs:element maxOccurs="unbounded" ref="artwork"/>
999
+ </xs:sequence>
1000
+ <xs:attribute name="anchor" type="xs:ID"/>
1001
+ <xs:attribute name="pn" type="xs:ID"/>
1002
+ </xs:complexType>
1003
+ </xs:element>
1004
+ <xs:element name="artwork">
1005
+ <xs:complexType mixed="true">
1006
+ <xs:attribute name="anchor" type="xs:ID"/>
1007
+ <xs:attribute name="pn" type="xs:ID"/>
1008
+ <xs:attribute name="name" default=""/>
1009
+ <xs:attribute name="type" default=""/>
1010
+ <xs:attribute name="src"/>
1011
+ <xs:attribute name="align" default="left">
1012
+ <xs:simpleType>
1013
+ <xs:restriction base="xs:token">
1014
+ <xs:enumeration value="left"/>
1015
+ <xs:enumeration value="center"/>
1016
+ <xs:enumeration value="right"/>
1017
+ </xs:restriction>
1018
+ </xs:simpleType>
1019
+ </xs:attribute>
1020
+ <xs:attribute name="alt" default=""/>
1021
+ <xs:attribute name="width" default=""/>
1022
+ <xs:attribute name="height" default=""/>
1023
+ <xs:attribute name="originalSrc"/>
1024
+ </xs:complexType>
1025
+ </xs:element>
1026
+ <xs:element name="sourcecode">
1027
+ <xs:complexType mixed="true">
1028
+ <xs:attribute name="anchor" type="xs:ID"/>
1029
+ <xs:attribute name="pn" type="xs:ID"/>
1030
+ <xs:attribute name="name" default=""/>
1031
+ <xs:attribute name="type" default=""/>
1032
+ <xs:attribute name="markers" default="false">
1033
+ <xs:simpleType>
1034
+ <xs:restriction base="xs:token">
1035
+ <xs:enumeration value="true"/>
1036
+ <xs:enumeration value="false"/>
1037
+ </xs:restriction>
1038
+ </xs:simpleType>
1039
+ </xs:attribute>
1040
+ <xs:attribute name="src"/>
1041
+ <xs:attribute name="originalSrc"/>
1042
+ </xs:complexType>
1043
+ </xs:element>
1044
+ <xs:element name="thead">
1045
+ <xs:complexType>
1046
+ <xs:sequence>
1047
+ <xs:element maxOccurs="unbounded" ref="tr"/>
1048
+ </xs:sequence>
1049
+ <xs:attribute name="anchor" type="xs:ID"/>
1050
+ </xs:complexType>
1051
+ </xs:element>
1052
+ <xs:element name="tbody">
1053
+ <xs:complexType>
1054
+ <xs:sequence>
1055
+ <xs:element maxOccurs="unbounded" ref="tr"/>
1056
+ </xs:sequence>
1057
+ <xs:attribute name="anchor" type="xs:ID"/>
1058
+ </xs:complexType>
1059
+ </xs:element>
1060
+ <xs:element name="tfoot">
1061
+ <xs:complexType>
1062
+ <xs:sequence>
1063
+ <xs:element maxOccurs="unbounded" ref="tr"/>
1064
+ </xs:sequence>
1065
+ <xs:attribute name="anchor" type="xs:ID"/>
1066
+ </xs:complexType>
1067
+ </xs:element>
1068
+ <xs:element name="tr">
1069
+ <xs:complexType>
1070
+ <xs:choice maxOccurs="unbounded">
1071
+ <xs:element ref="td"/>
1072
+ <xs:element ref="th"/>
1073
+ </xs:choice>
1074
+ <xs:attribute name="anchor" type="xs:ID"/>
1075
+ </xs:complexType>
1076
+ </xs:element>
1077
+ <xs:element name="td">
1078
+ <xs:complexType mixed="true">
1079
+ <xs:choice>
1080
+ <xs:choice maxOccurs="unbounded">
1081
+ <xs:element ref="artset"/>
1082
+ <xs:element ref="artwork"/>
1083
+ <xs:element ref="dl"/>
1084
+ <xs:element ref="figure"/>
1085
+ <xs:element ref="ol"/>
1086
+ <xs:element ref="sourcecode"/>
1087
+ <xs:element ref="t"/>
1088
+ <xs:element ref="ul"/>
1089
+ </xs:choice>
1090
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1091
+ <xs:element ref="bcp14"/>
1092
+ <xs:element ref="br"/>
1093
+ <xs:element ref="cref"/>
1094
+ <xs:element ref="em"/>
1095
+ <xs:element ref="eref"/>
1096
+ <xs:element ref="iref"/>
1097
+ <xs:element ref="relref"/>
1098
+ <xs:element ref="strong"/>
1099
+ <xs:element ref="sub"/>
1100
+ <xs:element ref="sup"/>
1101
+ <xs:element ref="tt"/>
1102
+ <xs:element ref="u"/>
1103
+ <xs:element ref="xref"/>
1104
+ </xs:choice>
1105
+ </xs:choice>
1106
+ <xs:attribute name="anchor" type="xs:ID"/>
1107
+ <xs:attribute name="colspan" default="1"/>
1108
+ <xs:attribute name="rowspan" default="1"/>
1109
+ <xs:attribute name="align" default="left">
1110
+ <xs:simpleType>
1111
+ <xs:restriction base="xs:token">
1112
+ <xs:enumeration value="left"/>
1113
+ <xs:enumeration value="center"/>
1114
+ <xs:enumeration value="right"/>
1115
+ </xs:restriction>
1116
+ </xs:simpleType>
1117
+ </xs:attribute>
1118
+ </xs:complexType>
1119
+ </xs:element>
1120
+ <xs:element name="th">
1121
+ <xs:complexType mixed="true">
1122
+ <xs:choice>
1123
+ <xs:choice maxOccurs="unbounded">
1124
+ <xs:element ref="artset"/>
1125
+ <xs:element ref="artwork"/>
1126
+ <xs:element ref="dl"/>
1127
+ <xs:element ref="figure"/>
1128
+ <xs:element ref="ol"/>
1129
+ <xs:element ref="sourcecode"/>
1130
+ <xs:element ref="t"/>
1131
+ <xs:element ref="ul"/>
1132
+ </xs:choice>
1133
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1134
+ <xs:element ref="bcp14"/>
1135
+ <xs:element ref="br"/>
1136
+ <xs:element ref="cref"/>
1137
+ <xs:element ref="em"/>
1138
+ <xs:element ref="eref"/>
1139
+ <xs:element ref="iref"/>
1140
+ <xs:element ref="relref"/>
1141
+ <xs:element ref="strong"/>
1142
+ <xs:element ref="sub"/>
1143
+ <xs:element ref="sup"/>
1144
+ <xs:element ref="tt"/>
1145
+ <xs:element ref="u"/>
1146
+ <xs:element ref="xref"/>
1147
+ </xs:choice>
1148
+ </xs:choice>
1149
+ <xs:attribute name="anchor" type="xs:ID"/>
1150
+ <xs:attribute name="colspan" default="1"/>
1151
+ <xs:attribute name="rowspan" default="1"/>
1152
+ <xs:attribute name="align" default="left">
1153
+ <xs:simpleType>
1154
+ <xs:restriction base="xs:token">
1155
+ <xs:enumeration value="left"/>
1156
+ <xs:enumeration value="center"/>
1157
+ <xs:enumeration value="right"/>
1158
+ </xs:restriction>
1159
+ </xs:simpleType>
1160
+ </xs:attribute>
1161
+ </xs:complexType>
1162
+ </xs:element>
1163
+ <xs:element name="postamble">
1164
+ <xs:complexType mixed="true">
1165
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1166
+ <xs:element ref="cref"/>
1167
+ <xs:element ref="eref"/>
1168
+ <xs:element ref="iref"/>
1169
+ <xs:element ref="spanx"/>
1170
+ <xs:element ref="xref"/>
1171
+ </xs:choice>
1172
+ </xs:complexType>
1173
+ </xs:element>
1174
+ <xs:element name="texttable">
1175
+ <xs:complexType>
1176
+ <xs:sequence>
1177
+ <xs:element minOccurs="0" ref="name"/>
1178
+ <xs:element minOccurs="0" ref="preamble"/>
1179
+ <xs:element maxOccurs="unbounded" ref="ttcol"/>
1180
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="c"/>
1181
+ <xs:element minOccurs="0" ref="postamble"/>
1182
+ </xs:sequence>
1183
+ <xs:attribute name="anchor" type="xs:ID"/>
1184
+ <xs:attribute name="title" default=""/>
1185
+ <xs:attribute name="suppress-title" default="false">
1186
+ <xs:simpleType>
1187
+ <xs:restriction base="xs:token">
1188
+ <xs:enumeration value="true"/>
1189
+ <xs:enumeration value="false"/>
1190
+ </xs:restriction>
1191
+ </xs:simpleType>
1192
+ </xs:attribute>
1193
+ <xs:attribute name="align" default="center">
1194
+ <xs:simpleType>
1195
+ <xs:restriction base="xs:token">
1196
+ <xs:enumeration value="left"/>
1197
+ <xs:enumeration value="center"/>
1198
+ <xs:enumeration value="right"/>
1199
+ </xs:restriction>
1200
+ </xs:simpleType>
1201
+ </xs:attribute>
1202
+ <xs:attribute name="style" default="full">
1203
+ <xs:simpleType>
1204
+ <xs:restriction base="xs:token">
1205
+ <xs:enumeration value="all"/>
1206
+ <xs:enumeration value="none"/>
1207
+ <xs:enumeration value="headers"/>
1208
+ <xs:enumeration value="full"/>
1209
+ </xs:restriction>
1210
+ </xs:simpleType>
1211
+ </xs:attribute>
1212
+ </xs:complexType>
1213
+ </xs:element>
1214
+ <xs:element name="ttcol">
1215
+ <xs:complexType mixed="true">
1216
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1217
+ <xs:element ref="cref"/>
1218
+ <xs:element ref="eref"/>
1219
+ <xs:element ref="iref"/>
1220
+ <xs:element ref="xref"/>
1221
+ </xs:choice>
1222
+ <xs:attribute name="width"/>
1223
+ <xs:attribute name="align" default="left">
1224
+ <xs:simpleType>
1225
+ <xs:restriction base="xs:token">
1226
+ <xs:enumeration value="left"/>
1227
+ <xs:enumeration value="center"/>
1228
+ <xs:enumeration value="right"/>
1229
+ </xs:restriction>
1230
+ </xs:simpleType>
1231
+ </xs:attribute>
1232
+ </xs:complexType>
1233
+ </xs:element>
1234
+ <xs:element name="c">
1235
+ <xs:complexType mixed="true">
1236
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1237
+ <xs:element ref="cref"/>
1238
+ <xs:element ref="eref"/>
1239
+ <xs:element ref="iref"/>
1240
+ <xs:element ref="spanx"/>
1241
+ <xs:element ref="xref"/>
1242
+ </xs:choice>
1243
+ </xs:complexType>
1244
+ </xs:element>
1245
+ <xs:element name="bcp14">
1246
+ <xs:complexType mixed="true">
1247
+ </xs:complexType>
1248
+ </xs:element>
1249
+ <xs:element name="back">
1250
+ <xs:complexType>
1251
+ <xs:sequence>
1252
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="displayreference"/>
1253
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="references"/>
1254
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="section"/>
1255
+ </xs:sequence>
1256
+ </xs:complexType>
1257
+ </xs:element>
1258
+ <xs:element name="displayreference">
1259
+ <xs:complexType>
1260
+ <xs:attribute name="target" use="required" type="xs:IDREF"/>
1261
+ <xs:attribute name="to" use="required"/>
1262
+ </xs:complexType>
1263
+ </xs:element>
1264
+ <xs:element name="references">
1265
+ <xs:complexType>
1266
+ <xs:sequence>
1267
+ <xs:element minOccurs="0" ref="name"/>
1268
+ <xs:choice>
1269
+ <xs:element maxOccurs="unbounded" ref="references"/>
1270
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1271
+ <xs:element ref="reference"/>
1272
+ <xs:element ref="referencegroup"/>
1273
+ </xs:choice>
1274
+ </xs:choice>
1275
+ </xs:sequence>
1276
+ <xs:attribute name="pn" type="xs:ID"/>
1277
+ <xs:attribute name="anchor" type="xs:ID"/>
1278
+ <xs:attribute name="title"/>
1279
+ </xs:complexType>
1280
+ </xs:element>
1281
+ <xs:element name="reference">
1282
+ <xs:complexType>
1283
+ <xs:sequence>
1284
+ <xs:element minOccurs="0" ref="stream"/>
1285
+ <xs:element ref="front"/>
1286
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1287
+ <xs:element ref="annotation"/>
1288
+ <xs:element ref="format"/>
1289
+ <xs:element ref="refcontent"/>
1290
+ <xs:element ref="seriesInfo"/>
1291
+ </xs:choice>
1292
+ </xs:sequence>
1293
+ <xs:attribute name="anchor" use="required" type="xs:ID"/>
1294
+ <xs:attribute name="derivedAnchor"/>
1295
+ <xs:attribute name="target"/>
1296
+ <xs:attribute name="quoteTitle" default="true">
1297
+ <xs:simpleType>
1298
+ <xs:restriction base="xs:token">
1299
+ <xs:enumeration value="true"/>
1300
+ <xs:enumeration value="false"/>
1301
+ </xs:restriction>
1302
+ </xs:simpleType>
1303
+ </xs:attribute>
1304
+ <xs:attribute name="quote-title">
1305
+ <xs:simpleType>
1306
+ <xs:restriction base="xs:token">
1307
+ <xs:enumeration value="true"/>
1308
+ <xs:enumeration value="false"/>
1309
+ </xs:restriction>
1310
+ </xs:simpleType>
1311
+ </xs:attribute>
1312
+ </xs:complexType>
1313
+ </xs:element>
1314
+ <xs:element name="stream">
1315
+ <xs:simpleType>
1316
+ <xs:union>
1317
+ <xs:simpleType>
1318
+ <xs:restriction base="xs:token">
1319
+ <xs:enumeration value="IETF"/>
1320
+ <xs:enumeration value="IAB"/>
1321
+ <xs:enumeration value="IRTF"/>
1322
+ <xs:enumeration value="independent"/>
1323
+ <xs:enumeration value="editorial"/>
1324
+ </xs:restriction>
1325
+ </xs:simpleType>
1326
+ <xs:simpleType>
1327
+ <xs:restriction base="xs:token">
1328
+ <xs:length value="0"/>
1329
+ </xs:restriction>
1330
+ </xs:simpleType>
1331
+ </xs:union>
1332
+ </xs:simpleType>
1333
+ </xs:element>
1334
+ <xs:element name="referencegroup">
1335
+ <xs:complexType>
1336
+ <xs:sequence>
1337
+ <xs:element maxOccurs="unbounded" ref="reference"/>
1338
+ </xs:sequence>
1339
+ <xs:attribute name="anchor" use="required" type="xs:ID"/>
1340
+ <xs:attribute name="derivedAnchor"/>
1341
+ <xs:attribute name="target"/>
1342
+ </xs:complexType>
1343
+ </xs:element>
1344
+ <xs:element name="seriesInfo">
1345
+ <xs:complexType>
1346
+ <xs:attribute name="name" use="required"/>
1347
+ <xs:attribute name="value" use="required"/>
1348
+ <xs:attribute name="asciiName"/>
1349
+ <xs:attribute name="asciiValue"/>
1350
+ <xs:attribute name="status"/>
1351
+ <xs:attribute name="stream">
1352
+ <xs:simpleType>
1353
+ <xs:restriction base="xs:token">
1354
+ <xs:enumeration value="IETF"/>
1355
+ <xs:enumeration value="IAB"/>
1356
+ <xs:enumeration value="IRTF"/>
1357
+ <xs:enumeration value="independent"/>
1358
+ <xs:enumeration value="editorial"/>
1359
+ </xs:restriction>
1360
+ </xs:simpleType>
1361
+ </xs:attribute>
1362
+ </xs:complexType>
1363
+ </xs:element>
1364
+ <xs:element name="format">
1365
+ <xs:complexType>
1366
+ <xs:attribute name="target"/>
1367
+ <xs:attribute name="type" use="required"/>
1368
+ <xs:attribute name="octets"/>
1369
+ </xs:complexType>
1370
+ </xs:element>
1371
+ <xs:element name="annotation">
1372
+ <xs:complexType mixed="true">
1373
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1374
+ <xs:element ref="bcp14"/>
1375
+ <xs:element ref="cref"/>
1376
+ <xs:element ref="em"/>
1377
+ <xs:element ref="eref"/>
1378
+ <xs:element ref="iref"/>
1379
+ <xs:element ref="relref"/>
1380
+ <xs:element ref="spanx"/>
1381
+ <xs:element ref="strong"/>
1382
+ <xs:element ref="sub"/>
1383
+ <xs:element ref="sup"/>
1384
+ <xs:element ref="tt"/>
1385
+ <xs:element ref="u"/>
1386
+ <xs:element ref="xref"/>
1387
+ </xs:choice>
1388
+ </xs:complexType>
1389
+ </xs:element>
1390
+ <xs:element name="refcontent">
1391
+ <xs:complexType mixed="true">
1392
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
1393
+ <xs:element ref="bcp14"/>
1394
+ <xs:element ref="em"/>
1395
+ <xs:element ref="strong"/>
1396
+ <xs:element ref="sub"/>
1397
+ <xs:element ref="sup"/>
1398
+ <xs:element ref="tt"/>
1399
+ </xs:choice>
1400
+ </xs:complexType>
1401
+ </xs:element>
1402
+ <xs:element name="u">
1403
+ <xs:complexType mixed="true">
1404
+ <xs:attribute name="anchor" type="xs:ID"/>
1405
+ <xs:attribute name="ascii"/>
1406
+ <xs:attribute name="format" default="lit-name-num"/>
1407
+ <xs:attribute name="pn" type="xs:ID"/>
1408
+ </xs:complexType>
1409
+ </xs:element>
1410
+ </xs:schema>