validate-website 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
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,385 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ elementFormDefault="qualified"
4
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
5
+
6
+ <xs:annotation>
7
+ <xs:documentation>
8
+ This is the XML Schema module of named XHTML content models for XHTML Basic 10
9
+ $Id: xhtml-basic10-model-1.xsd,v 1.6 2006/09/11 10:14:57 ahby Exp $
10
+ </xs:documentation>
11
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
12
+ </xs:annotation>
13
+
14
+ <xs:annotation>
15
+ <xs:documentation>
16
+ XHTML Basic 1.0 Document Model
17
+
18
+ This module describes the groupings of elements/attributes that make up
19
+ common content models for XHTML elements.
20
+
21
+ XHTML has following basic content models:
22
+
23
+ Inline.mix; character-level elements
24
+ Block.mix; block-like elements, eg., paragraphs and lists
25
+ Flow.mix; any block or inline elements
26
+ HeadOpts.mix; Head Elements
27
+ InlinePre.mix; Special class for pre content model
28
+ InlineNoAnchor.mix; Content model for Anchor
29
+
30
+ Any groups declared in this module may be used
31
+ to create element content models, but the above are
32
+ considered 'global' (insofar as that term applies here).
33
+
34
+ XHTML has the following Attribute Groups
35
+ Core.extra.attrib
36
+ I18n.extra.attrib
37
+ Common.extra
38
+
39
+ The above attribute Groups are considered Global
40
+
41
+ </xs:documentation>
42
+ </xs:annotation>
43
+
44
+ <xs:attributeGroup name="xhtml.I18n.extra.attrib">
45
+ <xs:annotation>
46
+ <xs:documentation>
47
+ Extended I18n attribute
48
+ </xs:documentation>
49
+ </xs:annotation>
50
+ </xs:attributeGroup>
51
+
52
+ <xs:attributeGroup name="xhtml.Core.extra.attrib">
53
+ <xs:annotation>
54
+ <xs:documentation>
55
+ Extended Core Attributes
56
+ </xs:documentation>
57
+ </xs:annotation>
58
+ </xs:attributeGroup>
59
+
60
+ <xs:attributeGroup name="xhtml.Common.extra">
61
+ <xs:annotation>
62
+ <xs:documentation>
63
+ Extended Common Attributes
64
+ </xs:documentation>
65
+ </xs:annotation>
66
+ </xs:attributeGroup>
67
+
68
+ <xs:attributeGroup name="xhtml.Global.core.extra.attrib">
69
+ <xs:annotation>
70
+ <xs:documentation>
71
+ Extended Global Core Attributes
72
+ </xs:documentation>
73
+ </xs:annotation>
74
+ </xs:attributeGroup>
75
+
76
+ <xs:attributeGroup name="xhtml.Global.I18n.extra.attrib">
77
+ <xs:annotation>
78
+ <xs:documentation>
79
+ Extended Global I18n attributes
80
+ </xs:documentation>
81
+ </xs:annotation>
82
+ </xs:attributeGroup>
83
+
84
+ <xs:attributeGroup name="xhtml.Global.Common.extra">
85
+ <xs:annotation>
86
+ <xs:documentation>
87
+ Extended Global Common Attributes
88
+ </xs:documentation>
89
+ </xs:annotation>
90
+ </xs:attributeGroup>
91
+
92
+ <xs:group name="xhtml.HeadOpts.mix">
93
+ <xs:choice>
94
+ <xs:element name="meta" type="xhtml.meta.type"/>
95
+ <xs:element name="link" type="xhtml.link.type"/>
96
+ <xs:element name="object" type="xhtml.object.type"/>
97
+ </xs:choice>
98
+ </xs:group>
99
+
100
+ <xs:group name="xhtml.head.content">
101
+ <xs:choice>
102
+ <xs:element name="title" minOccurs="1" maxOccurs="1" type="xhtml.title.type" />
103
+ <xs:element name="base" type="xhtml.base.type" minOccurs="0" maxOccurs="1" />
104
+ <xs:group ref="xhtml.HeadOpts.mix" minOccurs="0" maxOccurs="unbounded" />
105
+ </xs:choice>
106
+ </xs:group>
107
+
108
+ <!--
109
+ These elements are neither block nor inline, and can
110
+ essentially be used anywhere in the document body.
111
+ -->
112
+ <xs:group name="xhtml.Misc.class">
113
+ <xs:choice/>
114
+ </xs:group>
115
+
116
+ <!-- Inline Elements -->
117
+ <xs:group name="xhtml.InlStruct.class">
118
+ <xs:choice>
119
+ <xs:element name="br" type="xhtml.br.type"/>
120
+ <xs:element name="span" type="xhtml.span.type"/>
121
+ </xs:choice>
122
+ </xs:group>
123
+
124
+ <xs:group name="xhtml.InlPhras.class">
125
+ <xs:choice>
126
+ <xs:element name="em" type="xhtml.em.type"/>
127
+ <xs:element name="strong" type="xhtml.strong.type"/>
128
+ <xs:element name="dfn" type="xhtml.dfn.type"/>
129
+ <xs:element name="code" type="xhtml.code.type"/>
130
+ <xs:element name="samp" type="xhtml.samp.type"/>
131
+ <xs:element name="kbd" type="xhtml.kbd.type"/>
132
+ <xs:element name="var" type="xhtml.var.type"/>
133
+ <xs:element name="cite" type="xhtml.cite.type"/>
134
+ <xs:element name="abbr" type="xhtml.abbr.type"/>
135
+ <xs:element name="acronym" type="xhtml.acronym.type"/>
136
+ <xs:element name="q" type="xhtml.q.type"/>
137
+ </xs:choice>
138
+ </xs:group>
139
+
140
+ <xs:group name="xhtml.InlPres.class">
141
+ <xs:choice/>
142
+ </xs:group>
143
+
144
+ <xs:group name="xhtml.I18n.class">
145
+ <xs:sequence/>
146
+ </xs:group>
147
+
148
+ <xs:group name="xhtml.Anchor.class">
149
+ <xs:sequence>
150
+ <xs:element name="a" type="xhtml.a.type"/>
151
+ </xs:sequence>
152
+ </xs:group>
153
+
154
+ <xs:group name="xhtml.InlSpecial.class">
155
+ <xs:choice>
156
+ <xs:element name="img" type="xhtml.img.type"/>
157
+ <xs:element name="object" type="xhtml.object.type"/>
158
+ </xs:choice>
159
+ </xs:group>
160
+
161
+ <xs:group name="xhtml.InlForm.class">
162
+ <xs:choice>
163
+ <xs:element name="input" type="xhtml.input.type"/>
164
+ <xs:element name="select" type="xhtml.select.type"/>
165
+ <xs:element name="textarea" type="xhtml.textarea.type"/>
166
+ <xs:element name="label" type="xhtml.label.type"/>
167
+ </xs:choice>
168
+ </xs:group>
169
+
170
+ <xs:group name="xhtml.Inline.extra">
171
+ <xs:choice/>
172
+ </xs:group>
173
+
174
+ <!--xs:group name="xhtml.Ruby.class">
175
+ <xs:sequence/>
176
+ </xs:group-->
177
+
178
+ <!--
179
+ Inline.class includes all inline elements,
180
+ used as a component in mixes
181
+ -->
182
+ <xs:group name="xhtml.Inline.class">
183
+ <xs:choice>
184
+ <xs:group ref="xhtml.InlStruct.class"/>
185
+ <xs:group ref="xhtml.InlPhras.class"/>
186
+ <xs:group ref="xhtml.Anchor.class"/>
187
+ <xs:group ref="xhtml.InlSpecial.class"/>
188
+ <xs:group ref="xhtml.InlForm.class"/>
189
+ <xs:group ref="xhtml.Inline.extra"/>
190
+ </xs:choice>
191
+ </xs:group>
192
+
193
+ <!--
194
+ InlinePre.class
195
+ Used as a component in pre model
196
+ -->
197
+ <xs:group name="xhtml.InlinePre.mix">
198
+ <xs:choice>
199
+ <xs:group ref="xhtml.InlStruct.class"/>
200
+ <xs:group ref="xhtml.InlPhras.class"/>
201
+ <xs:group ref="xhtml.Anchor.class"/>
202
+ <xs:group ref="xhtml.Misc.class"/>
203
+ <xs:group ref="xhtml.Inline.extra"/>
204
+ </xs:choice>
205
+ </xs:group>
206
+
207
+
208
+ <!--
209
+ InlNoAnchor.class includes all non-anchor inlines,
210
+ used as a component in mixes
211
+ -->
212
+ <xs:group name="xhtml.InlNoAnchor.class">
213
+ <xs:choice>
214
+ <xs:group ref="xhtml.InlStruct.class"/>
215
+ <xs:group ref="xhtml.InlPhras.class"/>
216
+ <xs:group ref="xhtml.InlSpecial.class"/>
217
+ <xs:group ref="xhtml.InlForm.class"/>
218
+ <xs:group ref="xhtml.Inline.extra"/>
219
+ </xs:choice>
220
+ </xs:group>
221
+
222
+ <!--
223
+ InlNoAnchor.mix includes all non-anchor inlines
224
+ -->
225
+ <xs:group name="xhtml.InlNoAnchor.mix">
226
+ <xs:choice>
227
+ <xs:group ref="xhtml.InlNoAnchor.class"/>
228
+ <xs:group ref="xhtml.Misc.class"/>
229
+ </xs:choice>
230
+ </xs:group>
231
+
232
+ <!--
233
+ Inline.mix includes all inline elements, including Misc.class
234
+ -->
235
+ <xs:group name="xhtml.Inline.mix">
236
+ <xs:choice>
237
+ <xs:group ref="xhtml.Inline.class"/>
238
+ <xs:group ref="xhtml.Misc.class"/>
239
+ </xs:choice>
240
+ </xs:group>
241
+
242
+ <!--
243
+ In the HTML 4 DTD, heading and list elements were included
244
+ in the block group. The Heading.class and
245
+ List.class groups must now be included explicitly
246
+ on element declarations where desired.
247
+ -->
248
+ <xs:group name="xhtml.Heading.class">
249
+ <xs:choice>
250
+ <xs:element name="h1" type="xhtml.h1.type"/>
251
+ <xs:element name="h2" type="xhtml.h2.type"/>
252
+ <xs:element name="h3" type="xhtml.h3.type"/>
253
+ <xs:element name="h4" type="xhtml.h4.type"/>
254
+ <xs:element name="h5" type="xhtml.h5.type"/>
255
+ <xs:element name="h6" type="xhtml.h6.type"/>
256
+ </xs:choice>
257
+ </xs:group>
258
+
259
+ <xs:group name="xhtml.List.class">
260
+ <xs:choice>
261
+ <xs:element name="ul" type="xhtml.ul.type"/>
262
+ <xs:element name="ol" type="xhtml.ol.type"/>
263
+ <xs:element name="dl" type="xhtml.dl.type"/>
264
+ </xs:choice>
265
+ </xs:group>
266
+
267
+ <xs:group name="xhtml.Table.class">
268
+ <xs:choice>
269
+ <xs:element name="table" type="xhtml.table.type"/>
270
+ </xs:choice>
271
+ </xs:group>
272
+
273
+ <xs:group name="xhtml.Form.class">
274
+ <xs:choice>
275
+ <xs:element name="form" type="xhtml.form.type"/>
276
+ </xs:choice>
277
+ </xs:group>
278
+
279
+ <xs:group name="xhtml.BlkStruct.class">
280
+ <xs:choice>
281
+ <xs:element name="p" type="xhtml.p.type"/>
282
+ <xs:element name="div" type="xhtml.div.type"/>
283
+ </xs:choice>
284
+ </xs:group>
285
+
286
+ <xs:group name="xhtml.BlkPhras.class">
287
+ <xs:choice>
288
+ <xs:element name="pre" type="xhtml.pre.type"/>
289
+ <xs:element name="blockquote" type="xhtml.blockquote.type"/>
290
+ <xs:element name="address" type="xhtml.address.type"/>
291
+ </xs:choice>
292
+ </xs:group>
293
+
294
+ <xs:group name="xhtml.BlkPres.class">
295
+ <xs:choice/>
296
+ </xs:group>
297
+
298
+ <xs:group name="xhtml.BlkSpecial.class">
299
+ <xs:choice>
300
+ <xs:group ref="xhtml.Table.class"/>
301
+ <xs:group ref="xhtml.Form.class"/>
302
+ </xs:choice>
303
+ </xs:group>
304
+
305
+ <xs:group name="xhtml.Block.extra">
306
+ <xs:choice/>
307
+ </xs:group>
308
+
309
+ <!--
310
+ Block.class includes all block elements,
311
+ used as an component in mixes
312
+ -->
313
+ <xs:group name="xhtml.Block.class">
314
+ <xs:choice>
315
+ <xs:group ref="xhtml.BlkStruct.class"/>
316
+ <xs:group ref="xhtml.BlkPhras.class"/>
317
+ <xs:group ref="xhtml.BlkSpecial.class"/>
318
+ <xs:group ref="xhtml.Block.extra"/>
319
+ </xs:choice>
320
+ </xs:group>
321
+
322
+ <!--
323
+ Block.mix includes all block elements plus %Misc.class;
324
+ -->
325
+ <xs:group name="xhtml.Block.mix">
326
+ <xs:choice>
327
+ <xs:group ref="xhtml.Heading.class"/>
328
+ <xs:group ref="xhtml.List.class"/>
329
+ <xs:group ref="xhtml.Block.class"/>
330
+ <xs:group ref="xhtml.Misc.class"/>
331
+ </xs:choice>
332
+ </xs:group>
333
+
334
+ <!--
335
+ All Content Elements
336
+
337
+ Flow.mix includes all text content, block and inline
338
+ Note that the "any" element included here allows us
339
+ to add data from any other namespace, a necessity
340
+ for compound document creation.
341
+ Note however that it is not possible to add
342
+ to any head level element without further
343
+ modification. To add RDF metadata to the head
344
+ of a document, modify the structure module.
345
+ -->
346
+ <xs:group name="xhtml.Flow.mix">
347
+ <xs:choice>
348
+ <xs:group ref="xhtml.Heading.class"/>
349
+ <xs:group ref="xhtml.List.class"/>
350
+ <xs:group ref="xhtml.Block.class"/>
351
+ <xs:group ref="xhtml.Inline.class"/>
352
+ <xs:group ref="xhtml.Misc.class"/>
353
+ </xs:choice>
354
+ </xs:group>
355
+
356
+
357
+ <xs:group name="xhtml.FlowNoTable.mix">
358
+ <xs:choice>
359
+ <xs:group ref="xhtml.Heading.class"/>
360
+ <xs:group ref="xhtml.List.class"/>
361
+ <xs:group ref="xhtml.BlkStruct.class"/>
362
+ <xs:group ref="xhtml.BlkPhras.class"/>
363
+ <xs:group ref="xhtml.Form.class"/>
364
+ <xs:group ref="xhtml.Inline.class"/>
365
+ <xs:group ref="xhtml.Misc.class"/>
366
+ </xs:choice>
367
+ </xs:group>
368
+
369
+ <!--
370
+ BlkNoForm.mix includes all non-form block elements,
371
+ plus Misc.class
372
+ -->
373
+ <xs:group name="xhtml.BlkNoForm.mix">
374
+ <xs:choice>
375
+ <xs:group ref="xhtml.Heading.class"/>
376
+ <xs:group ref="xhtml.List.class"/>
377
+ <xs:group ref="xhtml.BlkStruct.class"/>
378
+ <xs:group ref="xhtml.BlkPhras.class"/>
379
+ <xs:group ref="xhtml.BlkPres.class"/>
380
+ <xs:group ref="xhtml.Table.class"/>
381
+ <xs:group ref="xhtml.Misc.class"/>
382
+ </xs:choice>
383
+ </xs:group>
384
+
385
+ </xs:schema>
@@ -0,0 +1,61 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ targetNamespace="http://www.w3.org/1999/xhtml"
4
+ xmlns="http://www.w3.org/1999/xhtml">
5
+
6
+ <xs:annotation>
7
+ <xs:documentation>
8
+ This XML Schema declares changes to the content models
9
+ of modules included in XHTML Basic1.0
10
+ $Id: xhtml-basic10-module-redefines-1.xsd,v 1.1 2003/09/23 21:12:52 speruvem Exp $
11
+ </xs:documentation>
12
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
13
+ </xs:annotation>
14
+
15
+ <xs:annotation>
16
+ <xs:documentation>
17
+ Module Content Model Redefinitions
18
+
19
+ This schema describes the changes (Redefinitions) to
20
+ content model of individual modules as they are instantiated as part of
21
+ XHTML Basic 1.0 Document
22
+ </xs:documentation>
23
+ </xs:annotation>
24
+
25
+
26
+ <!-- Changes to Structural Module -->
27
+ <xs:redefine schemaLocation="xhtml-struct-1.xsd">
28
+ <xs:group name="head.content">
29
+ <xs:annotation>
30
+ <xs:documentation>
31
+ Redefinition by Base module
32
+ </xs:documentation>
33
+ </xs:annotation>
34
+ <xs:sequence>
35
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
36
+ <xs:choice>
37
+ <xs:sequence>
38
+ <xs:element ref="title"/>
39
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
40
+ <xs:element ref="base" minOccurs="0"/>
41
+ </xs:sequence>
42
+ <xs:sequence>
43
+ <xs:element ref="base"/>
44
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
45
+ <xs:element ref="title"/>
46
+ </xs:sequence>
47
+ </xs:choice>
48
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
49
+ </xs:sequence>
50
+ </xs:group>
51
+
52
+ <xs:attributeGroup name="version.attrib">
53
+ <xs:annotation>
54
+ <xs:documentation>
55
+ Redefinition by the XHTML11 Markup (for value of version attr)
56
+ </xs:documentation>
57
+ </xs:annotation>
58
+ <xs:attribute name="version" type="FPI" fixed="-//W3C//DTD XHTML Basic 1.0//EN"/>
59
+ </xs:attributeGroup>
60
+ </xs:redefine>
61
+ </xs:schema>
@@ -0,0 +1,233 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ elementFormDefault="qualified"
4
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
5
+
6
+ <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
7
+ schemaLocation="xhtml-datatypes-1.xsd" />
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ This schema includes all modules for XHTML Basic 1.0 Document Type.
11
+ $Id: xhtml-basic10-modules-1.xsd,v 1.3 2005/09/26 22:54:53 ahby Exp $
12
+ </xs:documentation>
13
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
14
+ </xs:annotation>
15
+
16
+ <xs:annotation>
17
+ <xs:documentation>
18
+ This schema includes all modules (and redefinitions)
19
+ for XHTML Basic 1.0 Document Type.
20
+ XHTML Basic 1.0 Document Type includes the following Modules
21
+
22
+ XHTML Core modules (Required for XHTML Family Conformance)
23
+ + text
24
+ + hypertext
25
+ + lists
26
+ + structure
27
+
28
+ Other XHTML modules
29
+ + Link
30
+ + Meta
31
+ + Base
32
+ + Image
33
+ + Object
34
+ + Param
35
+ + Basic forms
36
+ + Basic tables
37
+ </xs:documentation>
38
+ </xs:annotation>
39
+
40
+ <xs:include schemaLocation="xhtml-framework-1.xsd">
41
+ <xs:annotation>
42
+ <xs:documentation>
43
+ Schema Framework Component Modules:
44
+ + notations
45
+ + datatypes
46
+ + common attributes
47
+ + character entities
48
+ </xs:documentation>
49
+ <xs:documentation
50
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/>
51
+ </xs:annotation>
52
+ </xs:include>
53
+
54
+ <xs:include schemaLocation="xhtml-text-1.xsd">
55
+ <xs:annotation>
56
+ <xs:documentation>
57
+ Text module
58
+
59
+ The Text module includes declarations for all core
60
+ text container elements and their attributes.
61
+
62
+ + block phrasal
63
+ + block structural
64
+ + inline phrasal
65
+ + inline structural
66
+
67
+ Elements defined here:
68
+ * address, blockquote, pre, h1, h2, h3, h4, h5, h6
69
+ * div, p
70
+ * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
71
+ * br, span
72
+ </xs:documentation>
73
+ <xs:documentation
74
+ source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_textmodule"/>
75
+ </xs:annotation>
76
+ </xs:include>
77
+
78
+ <xs:include schemaLocation="xhtml-hypertext-1.xsd">
79
+ <xs:annotation>
80
+ <xs:documentation>
81
+ Hypertext module
82
+
83
+ Elements defined here:
84
+ * a
85
+ </xs:documentation>
86
+ <xs:documentation
87
+ source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_hypertextmodule"/>
88
+ </xs:annotation>
89
+ </xs:include>
90
+
91
+ <xs:include schemaLocation="xhtml-list-1.xsd">
92
+ <xs:annotation>
93
+ <xs:documentation>
94
+ Lists module
95
+
96
+ Elements defined here:
97
+ * dt, dd, dl, ol, ul, li
98
+ </xs:documentation>
99
+ <xs:documentation
100
+ source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_listmodule"/>
101
+ </xs:annotation>
102
+ </xs:include>
103
+
104
+ <xs:redefine schemaLocation="xhtml-struct-1.xsd">
105
+ <xs:annotation>
106
+ <xs:documentation>
107
+ Structural module
108
+
109
+ Elements defined here:
110
+ * title, head, body, html
111
+ </xs:documentation>
112
+ <xs:documentation
113
+ source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
114
+ </xs:annotation>
115
+ <xs:attributeGroup name="xhtml.version.attrib">
116
+ <xs:annotation>
117
+ <xs:documentation>
118
+ Redefinition by the XHTML11 Markup (for value of version attr)
119
+ </xs:documentation>
120
+ </xs:annotation>
121
+ <xs:attribute name="version" type="xh11d:FPI" fixed="-//W3C//DTD XHTML Basic 1.0//EN"/>
122
+ </xs:attributeGroup>
123
+ </xs:redefine>
124
+
125
+ <xs:include schemaLocation="xhtml-link-1.xsd">
126
+ <xs:annotation>
127
+ <xs:documentation>
128
+ Link module
129
+
130
+ Elements defined here:
131
+ * link
132
+ </xs:documentation>
133
+ <xs:documentation
134
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_linkmodule"/>
135
+ </xs:annotation>
136
+ </xs:include>
137
+
138
+ <xs:include schemaLocation="xhtml-meta-1.xsd">
139
+ <xs:annotation>
140
+ <xs:documentation>
141
+ Meta module
142
+
143
+ Elements defined here:
144
+ * meta
145
+ </xs:documentation>
146
+ <xs:documentation
147
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_metamodule"/>
148
+ </xs:annotation>
149
+ </xs:include>
150
+
151
+ <xs:include schemaLocation="xhtml-base-1.xsd">
152
+ <xs:annotation>
153
+ <xs:documentation>
154
+ Base module
155
+
156
+ Elements defined here:
157
+ * base
158
+ </xs:documentation>
159
+ <xs:documentation
160
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_basemodule"/>
161
+ </xs:annotation>
162
+ </xs:include>
163
+
164
+ <xs:include schemaLocation="xhtml-image-1.xsd">
165
+ <xs:annotation>
166
+ <xs:documentation>
167
+ Image module
168
+
169
+ Elements defined here:
170
+ * img
171
+ </xs:documentation>
172
+ <xs:documentation
173
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_imagemodule"/>
174
+ </xs:annotation>
175
+ </xs:include>
176
+
177
+ <xs:include schemaLocation="xhtml-object-1.xsd">
178
+ <xs:annotation>
179
+ <xs:documentation>
180
+ Object module
181
+
182
+ Elements defined here:
183
+ * object
184
+ </xs:documentation>
185
+ <xs:documentation
186
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_objectmodule"/>
187
+ </xs:annotation>
188
+ </xs:include>
189
+
190
+ <xs:include schemaLocation="xhtml-param-1.xsd">
191
+ <xs:annotation>
192
+ <xs:documentation>
193
+ Param module
194
+
195
+ Elements defined here:
196
+ * param
197
+ </xs:documentation>
198
+ </xs:annotation>
199
+ </xs:include>
200
+
201
+ <xs:include schemaLocation="xhtml-basic-form-1.xsd">
202
+ <xs:annotation>
203
+ <xs:documentation>
204
+ Basic Forms module
205
+
206
+ Note that this module is not used in XHTML 1.1. It is designed
207
+ for use with XHTML Basic
208
+
209
+ Elements defined here:
210
+ * form, label, input, select, option, textarea
211
+ </xs:documentation>
212
+ <xs:documentation
213
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_sformsmodule"/>
214
+ </xs:annotation>
215
+ </xs:include>
216
+
217
+ <xs:include schemaLocation="xhtml-basic-table-1.xsd">
218
+ <xs:annotation>
219
+ <xs:documentation>
220
+ Basic Tables module
221
+
222
+ Note that this module is not used in XHTML It is designed
223
+ for use with XHTML Basic
224
+
225
+ Elements defined here:
226
+ * table, caption, tr, th, td
227
+ </xs:documentation>
228
+ <xs:documentation
229
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_simpletablemodule"/>
230
+ </xs:annotation>
231
+ </xs:include>
232
+
233
+ </xs:schema>