validate-website 0.1 → 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. data/README +15 -4
  2. data/Rakefile +6 -4
  3. data/bin/validate-website +33 -36
  4. data/lib/colorful_messages.rb +7 -10
  5. data/lib/validator.rb +37 -0
  6. data/lib/xhtml/xframes-1.xsd +166 -0
  7. data/lib/xhtml/xhtml-access-1.xsd +43 -0
  8. data/lib/xhtml/xhtml-applet-1.xsd +66 -0
  9. data/lib/xhtml/xhtml-attribs-1.xsd +67 -0
  10. data/lib/xhtml/xhtml-base-1.xsd +31 -0
  11. data/lib/xhtml/xhtml-basic-form-1.xsd +195 -0
  12. data/lib/xhtml/xhtml-basic-table-1.xsd +169 -0
  13. data/lib/xhtml/xhtml-basic10-model-1.xsd +385 -0
  14. data/lib/xhtml/xhtml-basic10-module-redefines-1.xsd +61 -0
  15. data/lib/xhtml/xhtml-basic10-modules-1.xsd +233 -0
  16. data/lib/xhtml/xhtml-basic10.xsd +99 -0
  17. data/lib/xhtml/xhtml-basic11-model-1.xsd +622 -0
  18. data/lib/xhtml/xhtml-basic11-modules-1.xsd +508 -0
  19. data/lib/xhtml/xhtml-basic11.xsd +105 -0
  20. data/lib/xhtml/xhtml-bdo-1.xsd +72 -0
  21. data/lib/xhtml/xhtml-blkphras-1.xsd +155 -0
  22. data/lib/xhtml/xhtml-blkpres-1.xsd +32 -0
  23. data/lib/xhtml/xhtml-blkstruct-1.xsd +44 -0
  24. data/lib/xhtml/xhtml-charent-1.xsd +38 -0
  25. data/lib/xhtml/xhtml-copyright-1.xsd +29 -0
  26. data/lib/xhtml/xhtml-csismap-1.xsd +91 -0
  27. data/lib/xhtml/xhtml-datatypes-1.xsd +177 -0
  28. data/lib/xhtml/xhtml-edit-1.xsd +34 -0
  29. data/lib/xhtml/xhtml-events-1.xsd +130 -0
  30. data/lib/xhtml/xhtml-form-1.xsd +321 -0
  31. data/lib/xhtml/xhtml-frames-1.xsd +113 -0
  32. data/lib/xhtml/xhtml-framework-1.xsd +62 -0
  33. data/lib/xhtml/xhtml-hypertext-1.xsd +47 -0
  34. data/lib/xhtml/xhtml-iframe-1.xsd +68 -0
  35. data/lib/xhtml/xhtml-image-1.xsd +40 -0
  36. data/lib/xhtml/xhtml-inlphras-1.xsd +158 -0
  37. data/lib/xhtml/xhtml-inlpres-1.xsd +34 -0
  38. data/lib/xhtml/xhtml-inlstruct-1.xsd +45 -0
  39. data/lib/xhtml/xhtml-inlstyle-1.xsd +22 -0
  40. data/lib/xhtml/xhtml-inputmode-1.xsd +35 -0
  41. data/lib/xhtml/xhtml-lat1.ent +196 -0
  42. data/lib/xhtml/xhtml-legacy-1.xsd +97 -0
  43. data/lib/xhtml/xhtml-link-1.xsd +45 -0
  44. data/lib/xhtml/xhtml-list-1.xsd +94 -0
  45. data/lib/xhtml/xhtml-meta-1.xsd +54 -0
  46. data/lib/xhtml/xhtml-metaAttributes-1.xsd +39 -0
  47. data/lib/xhtml/xhtml-misc-1.xsd +441 -0
  48. data/lib/xhtml/xhtml-nameident-1.xsd +63 -0
  49. data/lib/xhtml/xhtml-notations-1.xsd +69 -0
  50. data/lib/xhtml/xhtml-object-1.xsd +71 -0
  51. data/lib/xhtml/xhtml-param-1.xsd +46 -0
  52. data/lib/xhtml/xhtml-pres-1.xsd +46 -0
  53. data/lib/xhtml/xhtml-print-1.xsd +85 -0
  54. data/lib/xhtml/xhtml-print-model-1.xsd +604 -0
  55. data/lib/xhtml/xhtml-print-modules-1.xsd +422 -0
  56. data/lib/xhtml/xhtml-rdfa-1.dtd +438 -0
  57. data/lib/xhtml/xhtml-rdfa-1.xsd +116 -0
  58. data/lib/xhtml/xhtml-rdfa-model-1.xsd +461 -0
  59. data/lib/xhtml/xhtml-rdfa-modules-1.xsd +548 -0
  60. data/lib/xhtml/xhtml-ruby-1.xsd +170 -0
  61. data/lib/xhtml/xhtml-ruby-basic-1.xsd +84 -0
  62. data/lib/xhtml/xhtml-script-1.xsd +65 -0
  63. data/lib/xhtml/xhtml-special.ent +80 -0
  64. data/lib/xhtml/xhtml-ssismap-1.xsd +38 -0
  65. data/lib/xhtml/xhtml-struct-1.xsd +85 -0
  66. data/lib/xhtml/xhtml-style-1.xsd +47 -0
  67. data/lib/xhtml/xhtml-symbol.ent +237 -0
  68. data/lib/xhtml/xhtml-table-1.xsd +267 -0
  69. data/lib/xhtml/xhtml-target-1.xsd +49 -0
  70. data/lib/xhtml/xhtml-text-1.xsd +62 -0
  71. data/lib/xhtml/xhtml1-frameset.dtd +1235 -0
  72. data/lib/xhtml/xhtml1-frameset.xsd +2847 -0
  73. data/lib/xhtml/xhtml1-strict.dtd +978 -0
  74. data/lib/xhtml/xhtml1-strict.xsd +2211 -0
  75. data/lib/xhtml/xhtml1-transitional.dtd +1201 -0
  76. data/lib/xhtml/xhtml1-transitional.xsd +2755 -0
  77. data/lib/xhtml/xhtml11-model-1.xsd +715 -0
  78. data/lib/xhtml/xhtml11-module-redefines-1.xsd +335 -0
  79. data/lib/xhtml/xhtml11-modules-1.xsd +605 -0
  80. data/lib/xhtml/xhtml11.xsd +107 -0
  81. data/lib/xhtml/xhtml2.xsd +21 -0
  82. data/lib/xhtml/xml-events-1.xsd +73 -0
  83. data/lib/xhtml/xml-events-2.xsd +73 -0
  84. data/lib/xhtml/xml-events-attribs-1.xsd +73 -0
  85. data/lib/xhtml/xml-events-attribs-2.xsd +75 -0
  86. data/lib/xhtml/xml-events-copyright-1.xsd +34 -0
  87. data/lib/xhtml/xml-events-copyright-2.xsd +34 -0
  88. data/lib/xhtml/xml-handlers-1.xsd +136 -0
  89. data/lib/xhtml/xml-handlers-2.xsd +98 -0
  90. data/lib/xhtml/xml-script-1.xsd +38 -0
  91. data/lib/xhtml/xml.xsd +286 -0
  92. metadata +114 -8
  93. data/lib/spkspider.rb +0 -147
