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,335 @@
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 XHTML11
10
+ $Id: xhtml11-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
+ XHTML11 document type
22
+ </xs:documentation>
23
+ </xs:annotation>
24
+
25
+
26
+ <!-- Changes to Structural Module -->
27
+ <xs:redefine schemaLocation="xhtml-struct-1.xsd">
28
+
29
+ <xs:group name="head.content">
30
+ <xs:annotation>
31
+ <xs:documentation>
32
+ Redefinition by Base module
33
+ </xs:documentation>
34
+ </xs:annotation>
35
+ <xs:sequence>
36
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
37
+ <xs:choice>
38
+ <xs:sequence>
39
+ <xs:element ref="title"/>
40
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
41
+ <xs:element ref="base" minOccurs="0"/>
42
+ </xs:sequence>
43
+ <xs:sequence>
44
+ <xs:element ref="base"/>
45
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
46
+ <xs:element ref="title"/>
47
+ </xs:sequence>
48
+ </xs:choice>
49
+ <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
50
+ </xs:sequence>
51
+ </xs:group>
52
+
53
+ <xs:attributeGroup name="version.attrib">
54
+ <xs:annotation>
55
+ <xs:documentation>
56
+ Redefinition by the XHTML11 Markup (for value of version attr)
57
+ </xs:documentation>
58
+ </xs:annotation>
59
+ <xs:attribute name="version" type="FPI" fixed="-//W3C//DTD XHTML 1.1//EN"/>
60
+ </xs:attributeGroup>
61
+
62
+ <xs:attributeGroup name="body.attlist">
63
+ <xs:attributeGroup ref="body.attlist">
64
+ <xs:annotation>
65
+ <xs:documentation>
66
+ Original Body Attlist
67
+ </xs:documentation>
68
+ </xs:annotation>
69
+ </xs:attributeGroup>
70
+ <xs:attributeGroup ref="body.events.attlist">
71
+ <xs:annotation>
72
+ <xs:documentation>
73
+ Redefinition by XHTML Event Attribute Module
74
+ </xs:documentation>
75
+ </xs:annotation>
76
+ </xs:attributeGroup>
77
+ </xs:attributeGroup>
78
+
79
+ </xs:redefine>
80
+
81
+ <!-- Changes to HyperText Core Module -->
82
+ <xs:redefine schemaLocation="xhtml-hypertext-1.xsd">
83
+ <xs:attributeGroup name="a.attlist">
84
+ <xs:attributeGroup ref="a.attlist" />
85
+ <xs:attributeGroup ref="a.csim.attlist">
86
+ <xs:annotation>
87
+ <xs:documentation>
88
+ Redefinition by Client Side Image Map Module
89
+ </xs:documentation>
90
+ </xs:annotation>
91
+ </xs:attributeGroup>
92
+ <xs:attributeGroup ref="a.events.attlist">
93
+ <xs:annotation>
94
+ <xs:documentation>
95
+ Redefinition by XHTML Event Attribute Module
96
+ </xs:documentation>
97
+ </xs:annotation>
98
+ </xs:attributeGroup>
99
+ </xs:attributeGroup>
100
+ </xs:redefine>
101
+
102
+
103
+ <!-- Changes to XHTML Form Module -->
104
+ <xs:redefine schemaLocation="xhtml-form-1.xsd">
105
+
106
+ <xs:attributeGroup name="form.attlist">
107
+ <xs:annotation>
108
+ <xs:documentation>
109
+ Changes to XHTML Form Attlist
110
+ </xs:documentation>
111
+ </xs:annotation>
112
+ <xs:attributeGroup ref="form.attlist">
113
+ <xs:annotation>
114
+ <xs:documentation>
115
+ Original Form Attributes (declared in Forms Module)
116
+ </xs:documentation>
117
+ </xs:annotation>
118
+ </xs:attributeGroup>
119
+ <xs:attributeGroup ref="form.events.attlist">
120
+ <xs:annotation>
121
+ <xs:documentation>
122
+ XHTML Events Module - Attribute additions
123
+ </xs:documentation>
124
+ </xs:annotation>
125
+ </xs:attributeGroup>
126
+ </xs:attributeGroup>
127
+
128
+ <xs:attributeGroup name="input.attlist">
129
+ <xs:annotation>
130
+ <xs:documentation>
131
+ Changes to XHTML Form Input Element
132
+ </xs:documentation>
133
+ </xs:annotation>
134
+ <xs:attributeGroup ref="input.attlist">
135
+ <xs:annotation>
136
+ <xs:documentation>
137
+ Original Input Attributes (in Forms Module)
138
+ </xs:documentation>
139
+ </xs:annotation>
140
+ </xs:attributeGroup>
141
+
142
+ <xs:attributeGroup ref="input.csim.attlist">
143
+ <xs:annotation>
144
+ <xs:documentation>
145
+ Redefinition by Client Side Image Map Module
146
+ </xs:documentation>
147
+ </xs:annotation>
148
+ </xs:attributeGroup>
149
+
150
+ <xs:attributeGroup ref="input.ssimap.attlist">
151
+ <xs:annotation>
152
+ <xs:documentation>
153
+ Redefinition by Server Side Image Map Module
154
+ </xs:documentation>
155
+ </xs:annotation>
156
+ </xs:attributeGroup>
157
+
158
+
159
+ <xs:attributeGroup ref="input.events.attlist">
160
+ <xs:annotation>
161
+ <xs:documentation>
162
+ Redefinition by Event Attribute Module
163
+ </xs:documentation>
164
+ </xs:annotation>
165
+ </xs:attributeGroup>
166
+ </xs:attributeGroup>
167
+
168
+
169
+ <xs:attributeGroup name="label.attlist">
170
+ <xs:attributeGroup ref="label.attlist">
171
+ <xs:annotation>
172
+ <xs:documentation>
173
+ Original Label Attributes (in Forms Module)
174
+ </xs:documentation>
175
+ </xs:annotation>
176
+ </xs:attributeGroup>
177
+ <xs:attributeGroup ref="label.events.attlist">
178
+ <xs:annotation>
179
+ <xs:documentation>
180
+ Redefinition by Event Attribute Module
181
+ </xs:documentation>
182
+ </xs:annotation>
183
+ </xs:attributeGroup>
184
+ </xs:attributeGroup>
185
+
186
+ <xs:attributeGroup name="select.attlist">
187
+ <xs:attributeGroup ref="select.attlist">
188
+ <xs:annotation>
189
+ <xs:documentation>
190
+ Original Select Attributes (in Forms Module)
191
+ </xs:documentation>
192
+ </xs:annotation>
193
+ </xs:attributeGroup>
194
+ <xs:attributeGroup ref="select.events.attlist">
195
+ <xs:annotation>
196
+ <xs:documentation>
197
+ Redefinition by Event Attribute Module
198
+ </xs:documentation>
199
+ </xs:annotation>
200
+ </xs:attributeGroup>
201
+ </xs:attributeGroup>
202
+
203
+ <xs:attributeGroup name="textarea.attlist">
204
+ <xs:attributeGroup ref="textarea.attlist">
205
+ <xs:annotation>
206
+ <xs:documentation>
207
+ Original TextArea Attributes (in Forms Module)
208
+ </xs:documentation>
209
+ </xs:annotation>
210
+ </xs:attributeGroup>
211
+ <xs:attributeGroup ref="textarea.events.attlist">
212
+ <xs:annotation>
213
+ <xs:documentation>
214
+ Redefinition by Event Attribute Module
215
+ </xs:documentation>
216
+ </xs:annotation>
217
+ </xs:attributeGroup>
218
+ </xs:attributeGroup>
219
+
220
+ <xs:attributeGroup name="button.attlist">
221
+ <xs:attributeGroup ref="button.attlist">
222
+ <xs:annotation>
223
+ <xs:documentation>
224
+ Original Button Attributes (in Forms Module)
225
+ </xs:documentation>
226
+ </xs:annotation>
227
+ </xs:attributeGroup>
228
+ <xs:attributeGroup ref="button.events.attlist">
229
+ <xs:annotation>
230
+ <xs:documentation>
231
+ Redefinition by Event Attribute Module
232
+ </xs:documentation>
233
+ </xs:annotation>
234
+ </xs:attributeGroup>
235
+ </xs:attributeGroup>
236
+
237
+ </xs:redefine>
238
+
239
+
240
+ <!-- Changes to Client Side Map -->
241
+ <xs:redefine schemaLocation="xhtml-csismap-1.xsd">
242
+ <xs:attributeGroup name="area.attlist">
243
+ <xs:attributeGroup ref="area.attlist">
244
+ <xs:annotation>
245
+ <xs:documentation>
246
+ Original Area Attributes (in CSI Module)
247
+ </xs:documentation>
248
+ </xs:annotation>
249
+ </xs:attributeGroup>
250
+ <xs:attributeGroup ref="area.events.attlist">
251
+ <xs:annotation>
252
+ <xs:documentation>
253
+ Redefinition by Events Attribute Module
254
+ </xs:documentation>
255
+ </xs:annotation>
256
+ </xs:attributeGroup>
257
+ </xs:attributeGroup>
258
+ </xs:redefine>
259
+
260
+
261
+ <!-- Changes to Image Module -->
262
+ <xs:redefine schemaLocation="xhtml-image-1.xsd">
263
+ <xs:attributeGroup name="img.attlist">
264
+ <xs:attributeGroup ref="img.attlist">
265
+ <xs:annotation>
266
+ <xs:documentation>
267
+ Original Image Attributes (in Image Module)
268
+ </xs:documentation>
269
+ </xs:annotation>
270
+ </xs:attributeGroup>
271
+ <xs:attributeGroup ref="img.csim.attlist">
272
+ <xs:annotation>
273
+ <xs:documentation>
274
+ Redefinition by Client Side Image Map Module
275
+ </xs:documentation>
276
+ </xs:annotation>
277
+ </xs:attributeGroup>
278
+ <xs:attributeGroup ref="img.ssimap.attlist">
279
+ <xs:annotation>
280
+ <xs:documentation>
281
+ Redefinition by Server Side Image Module
282
+ </xs:documentation>
283
+ </xs:annotation>
284
+ </xs:attributeGroup>
285
+ </xs:attributeGroup>
286
+ </xs:redefine>
287
+
288
+
289
+ <!-- Changes to Link Module -->
290
+ <xs:redefine schemaLocation="xhtml-link-1.xsd">
291
+ <xs:attributeGroup name="link.attlist">
292
+ <xs:attributeGroup ref="link.attlist">
293
+ <xs:annotation>
294
+ <xs:documentation>
295
+ Original Link Attributes
296
+ </xs:documentation>
297
+ </xs:annotation>
298
+ </xs:attributeGroup>
299
+ </xs:attributeGroup>
300
+ </xs:redefine>
301
+
302
+
303
+ <xs:redefine schemaLocation="xhtml-base-1.xsd">
304
+ <xs:attributeGroup name="base.attlist">
305
+ <xs:attributeGroup ref="base.attlist">
306
+ <xs:annotation>
307
+ <xs:documentation>
308
+ Original Base Attributes
309
+ </xs:documentation>
310
+ </xs:annotation>
311
+ </xs:attributeGroup>
312
+ </xs:attributeGroup>
313
+ </xs:redefine>
314
+
315
+ <!-- Changes to Object Module -->
316
+ <xs:redefine schemaLocation="xhtml-object-1.xsd">
317
+ <xs:attributeGroup name="object.attlist">
318
+ <xs:attributeGroup ref="object.attlist">
319
+ <xs:annotation>
320
+ <xs:documentation>
321
+ Original Object Attlist
322
+ </xs:documentation>
323
+ </xs:annotation>
324
+ </xs:attributeGroup>
325
+ <xs:attributeGroup ref="object.csim.attlist">
326
+ <xs:annotation>
327
+ <xs:documentation>
328
+ Redefinition by Client Image Map Module
329
+ </xs:documentation>
330
+ </xs:annotation>
331
+ </xs:attributeGroup>
332
+ </xs:attributeGroup>
333
+ </xs:redefine>
334
+
335
+ </xs:schema>