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,422 @@
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
+ <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
6
+ schemaLocation="xhtml-datatypes-1.xsd" />
7
+
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ This schema includes all modules for XHTML1.1 Document Type.
11
+ $Id: xhtml-print-modules-1.xsd,v 1.2 2008/07/07 19:11:15 smccarro Exp $
12
+ </xs:documentation>
13
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
14
+ </xs:annotation>
15
+ <xs:annotation>
16
+ <xs:documentation>
17
+ This schema includes all modules (and redefinitions)
18
+ for XHTML1.1 Document Type.
19
+ XHTML1.1 Document Type includes the following Modules
20
+
21
+ XHTML Core modules (Required for XHTML Family Conformance)
22
+ + text
23
+ + hypertext
24
+ + lists
25
+ + structure
26
+
27
+ Other XHTML modules
28
+ + Edit
29
+ + Presentational
30
+ + Link
31
+ + Meta
32
+ + Base
33
+ + Scripting
34
+ + Style
35
+ + Image
36
+ + Object
37
+ + Param (Applet/Object modules require Param Module)
38
+ + Basic Tables
39
+ + Target
40
+ + Basic Forms
41
+
42
+ </xs:documentation>
43
+ </xs:annotation>
44
+ <xs:include schemaLocation="xhtml-framework-1.xsd">
45
+ <xs:annotation>
46
+ <xs:documentation>
47
+ Schema Framework Component Modules:
48
+ + notations
49
+ + datatypes
50
+ + common attributes
51
+ + character entities
52
+ </xs:documentation>
53
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/>
54
+ </xs:annotation>
55
+ </xs:include>
56
+ <xs:include schemaLocation="xhtml-text-1.xsd">
57
+ <xs:annotation>
58
+ <xs:documentation>
59
+ Text module
60
+
61
+ The Text module includes declarations for all core
62
+ text container elements and their attributes.
63
+
64
+ + block phrasal
65
+ + block structural
66
+ + inline phrasal
67
+ + inline structural
68
+
69
+ Elements defined here:
70
+ * address, blockquote, pre, h1, h2, h3, h4, h5, h6
71
+ * div, p
72
+ * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
73
+ * br, span
74
+ </xs:documentation>
75
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_textmodule"/>
76
+ </xs:annotation>
77
+ </xs:include>
78
+ <xs:redefine 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 source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_hypertextmodule"/>
87
+ </xs:annotation>
88
+ <xs:attributeGroup name="xhtml.a.attlist">
89
+ <xs:attributeGroup ref="xhtml.a.attlist"/>
90
+ </xs:attributeGroup>
91
+ </xs:redefine>
92
+ <xs:include schemaLocation="xhtml-list-1.xsd">
93
+ <xs:annotation>
94
+ <xs:documentation>
95
+ Lists module
96
+
97
+ Elements defined here:
98
+ * dt, dd, dl, ol, ul, li
99
+ </xs:documentation>
100
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_listmodule"/>
101
+ </xs:annotation>
102
+ </xs:include>
103
+ <xs:redefine schemaLocation="xhtml-struct-1.xsd">
104
+ <xs:annotation>
105
+ <xs:documentation>
106
+ Structural module
107
+
108
+ Elements defined here:
109
+ * title, head, body, html
110
+ </xs:documentation>
111
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
112
+ </xs:annotation>
113
+ <xs:attributeGroup name="xhtml.version.attrib">
114
+ <xs:annotation>
115
+ <xs:documentation>
116
+ Redefinition by the XHTML Print 1.0 Markup (for value of version attr)
117
+ </xs:documentation>
118
+ </xs:annotation>
119
+ <xs:attribute name="version" type="xh11d:CDATA" fixed="-//W3C//DTD XHTML 1.1//EN"/>
120
+ </xs:attributeGroup>
121
+ <xs:attributeGroup name="xhtml.body.attlist">
122
+ <xs:attributeGroup ref="xhtml.body.attlist">
123
+ <xs:annotation>
124
+ <xs:documentation>
125
+ Original Body Attlist
126
+ </xs:documentation>
127
+ </xs:annotation>
128
+ </xs:attributeGroup>
129
+ <xs:attributeGroup ref="xhtml.body.events.attlist">
130
+ <xs:annotation>
131
+ <xs:documentation>
132
+ Redefinition by XHTML Event Attribute Module
133
+ </xs:documentation>
134
+ </xs:annotation>
135
+ </xs:attributeGroup>
136
+ </xs:attributeGroup>
137
+ </xs:redefine>
138
+ <xs:include schemaLocation="xhtml-pres-1.xsd">
139
+ <xs:annotation>
140
+ <xs:documentation>
141
+ Presentational module
142
+
143
+ Elements defined here:
144
+ * hr, b, big, i, small,sub, sup, tt
145
+ </xs:documentation>
146
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_presentationmodule"/>
147
+ </xs:annotation>
148
+ </xs:include>
149
+ <xs:include schemaLocation="xhtml-link-1.xsd">
150
+ <xs:annotation>
151
+ <xs:documentation>
152
+ Link module
153
+
154
+ Elements defined here:
155
+ * link
156
+ </xs:documentation>
157
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_linkmodule"/>
158
+ </xs:annotation>
159
+ <xs:attributeGroup name="xhtml.link.attlist">
160
+ <xs:annotation>
161
+ <xs:documentation>
162
+ Changes to XHTML Link Attlist
163
+ </xs:documentation>
164
+ </xs:annotation>
165
+ <xs:attributeGroup ref="xhtml.link.attlist">
166
+ <xs:annotation>
167
+ <xs:documentation>
168
+ Original Link Attributes (declared in Link Module)
169
+ </xs:documentation>
170
+ </xs:annotation>
171
+ </xs:attributeGroup>
172
+ </xs:attributeGroup>
173
+ </xs:include>
174
+ <xs:include schemaLocation="xhtml-meta-1.xsd">
175
+ <xs:annotation>
176
+ <xs:documentation>
177
+ Meta module
178
+
179
+ Elements defined here:
180
+ * meta
181
+ </xs:documentation>
182
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_metamodule"/>
183
+ </xs:annotation>
184
+ </xs:include>
185
+ <xs:include schemaLocation="xhtml-base-1.xsd">
186
+ <xs:annotation>
187
+ <xs:documentation>
188
+ Base module
189
+
190
+ Elements defined here:
191
+ * base
192
+ </xs:documentation>
193
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_basemodule"/>
194
+ </xs:annotation>
195
+ <xs:attributeGroup name="xhtml.base.attlist">
196
+ <xs:annotation>
197
+ <xs:documentation>
198
+ Changes to XHTML base Attlist
199
+ </xs:documentation>
200
+ </xs:annotation>
201
+ <xs:attributeGroup ref="xhtml.base.attlist">
202
+ <xs:annotation>
203
+ <xs:documentation>
204
+ Original Base Attributes (declared in Base Module)
205
+ </xs:documentation>
206
+ </xs:annotation>
207
+ </xs:attributeGroup>
208
+ <xs:attributeGroup ref="xhtml.base.target.attlist">
209
+ <xs:annotation>
210
+ <xs:documentation>
211
+ XHTML Target Module - Attribute additions
212
+ </xs:documentation>
213
+ </xs:annotation>
214
+ </xs:attributeGroup>
215
+ </xs:attributeGroup>
216
+ </xs:include>
217
+ <xs:include schemaLocation="xhtml-script-1.xsd">
218
+ <xs:annotation>
219
+ <xs:documentation>
220
+ Scripting module
221
+
222
+ Elements defined here:
223
+ * script, noscript
224
+ </xs:documentation>
225
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_scriptmodule"/>
226
+ </xs:annotation>
227
+ </xs:include>
228
+ <xs:include schemaLocation="xhtml-style-1.xsd">
229
+ <xs:annotation>
230
+ <xs:documentation>
231
+ Style module
232
+
233
+ Elements defined here:
234
+ * style
235
+ </xs:documentation>
236
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_stylemodule"/>
237
+ </xs:annotation>
238
+ </xs:include>
239
+ <xs:include schemaLocation="xhtml-inlstyle-1.xsd">
240
+ <xs:annotation>
241
+ <xs:documentation>
242
+ Style attribute module
243
+
244
+ Attribute defined here:
245
+ * style
246
+ </xs:documentation>
247
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_styleattributemodule"/>
248
+ </xs:annotation>
249
+ </xs:include>
250
+ <xs:redefine schemaLocation="xhtml-image-1.xsd">
251
+ <xs:annotation>
252
+ <xs:documentation>
253
+ Image module
254
+
255
+ Elements defined here:
256
+ * img
257
+ </xs:documentation>
258
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_imagemodule"/>
259
+ </xs:annotation>
260
+ <xs:attributeGroup name="xhtml.img.attlist">
261
+ <xs:attributeGroup ref="xhtml.img.attlist">
262
+ <xs:annotation>
263
+ <xs:documentation>
264
+ Original Image Attributes (in Image Module)
265
+ </xs:documentation>
266
+ </xs:annotation>
267
+ </xs:attributeGroup>
268
+ </xs:attributeGroup>
269
+ </xs:redefine>
270
+ <xs:redefine schemaLocation="xhtml-object-1.xsd">
271
+ <xs:annotation>
272
+ <xs:documentation>
273
+ Object module
274
+
275
+ Elements defined here:
276
+ * object
277
+ </xs:documentation>
278
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_objectmodule"/>
279
+ </xs:annotation>
280
+ <xs:attributeGroup name="xhtml.object.attlist">
281
+ <xs:attributeGroup ref="xhtml.object.attlist">
282
+ <xs:annotation>
283
+ <xs:documentation>
284
+ Original Object Attlist
285
+ </xs:documentation>
286
+ </xs:annotation>
287
+ </xs:attributeGroup>
288
+ <xs:attributeGroup ref="xhtml.object.csim.attlist">
289
+ <xs:annotation>
290
+ <xs:documentation>
291
+ Redefinition by Client Image Map Module
292
+ </xs:documentation>
293
+ </xs:annotation>
294
+ </xs:attributeGroup>
295
+ </xs:attributeGroup>
296
+ </xs:redefine>
297
+ <xs:include schemaLocation="xhtml-param-1.xsd">
298
+ <xs:annotation>
299
+ <xs:documentation>
300
+ Param module
301
+
302
+ Elements defined here:
303
+ * param
304
+ </xs:documentation>
305
+ </xs:annotation>
306
+ </xs:include>
307
+ <xs:include schemaLocation="xhtml-basic-table-1.xsd">
308
+ <xs:annotation>
309
+ <xs:documentation>
310
+ Tables module
311
+
312
+ Elements defined here:
313
+ * table, caption, tr, th, td
314
+ </xs:documentation>
315
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_basictablemodule"/>
316
+ </xs:annotation>
317
+ </xs:include>
318
+ <xs:redefine schemaLocation="xhtml-basic-form-1.xsd">
319
+ <xs:annotation>
320
+ <xs:documentation>
321
+ Forms module
322
+
323
+ Elements defined here:
324
+ * form, label, input, select, option,
325
+ * textarea
326
+ </xs:documentation>
327
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_extformsmodule"/>
328
+ </xs:annotation>
329
+ <xs:attributeGroup name="xhtml.form.attlist">
330
+ <xs:annotation>
331
+ <xs:documentation>
332
+ Changes to XHTML Form Attlist
333
+ </xs:documentation>
334
+ </xs:annotation>
335
+ <xs:attributeGroup ref="xhtml.form.attlist">
336
+ <xs:annotation>
337
+ <xs:documentation>
338
+ Original Form Attributes (declared in Forms Module)
339
+ </xs:documentation>
340
+ </xs:annotation>
341
+ </xs:attributeGroup>
342
+ </xs:attributeGroup>
343
+ <xs:attributeGroup name="xhtml.input.attlist">
344
+ <xs:annotation>
345
+ <xs:documentation>
346
+ Changes to XHTML Form Input Element
347
+ </xs:documentation>
348
+ </xs:annotation>
349
+ <xs:attributeGroup ref="xhtml.input.attlist">
350
+ <xs:annotation>
351
+ <xs:documentation>
352
+ Original Input Attributes (in Forms Module)
353
+ </xs:documentation>
354
+ </xs:annotation>
355
+ </xs:attributeGroup>
356
+ </xs:attributeGroup>
357
+ <xs:attributeGroup name="xhtml.label.attlist">
358
+ <xs:attributeGroup ref="xhtml.label.attlist">
359
+ <xs:annotation>
360
+ <xs:documentation>
361
+ Original Label Attributes (in Forms Module)
362
+ </xs:documentation>
363
+ </xs:annotation>
364
+ </xs:attributeGroup>
365
+ <xs:attributeGroup ref="xhtml.label.events.attlist">
366
+ <xs:annotation>
367
+ <xs:documentation>
368
+ Redefinition by Event Attribute Module
369
+ </xs:documentation>
370
+ </xs:annotation>
371
+ </xs:attributeGroup>
372
+ </xs:attributeGroup>
373
+ <xs:attributeGroup name="xhtml.select.attlist">
374
+ <xs:attributeGroup ref="xhtml.select.attlist">
375
+ <xs:annotation>
376
+ <xs:documentation>
377
+ Original Select Attributes (in Forms Module)
378
+ </xs:documentation>
379
+ </xs:annotation>
380
+ </xs:attributeGroup>
381
+ <xs:attributeGroup ref="xhtml.select.events.attlist">
382
+ <xs:annotation>
383
+ <xs:documentation>
384
+ Redefinition by Event Attribute Module
385
+ </xs:documentation>
386
+ </xs:annotation>
387
+ </xs:attributeGroup>
388
+ </xs:attributeGroup>
389
+ <xs:attributeGroup name="xhtml.textarea.attlist">
390
+ <xs:attributeGroup ref="xhtml.textarea.attlist">
391
+ <xs:annotation>
392
+ <xs:documentation>
393
+ Original TextArea Attributes (in Forms Module)
394
+ </xs:documentation>
395
+ </xs:annotation>
396
+ </xs:attributeGroup>
397
+ <xs:attributeGroup ref="xhtml.textarea.events.attlist">
398
+ <xs:annotation>
399
+ <xs:documentation>
400
+ Redefinition by Event Attribute Module
401
+ </xs:documentation>
402
+ </xs:annotation>
403
+ </xs:attributeGroup>
404
+ </xs:attributeGroup>
405
+ <xs:attributeGroup name="xhtml.button.attlist">
406
+ <xs:attributeGroup ref="xhtml.button.attlist">
407
+ <xs:annotation>
408
+ <xs:documentation>
409
+ Original Button Attributes (in Forms Module)
410
+ </xs:documentation>
411
+ </xs:annotation>
412
+ </xs:attributeGroup>
413
+ <xs:attributeGroup ref="xhtml.button.events.attlist">
414
+ <xs:annotation>
415
+ <xs:documentation>
416
+ Redefinition by Event Attribute Module
417
+ </xs:documentation>
418
+ </xs:annotation>
419
+ </xs:attributeGroup>
420
+ </xs:attributeGroup>
421
+ </xs:redefine>
422
+ </xs:schema>