@@ -0,0 +1,604 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
5
+ elementFormDefault="qualified" >
6
+ <xs:import
7
+ namespace="http://www.w3.org/1999/xhtml/datatypes/"
8
+ schemaLocation="xhtml-datatypes-1.xsd"/>
9
+ <xs:annotation>
10
+ <xs:documentation>
11
+ This is the XML Schema module of common content models for XHTML Print 1.0
12
+
13
+ $Id: xhtml-print-model-1.xsd,v 1.1 2008/05/29 21:25:02 smccarro Exp $
14
+ </xs:documentation>
15
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
16
+ </xs:annotation>
17
+ <xs:annotation>
18
+ <xs:documentation>
19
+ XHTML Document Model
20
+ This module describes the groupings of elements/attributes
21
+ that make up common content models for XHTML elements.
22
+ XHTML has following basic content models:
23
+ xhtml.Inline.mix; character-level elements
24
+ xhtml.Block.mix; block-like elements, e.g., paragraphs and lists
25
+ xhtml.Flow.mix; any block or inline elements
26
+ xhtml.HeadOpts.mix; Head Elements
27
+ xhtml.InlinePre.mix; Special class for pre content model
28
+ xhtml.InlineNoAnchor.mix; Content model for Anchor
29
+
30
+ Any groups declared in this module may be used to create
31
+ element content models, but the above are considered 'global'
32
+ (insofar as that term applies here). XHTML has the
33
+ following Attribute Groups
34
+ xhtml.Core.extra.attrib
35
+ xhtml.I18n.extra.attrib
36
+ xhtml.Common.extra
37
+
38
+ The above attribute Groups are considered Global
39
+ </xs:documentation>
40
+ </xs:annotation>
41
+ <xs:attributeGroup
42
+ name="xhtml.I18n.extra.attrib">
43
+ <xs:annotation>
44
+ <xs:documentation> Extended I18n attribute </xs:documentation>
45
+ </xs:annotation>
46
+ </xs:attributeGroup>
47
+ <xs:attributeGroup
48
+ name="xhtml.Common.extra">
49
+ <xs:annotation>
50
+ <xs:documentation> Extended Common Attributes </xs:documentation>
51
+ </xs:annotation>
52
+ <xs:attributeGroup
53
+ ref="xhtml.style.attrib">
54
+ <xs:annotation>
55
+ <xs:documentation>
56
+ "style" attribute from Inline Style Module
57
+ </xs:documentation>
58
+ </xs:annotation>
59
+ </xs:attributeGroup>
60
+ </xs:attributeGroup>
61
+ <xs:attributeGroup
62
+ name="xhtml.Core.extra.attrib">
63
+ <xs:annotation>
64
+ <xs:documentation> Extend Core Attributes </xs:documentation>
65
+ </xs:annotation>
66
+ </xs:attributeGroup>
67
+ <xs:attributeGroup
68
+ name="xhtml.Global.core.extra.attrib">
69
+ <xs:annotation>
70
+ <xs:documentation> Extended Global Core Attributes </xs:documentation>
71
+ </xs:annotation>
72
+ </xs:attributeGroup>
73
+ <xs:attributeGroup
74
+ name="xhtml.Global.I18n.extra.attrib">
75
+ <xs:annotation>
76
+ <xs:documentation> Extended Global I18n attributes </xs:documentation>
77
+ </xs:annotation>
78
+ </xs:attributeGroup>
79
+ <xs:attributeGroup
80
+ name="xhtml.Global.Common.extra">
81
+ <xs:annotation>
82
+ <xs:documentation> Extended Global Common Attributes </xs:documentation>
83
+ </xs:annotation>
84
+ </xs:attributeGroup>
85
+ <xs:group
86
+ name="xhtml.Head.extra">
87
+ <xs:sequence/>
88
+ </xs:group>
89
+ <xs:group
90
+ name="xhtml.HeadOpts.mix">
91
+ <xs:choice>
92
+ <xs:element
93
+ name="script"
94
+ type="xhtml.script.type"/>
95
+ <xs:element
96
+ name="style"
97
+ type="xhtml.style.type"/>
98
+ <xs:element
99
+ name="meta"
100
+ type="xhtml.meta.type"/>
101
+ <xs:element
102
+ name="link"
103
+ type="xhtml.link.type"/>
104
+ <xs:element
105
+ name="object"
106
+ type="xhtml.object.type"/>
107
+ <xs:group
108
+ ref="xhtml.Head.extra"/>
109
+ </xs:choice>
110
+ </xs:group>
111
+ <xs:group
112
+ name="xhtml.head.content">
113
+ <xs:sequence>
114
+ <xs:group
115
+ ref="xhtml.HeadOpts.mix"
116
+ minOccurs="0"
117
+ maxOccurs="unbounded"/>
118
+ <xs:choice>
119
+ <xs:sequence>
120
+ <xs:element
121
+ name="title"
122
+ minOccurs="1"
123
+ maxOccurs="1"
124
+ type="xhtml.title.type"/>
125
+ <xs:group
126
+ ref="xhtml.HeadOpts.mix"
127
+ minOccurs="0"
128
+ maxOccurs="unbounded"/>
129
+ <xs:sequence
130
+ minOccurs="0">
131
+ <xs:element
132
+ name="base"
133
+ type="xhtml.base.type"/>
134
+ <xs:group
135
+ ref="xhtml.HeadOpts.mix"
136
+ minOccurs="0"
137
+ maxOccurs="unbounded"/>
138
+ </xs:sequence>
139
+ </xs:sequence>
140
+ <xs:sequence>
141
+ <xs:element
142
+ name="base"
143
+ type="xhtml.base.type"
144
+ minOccurs="1"
145
+ maxOccurs="1"/>
146
+ <xs:group
147
+ ref="xhtml.HeadOpts.mix"
148
+ minOccurs="0"
149
+ maxOccurs="unbounded"/>
150
+ <xs:element
151
+ name="title"
152
+ minOccurs="1"
153
+ maxOccurs="1"
154
+ type="xhtml.title.type"/>
155
+ <xs:group
156
+ ref="xhtml.HeadOpts.mix"
157
+ minOccurs="0"
158
+ maxOccurs="unbounded"/>
159
+ </xs:sequence>
160
+ </xs:choice>
161
+ </xs:sequence>
162
+ </xs:group>
163
+ <!--
164
+ script and noscript are used to contain scripts
165
+ and alternative content
166
+ -->
167
+ <xs:group
168
+ name="xhtml.Script.class">
169
+ <xs:choice>
170
+ <xs:element
171
+ name="script"
172
+ type="xhtml.script.type"/>
173
+ <xs:element
174
+ name="noscript"
175
+ type="xhtml.noscript.type"/>
176
+ </xs:choice>
177
+ </xs:group>
178
+ <xs:group
179
+ name="xhtml.Misc.extra">
180
+ <xs:sequence/>
181
+ </xs:group>
182
+ <!--
183
+ These elements are neither block nor inline, and can
184
+ essentially be used anywhere in the document body.
185
+ -->
186
+ <xs:group
187
+ name="xhtml.Misc.class">
188
+ <xs:choice>
189
+ <xs:group
190
+ ref="xhtml.Script.class"/>
191
+ <xs:group
192
+ ref="xhtml.Misc.extra"/>
193
+ </xs:choice>
194
+ </xs:group>
195
+ <!-- Inline Elements -->
196
+ <xs:group
197
+ name="xhtml.InlStruct.class">
198
+ <xs:choice>
199
+ <xs:element
200
+ name="br"
201
+ type="xhtml.br.type"/>
202
+ <xs:element
203
+ name="span"
204
+ type="xhtml.span.type"/>
205
+ </xs:choice>
206
+ </xs:group>
207
+ <xs:group
208
+ name="xhtml.InlPhras.class">
209
+ <xs:choice>
210
+ <xs:element
211
+ name="em"
212
+ type="xhtml.em.type"/>
213
+ <xs:element
214
+ name="strong"
215
+ type="xhtml.strong.type"/>
216
+ <xs:element
217
+ name="dfn"
218
+ type="xhtml.dfn.type"/>
219
+ <xs:element
220
+ name="code"
221
+ type="xhtml.code.type"/>
222
+ <xs:element
223
+ name="samp"
224
+ type="xhtml.samp.type"/>
225
+ <xs:element
226
+ name="kbd"
227
+ type="xhtml.kbd.type"/>
228
+ <xs:element
229
+ name="var"
230
+ type="xhtml.var.type"/>
231
+ <xs:element
232
+ name="cite"
233
+ type="xhtml.cite.type"/>
234
+ <xs:element
235
+ name="abbr"
236
+ type="xhtml.abbr.type"/>
237
+ <xs:element
238
+ name="acronym"
239
+ type="xhtml.acronym.type"/>
240
+ <xs:element
241
+ name="q"
242
+ type="xhtml.q.type"/>
243
+ </xs:choice>
244
+ </xs:group>
245
+ <xs:group
246
+ name="xhtml.InlPres.class">
247
+ <xs:choice>
248
+ <xs:element
249
+ name="tt"
250
+ type="xhtml.InlPres.type"/>
251
+ <xs:element
252
+ name="i"
253
+ type="xhtml.InlPres.type"/>
254
+ <xs:element
255
+ name="b"
256
+ type="xhtml.InlPres.type"/>
257
+ <xs:element
258
+ name="big"
259
+ type="xhtml.InlPres.type"/>
260
+ <xs:element
261
+ name="small"
262
+ type="xhtml.InlPres.type"/>
263
+ <xs:element
264
+ name="sub"
265
+ type="xhtml.InlPres.type"/>
266
+ <xs:element
267
+ name="sup"
268
+ type="xhtml.InlPres.type"/>
269
+ </xs:choice>
270
+ </xs:group>
271
+ <xs:group
272
+ name="xhtml.Anchor.class">
273
+ <xs:sequence>
274
+ <xs:element
275
+ name="a"
276
+ type="xhtml.a.type"/>
277
+ </xs:sequence>
278
+ </xs:group>
279
+ <xs:group
280
+ name="xhtml.InlSpecial.class">
281
+ <xs:choice>
282
+ <xs:element
283
+ name="img"
284
+ type="xhtml.img.type"/>
285
+ <xs:element
286
+ name="map"
287
+ type="xhtml.map.type"/>
288
+ <xs:element
289
+ name="object"
290
+ type="xhtml.object.type"/>
291
+ </xs:choice>
292
+ </xs:group>
293
+ <xs:group
294
+ name="xhtml.InlForm.class">
295
+ <xs:choice>
296
+ <xs:element
297
+ name="input"
298
+ type="xhtml.input.type"/>
299
+ <xs:element
300
+ name="select"
301
+ type="xhtml.select.type"/>
302
+ <xs:element
303
+ name="textarea"
304
+ type="xhtml.textarea.type"/>
305
+ <xs:element
306
+ name="label"
307
+ type="xhtml.label.type"/>
308
+ </xs:choice>
309
+ </xs:group>
310
+ <xs:group
311
+ name="xhtml.Inline.extra">
312
+ <xs:sequence/>
313
+ </xs:group>
314
+ <!--
315
+ Inline.class includes all inline elements,
316
+ used as a component in mixes
317
+ -->
318
+ <xs:group
319
+ name="xhtml.Inline.class">
320
+ <xs:choice>
321
+ <xs:group
322
+ ref="xhtml.InlStruct.class"/>
323
+ <xs:group
324
+ ref="xhtml.InlPhras.class"/>
325
+ <xs:group
326
+ ref="xhtml.InlPres.class"/>
327
+ <xs:group
328
+ ref="xhtml.Anchor.class"/>
329
+ <xs:group
330
+ ref="xhtml.InlSpecial.class"/>
331
+ <xs:group
332
+ ref="xhtml.InlForm.class"/>
333
+ <xs:group
334
+ ref="xhtml.Inline.extra"/>
335
+ </xs:choice>
336
+ </xs:group>
337
+ <!--
338
+ InlinePre.mix
339
+ Used as a component in pre model
340
+ -->
341
+ <xs:group
342
+ name="xhtml.InlinePre.mix">
343
+ <xs:choice>
344
+ <xs:group
345
+ ref="xhtml.InlStruct.class"/>
346
+ <xs:group
347
+ ref="xhtml.InlPhras.class"/>
348
+ <xs:element
349
+ name="tt"
350
+ type="xhtml.InlPres.type"/>
351
+ <xs:element
352
+ name="i"
353
+ type="xhtml.InlPres.type"/>
354
+ <xs:element
355
+ name="b"
356
+ type="xhtml.InlPres.type"/>
357
+ <xs:group
358
+ ref="xhtml.Anchor.class"/>
359
+ <xs:group
360
+ ref="xhtml.Misc.class"/>
361
+ <xs:group
362
+ ref="xhtml.Inline.extra"/>
363
+ </xs:choice>
364
+ </xs:group>
365
+ <!--
366
+ InlNoAnchor.class includes all non-anchor inlines,
367
+ used as a component in mixes
368
+ -->
369
+ <xs:group
370
+ name="xhtml.InlNoAnchor.class">
371
+ <xs:choice>
372
+ <xs:group
373
+ ref="xhtml.InlStruct.class"/>
374
+ <xs:group
375
+ ref="xhtml.InlPhras.class"/>
376
+ <xs:group
377
+ ref="xhtml.InlPres.class"/>
378
+ <xs:group
379
+ ref="xhtml.InlSpecial.class"/>
380
+ <xs:group
381
+ ref="xhtml.InlForm.class"/>
382
+ <xs:group
383
+ ref="xhtml.Inline.extra"/>
384
+ </xs:choice>
385
+ </xs:group>
386
+ <!--
387
+ InlNoAnchor.mix includes all non-anchor inlines
388
+ -->
389
+ <xs:group
390
+ name="xhtml.InlNoAnchor.mix">
391
+ <xs:choice>
392
+ <xs:group
393
+ ref="xhtml.InlNoAnchor.class"/>
394
+ <xs:group
395
+ ref="xhtml.Misc.class"/>
396
+ </xs:choice>
397
+ </xs:group>
398
+ <!--
399
+ Inline.mix includes all inline elements, including Misc.class
400
+ -->
401
+ <xs:group
402
+ name="xhtml.Inline.mix">
403
+ <xs:choice>
404
+ <xs:group
405
+ ref="xhtml.Inline.class"/>
406
+ <xs:group
407
+ ref="xhtml.Misc.class"/>
408
+ </xs:choice>
409
+ </xs:group>
410
+ <!--
411
+ In the HTML 4 DTD, heading and list elements were included
412
+ in the block group. The Heading.class and
413
+ List.class groups must now be included explicitly
414
+ on element declarations where desired.
415
+ -->
416
+ <xs:group
417
+ name="xhtml.Heading.class">
418
+ <xs:choice>
419
+ <xs:element
420
+ name="h1"
421
+ type="xhtml.h1.type"/>
422
+ <xs:element
423
+ name="h2"
424
+ type="xhtml.h2.type"/>
425
+ <xs:element
426
+ name="h3"
427
+ type="xhtml.h3.type"/>
428
+ <xs:element
429
+ name="h4"
430
+ type="xhtml.h4.type"/>
431
+ <xs:element
432
+ name="h5"
433
+ type="xhtml.h5.type"/>
434
+ <xs:element
435
+ name="h6"
436
+ type="xhtml.h6.type"/>
437
+ </xs:choice>
438
+ </xs:group>
439
+ <xs:group
440
+ name="xhtml.List.class">
441
+ <xs:choice>
442
+ <xs:element
443
+ name="ul"
444
+ type="xhtml.ul.type"/>
445
+ <xs:element
446
+ name="ol"
447
+ type="xhtml.ol.type"/>
448
+ <xs:element
449
+ name="dl"
450
+ type="xhtml.dl.type"/>
451
+ </xs:choice>
452
+ </xs:group>
453
+ <xs:group
454
+ name="xhtml.Table.class">
455
+ <xs:choice>
456
+ <xs:element
457
+ name="table"
458
+ type="xhtml.table.type"/>
459
+ </xs:choice>
460
+ </xs:group>
461
+ <xs:group
462
+ name="xhtml.Form.class">
463
+ <xs:choice>
464
+ <xs:element
465
+ name="form"
466
+ type="xhtml.form.type"/>
467
+ </xs:choice>
468
+ </xs:group>
469
+ <xs:group
470
+ name="xhtml.BlkStruct.class">
471
+ <xs:choice>
472
+ <xs:element
473
+ name="p"
474
+ type="xhtml.p.type"/>
475
+ <xs:element
476
+ name="div"
477
+ type="xhtml.div.type"/>
478
+ </xs:choice>
479
+ </xs:group>
480
+ <xs:group
481
+ name="xhtml.BlkPhras.class">
482
+ <xs:choice>
483
+ <xs:element
484
+ name="pre"
485
+ type="xhtml.pre.type"/>
486
+ <xs:element
487
+ name="blockquote"
488
+ type="xhtml.blockquote.type"/>
489
+ <xs:element
490
+ name="address"
491
+ type="xhtml.address.type"/>
492
+ </xs:choice>
493
+ </xs:group>
494
+ <xs:group
495
+ name="xhtml.BlkPres.class">
496
+ <xs:sequence>
497
+ <xs:element
498
+ name="hr"
499
+ type="xhtml.hr.type"/>
500
+ </xs:sequence>
501
+ </xs:group>
502
+ <xs:group
503
+ name="xhtml.BlkSpecial.class">
504
+ <xs:choice>
505
+ <xs:group
506
+ ref="xhtml.Table.class"/>
507
+ <xs:group
508
+ ref="xhtml.Form.class"/>
509
+ </xs:choice>
510
+ </xs:group>
511
+ <xs:group
512
+ name="xhtml.Block.extra">
513
+ <xs:sequence/>
514
+ </xs:group>
515
+ <!--
516
+ Block.class includes all block elements,
517
+ used as an component in mixes
518
+ -->
519
+ <xs:group
520
+ name="xhtml.Block.class">
521
+ <xs:choice>
522
+ <xs:group
523
+ ref="xhtml.BlkStruct.class"/>
524
+ <xs:group
525
+ ref="xhtml.BlkPhras.class"/>
526
+ <xs:group
527
+ ref="xhtml.BlkPres.class"/>
528
+ <xs:group
529
+ ref="xhtml.BlkSpecial.class"/>
530
+ <xs:group
531
+ ref="xhtml.Block.extra"/>
532
+ </xs:choice>
533
+ </xs:group>
534
+ <!--
535
+ Block.mix includes all block elements plus %Misc.class;
536
+ -->
537
+ <xs:group
538
+ name="xhtml.Block.mix">
539
+ <xs:choice>
540
+ <xs:group
541
+ ref="xhtml.Heading.class"/>
542
+ <xs:group
543
+ ref="xhtml.List.class"/>
544
+ <xs:group
545
+ ref="xhtml.Block.class"/>
546
+ <xs:group
547
+ ref="xhtml.Misc.class"/>
548
+ </xs:choice>
549
+ </xs:group>
550
+ <!--
551
+ All Content Elements
552
+ Flow.mix includes all text content, block and inline
553
+ Note that the "any" element included here allows us
554
+ to add data from any other namespace, a necessity
555
+ for compound document creation.
556
+ Note however that it is not possible to add
557
+ to any head level element without further
558
+ modification. To add RDF metadata to the head
559
+ of a document, modify the structure module.
560
+ -->
561
+ <xs:group
562
+ name="xhtml.Flow.mix">
563
+ <xs:choice>
564
+ <xs:group
565
+ ref="xhtml.Heading.class"/>
566
+ <xs:group
567
+ ref="xhtml.List.class"/>
568
+ <xs:group
569
+ ref="xhtml.Block.class"/>
570
+ <xs:group
571
+ ref="xhtml.Inline.class"/>
572
+ <xs:group
573
+ ref="xhtml.Misc.class"/>
574
+ </xs:choice>
575
+ </xs:group>
576
+ <!--
577
+ BlkNoForm.mix includes all non-form block elements,
578
+ plus Misc.class
579
+ -->
580
+ <xs:group
581
+ name="xhtml.BlkNoForm.mix">
582
+ <xs:choice>
583
+ <xs:group
584
+ ref="xhtml.Heading.class"/>
585
+ <xs:group
586
+ ref="xhtml.List.class"/>
587
+ <xs:group
588
+ ref="xhtml.BlkStruct.class"/>
589
+ <xs:group
590
+ ref="xhtml.BlkPhras.class"/>
591
+ <xs:group
592
+ ref="xhtml.BlkPres.class"/>
593
+ <xs:group
594
+ ref="xhtml.Table.class"/>
595
+ <xs:group
596
+ ref="xhtml.Block.extra"/>
597
+ <xs:group
598
+ ref="xhtml.Misc.class"/>
599
+ </xs:choice>
600
+ </xs:group>
601
+ <xs:element
602
+ name="html"
603
+ type="xhtml.html.type"/>
604
+ </xs:schema>