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,508 @@
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.1 Document Type.
11
+ $Id: xhtml-basic11-modules-1.xsd,v 1.2 2008/07/07 19:12:40 smccarro 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.1 Document Type.
20
+ XHTML Basic 1.1 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 source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/>
50
+ </xs:annotation>
51
+ </xs:include>
52
+ <xs:include schemaLocation="xhtml-text-1.xsd">
53
+ <xs:annotation>
54
+ <xs:documentation>
55
+ Text module
56
+
57
+ The Text module includes declarations for all core
58
+ text container elements and their attributes.
59
+
60
+ + block phrasal
61
+ + block structural
62
+ + inline phrasal
63
+ + inline structural
64
+
65
+ Elements defined here:
66
+ * address, blockquote, pre, h1, h2, h3, h4, h5, h6
67
+ * div, p
68
+ * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
69
+ * br, span
70
+ </xs:documentation>
71
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_textmodule"/>
72
+ </xs:annotation>
73
+ </xs:include>
74
+ <xs:redefine schemaLocation="xhtml-hypertext-1.xsd">
75
+ <xs:annotation>
76
+ <xs:documentation>
77
+ Hypertext module
78
+
79
+ Elements defined here:
80
+ * a
81
+ </xs:documentation>
82
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_hypertextmodule"/>
83
+ </xs:annotation>
84
+ <xs:attributeGroup name="xhtml.a.attlist">
85
+ <xs:attributeGroup ref="xhtml.a.attlist"/>
86
+ <xs:attributeGroup ref="xhtml.a.events.attlist">
87
+ <xs:annotation>
88
+ <xs:documentation>
89
+ Redefinition by XHTML Event Attribute Module
90
+ </xs:documentation>
91
+ </xs:annotation>
92
+ </xs:attributeGroup>
93
+ <xs:attributeGroup ref="xhtml.a.target.attlist">
94
+ <xs:annotation>
95
+ <xs:documentation>
96
+ Target Module - A Attribute Additions
97
+ </xs:documentation>
98
+ </xs:annotation>
99
+ </xs:attributeGroup>
100
+ </xs:attributeGroup>
101
+ </xs:redefine>
102
+ <xs:redefine schemaLocation="xhtml-list-1.xsd">
103
+ <xs:annotation>
104
+ <xs:documentation>
105
+ Lists module
106
+
107
+ Elements defined here:
108
+ * dt, dd, dl, ol, ul, li
109
+ </xs:documentation>
110
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_listmodule"/>
111
+ </xs:annotation>
112
+ <xs:attributeGroup name="xhtml.li.attlist">
113
+ <xs:attributeGroup ref="xhtml.li.attlist"/>
114
+ <xs:attribute name="value" type="xh11d:Number"/>
115
+ </xs:attributeGroup>
116
+ </xs:redefine>
117
+ <xs:redefine schemaLocation="xhtml-struct-1.xsd">
118
+ <xs:annotation>
119
+ <xs:documentation>
120
+ Structural module
121
+
122
+ Elements defined here:
123
+ * title, head, body, html
124
+ </xs:documentation>
125
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
126
+ </xs:annotation>
127
+ <xs:attributeGroup name="xhtml.version.attrib">
128
+ <xs:annotation>
129
+ <xs:documentation>
130
+ Redefinition by the XHTML11 Markup (for value of version attr)
131
+ </xs:documentation>
132
+ </xs:annotation>
133
+ <xs:attribute name="version" type="xh11d:CDATA" fixed="-//W3C//DTD XHTML 1.1//EN"/>
134
+ </xs:attributeGroup>
135
+ <xs:attributeGroup name="xhtml.body.attlist">
136
+ <xs:attributeGroup ref="xhtml.body.attlist">
137
+ <xs:annotation>
138
+ <xs:documentation>
139
+ Original Body Attlist
140
+ </xs:documentation>
141
+ </xs:annotation>
142
+ </xs:attributeGroup>
143
+ <xs:attributeGroup ref="xhtml.body.events.attlist">
144
+ <xs:annotation>
145
+ <xs:documentation>
146
+ Redefinition by XHTML Event Attribute Module
147
+ </xs:documentation>
148
+ </xs:annotation>
149
+ </xs:attributeGroup>
150
+ </xs:attributeGroup>
151
+ </xs:redefine>
152
+ <xs:include schemaLocation="xhtml-pres-1.xsd">
153
+ <xs:annotation>
154
+ <xs:documentation>
155
+ Presentational module
156
+
157
+ Elements defined here:
158
+ * hr, b, big, i, small,sub, sup, tt
159
+ </xs:documentation>
160
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_presentationmodule"/>
161
+ </xs:annotation>
162
+ </xs:include>
163
+ <xs:redefine schemaLocation="xhtml-link-1.xsd">
164
+ <xs:annotation>
165
+ <xs:documentation>
166
+ Link module
167
+
168
+ Elements defined here:
169
+ * link
170
+ </xs:documentation>
171
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_linkmodule"/>
172
+ </xs:annotation>
173
+ <xs:attributeGroup name="xhtml.link.attlist">
174
+ <xs:annotation>
175
+ <xs:documentation>
176
+ Changes to XHTML Link Attlist
177
+ </xs:documentation>
178
+ </xs:annotation>
179
+ <xs:attributeGroup ref="xhtml.link.attlist">
180
+ <xs:annotation>
181
+ <xs:documentation>
182
+ Original Link Attributes (declared in Link Module)
183
+ </xs:documentation>
184
+ </xs:annotation>
185
+ </xs:attributeGroup>
186
+ <xs:attributeGroup ref="xhtml.link.target.attlist">
187
+ <xs:annotation>
188
+ <xs:documentation>
189
+ XHTML Target Module - Attribute additions
190
+ </xs:documentation>
191
+ </xs:annotation>
192
+ </xs:attributeGroup>
193
+ </xs:attributeGroup>
194
+ </xs:redefine>
195
+ <xs:include schemaLocation="xhtml-meta-1.xsd">
196
+ <xs:annotation>
197
+ <xs:documentation>
198
+ Meta module
199
+
200
+ Elements defined here:
201
+ * meta
202
+ </xs:documentation>
203
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_metamodule"/>
204
+ </xs:annotation>
205
+ </xs:include>
206
+ <xs:redefine schemaLocation="xhtml-base-1.xsd">
207
+ <xs:annotation>
208
+ <xs:documentation>
209
+ Base module
210
+
211
+ Elements defined here:
212
+ * base
213
+ </xs:documentation>
214
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_basemodule"/>
215
+ </xs:annotation>
216
+ <xs:attributeGroup name="xhtml.base.attlist">
217
+ <xs:annotation>
218
+ <xs:documentation>
219
+ Changes to XHTML base Attlist
220
+ </xs:documentation>
221
+ </xs:annotation>
222
+ <xs:attributeGroup ref="xhtml.base.attlist">
223
+ <xs:annotation>
224
+ <xs:documentation>
225
+ Original Base Attributes (declared in Base Module)
226
+ </xs:documentation>
227
+ </xs:annotation>
228
+ </xs:attributeGroup>
229
+ <xs:attributeGroup ref="xhtml.base.target.attlist">
230
+ <xs:annotation>
231
+ <xs:documentation>
232
+ XHTML Target Module - Attribute additions
233
+ </xs:documentation>
234
+ </xs:annotation>
235
+ </xs:attributeGroup>
236
+ </xs:attributeGroup>
237
+ </xs:redefine>
238
+ <xs:include schemaLocation="xhtml-script-1.xsd">
239
+ <xs:annotation>
240
+ <xs:documentation>
241
+ Scripting module
242
+
243
+ Elements defined here:
244
+ * script, noscript
245
+ </xs:documentation>
246
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_scriptmodule"/>
247
+ </xs:annotation>
248
+ </xs:include>
249
+ <xs:include schemaLocation="xhtml-style-1.xsd">
250
+ <xs:annotation>
251
+ <xs:documentation>
252
+ Style module
253
+
254
+ Elements defined here:
255
+ * style
256
+ </xs:documentation>
257
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_stylemodule"/>
258
+ </xs:annotation>
259
+ </xs:include>
260
+ <xs:include schemaLocation="xhtml-inlstyle-1.xsd">
261
+ <xs:annotation>
262
+ <xs:documentation>
263
+ Style attribute module
264
+
265
+ Attribute defined here:
266
+ * style
267
+ </xs:documentation>
268
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_styleattributemodule"/>
269
+ </xs:annotation>
270
+ </xs:include>
271
+ <xs:redefine schemaLocation="xhtml-image-1.xsd">
272
+ <xs:annotation>
273
+ <xs:documentation>
274
+ Image module
275
+
276
+ Elements defined here:
277
+ * img
278
+ </xs:documentation>
279
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_imagemodule"/>
280
+ </xs:annotation>
281
+ <xs:attributeGroup name="xhtml.img.attlist">
282
+ <xs:attributeGroup ref="xhtml.img.attlist">
283
+ <xs:annotation>
284
+ <xs:documentation>
285
+ Original Image Attributes (in Image Module)
286
+ </xs:documentation>
287
+ </xs:annotation>
288
+ </xs:attributeGroup>
289
+ </xs:attributeGroup>
290
+ </xs:redefine>
291
+ <xs:redefine schemaLocation="xhtml-object-1.xsd">
292
+ <xs:annotation>
293
+ <xs:documentation>
294
+ Object module
295
+
296
+ Elements defined here:
297
+ * object
298
+ </xs:documentation>
299
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_objectmodule"/>
300
+ </xs:annotation>
301
+ <xs:attributeGroup name="xhtml.object.attlist">
302
+ <xs:attributeGroup ref="xhtml.object.attlist">
303
+ <xs:annotation>
304
+ <xs:documentation>
305
+ Original Object Attlist
306
+ </xs:documentation>
307
+ </xs:annotation>
308
+ </xs:attributeGroup>
309
+ </xs:attributeGroup>
310
+ </xs:redefine>
311
+ <xs:include schemaLocation="xhtml-param-1.xsd">
312
+ <xs:annotation>
313
+ <xs:documentation>
314
+ Param module
315
+
316
+ Elements defined here:
317
+ * param
318
+ </xs:documentation>
319
+ </xs:annotation>
320
+ </xs:include>
321
+ <xs:include schemaLocation="xhtml-basic-table-1.xsd">
322
+ <xs:annotation>
323
+ <xs:documentation>
324
+ Basic Tables module
325
+
326
+ Note that this module is not used in XHTML It is designed
327
+ for use with XHTML Basic
328
+
329
+ Elements defined here:
330
+ * table, caption, tr, th, td
331
+ </xs:documentation>
332
+ <xs:documentation
333
+ source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_simpletablemodule"/>
334
+ </xs:annotation>
335
+ </xs:include>
336
+ <xs:redefine schemaLocation="xhtml-form-1.xsd">
337
+ <xs:annotation>
338
+ <xs:documentation>
339
+ Forms module
340
+
341
+ Elements defined here:
342
+ * form, label, input, select, optgroup, option,
343
+ * textarea, fieldset, legend, button
344
+ </xs:documentation>
345
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_extformsmodule"/>
346
+ </xs:annotation>
347
+ <xs:attributeGroup name="xhtml.form.attlist">
348
+ <xs:annotation>
349
+ <xs:documentation>
350
+ Changes to XHTML Form Attlist
351
+ </xs:documentation>
352
+ </xs:annotation>
353
+ <xs:attributeGroup ref="xhtml.form.attlist">
354
+ <xs:annotation>
355
+ <xs:documentation>
356
+ Original Form Attributes (declared in Forms Module)
357
+ </xs:documentation>
358
+ </xs:annotation>
359
+ </xs:attributeGroup>
360
+ <xs:attributeGroup ref="xhtml.form.events.attlist">
361
+ <xs:annotation>
362
+ <xs:documentation>
363
+ XHTML Events Module - Attribute additions
364
+ </xs:documentation>
365
+ </xs:annotation>
366
+ </xs:attributeGroup>
367
+ <xs:attributeGroup ref="xhtml.form.target.attlist">
368
+ <xs:annotation>
369
+ <xs:documentation>
370
+ XHTML Target Module - Attribute additions
371
+ </xs:documentation>
372
+ </xs:annotation>
373
+ </xs:attributeGroup>
374
+ </xs:attributeGroup>
375
+ <xs:attributeGroup name="xhtml.input.attlist">
376
+ <xs:annotation>
377
+ <xs:documentation>
378
+ Changes to XHTML Form Input Element
379
+ </xs:documentation>
380
+ </xs:annotation>
381
+ <xs:attributeGroup ref="xhtml.input.attlist">
382
+ <xs:annotation>
383
+ <xs:documentation>
384
+ Original Input Attributes (in Forms Module)
385
+ </xs:documentation>
386
+ </xs:annotation>
387
+ </xs:attributeGroup>
388
+ <xs:attributeGroup ref="xhtml.input.events.attlist">
389
+ <xs:annotation>
390
+ <xs:documentation>
391
+ Redefinition by Event Attribute Module
392
+ </xs:documentation>
393
+ </xs:annotation>
394
+ </xs:attributeGroup>
395
+ <xs:attributeGroup ref="xhtml.input.inputmode.attlist">
396
+ <xs:annotation>
397
+ <xs:documentation>
398
+ Redefinition by Inputmode Attribute Module
399
+ </xs:documentation>
400
+ </xs:annotation>
401
+ </xs:attributeGroup>
402
+ </xs:attributeGroup>
403
+ <xs:attributeGroup name="xhtml.label.attlist">
404
+ <xs:attributeGroup ref="xhtml.label.attlist">
405
+ <xs:annotation>
406
+ <xs:documentation>
407
+ Original Label Attributes (in Forms Module)
408
+ </xs:documentation>
409
+ </xs:annotation>
410
+ </xs:attributeGroup>
411
+ <xs:attributeGroup ref="xhtml.label.events.attlist">
412
+ <xs:annotation>
413
+ <xs:documentation>
414
+ Redefinition by Event Attribute Module
415
+ </xs:documentation>
416
+ </xs:annotation>
417
+ </xs:attributeGroup>
418
+ </xs:attributeGroup>
419
+ <xs:attributeGroup name="xhtml.select.attlist">
420
+ <xs:attributeGroup ref="xhtml.select.attlist">
421
+ <xs:annotation>
422
+ <xs:documentation>
423
+ Original Select Attributes (in Forms Module)
424
+ </xs:documentation>
425
+ </xs:annotation>
426
+ </xs:attributeGroup>
427
+ <xs:attributeGroup ref="xhtml.select.events.attlist">
428
+ <xs:annotation>
429
+ <xs:documentation>
430
+ Redefinition by Event Attribute Module
431
+ </xs:documentation>
432
+ </xs:annotation>
433
+ </xs:attributeGroup>
434
+ </xs:attributeGroup>
435
+ <xs:attributeGroup name="xhtml.textarea.attlist">
436
+ <xs:attributeGroup ref="xhtml.textarea.attlist">
437
+ <xs:annotation>
438
+ <xs:documentation>
439
+ Original TextArea Attributes (in Forms Module)
440
+ </xs:documentation>
441
+ </xs:annotation>
442
+ </xs:attributeGroup>
443
+ <xs:attributeGroup ref="xhtml.textarea.events.attlist">
444
+ <xs:annotation>
445
+ <xs:documentation>
446
+ Redefinition by Event Attribute Module
447
+ </xs:documentation>
448
+ </xs:annotation>
449
+ </xs:attributeGroup>
450
+ <xs:attributeGroup ref="xhtml.input.inputmode.attlist">
451
+ <xs:annotation>
452
+ <xs:documentation>
453
+ Redefinition by Inputmode Attribute Module
454
+ </xs:documentation>
455
+ </xs:annotation>
456
+ </xs:attributeGroup>
457
+ </xs:attributeGroup>
458
+ <xs:attributeGroup name="xhtml.button.attlist">
459
+ <xs:attributeGroup ref="xhtml.button.attlist">
460
+ <xs:annotation>
461
+ <xs:documentation>
462
+ Original Button Attributes (in Forms Module)
463
+ </xs:documentation>
464
+ </xs:annotation>
465
+ </xs:attributeGroup>
466
+ <xs:attributeGroup ref="xhtml.button.events.attlist">
467
+ <xs:annotation>
468
+ <xs:documentation>
469
+ Redefinition by Event Attribute Module
470
+ </xs:documentation>
471
+ </xs:annotation>
472
+ </xs:attributeGroup>
473
+ </xs:attributeGroup>
474
+ </xs:redefine>
475
+ <xs:include schemaLocation="xhtml-events-1.xsd">
476
+ <xs:annotation>
477
+ <xs:documentation>
478
+ XHTML Events Modules
479
+
480
+ Attributes defined here:
481
+ XHTML Event Types
482
+ </xs:documentation>
483
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_intrinsiceventsmodule"/>
484
+ </xs:annotation>
485
+ </xs:include>
486
+ <xs:include schemaLocation="xhtml-target-1.xsd">
487
+ <xs:annotation>
488
+ <xs:documentation>
489
+ XHTML Target Attribute Module
490
+
491
+ Attributes defined here:
492
+ target
493
+ </xs:documentation>
494
+ <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_targetmodule"/>
495
+ </xs:annotation>
496
+ </xs:include>
497
+ <xs:include schemaLocation="xhtml-inputmode-1.xsd">
498
+ <xs:annotation>
499
+ <xs:documentation>
500
+ XHTML Inputmode Module
501
+
502
+ Attributes defined here:
503
+ inputmode
504
+ </xs:documentation>
505
+ <xs:documentation source="http://www.w3.org/TR/xhtml-basic#s_inputmode"/>
506
+ </xs:annotation>
507
+ </xs:include>
508
+ </xs:schema>
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.w3.org/1999/xhtml"
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
5
+ xmlns="http://www.w3.org/1999/xhtml"
6
+ blockDefault="#all">
7
+
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ This is the XML Schema driver for XHTML Basic 1.1.
11
+ Please use this namespace for XHTML elements:
12
+ "http://www.w3.org/1999/xhtml"
13
+
14
+ $Id: xhtml-basic11.xsd,v 1.1 2008/05/29 19:43:14 smccarro Exp $
15
+ </xs:documentation>
16
+ </xs:annotation>
17
+
18
+ <xs:annotation>
19
+ <xs:documentation>
20
+ This is XHTML Basic
21
+ Copyright &#169;1998-2008 World Wide Web Consortium
22
+ (Massachusetts Institute of Technology, European Research Consortium
23
+ for Informatics and Mathematics, Keio University).
24
+ All Rights Reserved.
25
+
26
+ Permission to use, copy, modify and distribute the XHTML Schema
27
+ modules and their accompanying xs:documentation for any purpose
28
+ and without fee is hereby granted in perpetuity, provided that the above
29
+ copyright notice and this paragraph appear in all copies.
30
+ The copyright holders make no representation about the suitability of
31
+ these XML Schema modules for any purpose.
32
+
33
+ They are provided "as is" without expressed or implied warranty.
34
+ </xs:documentation>
35
+ </xs:annotation>
36
+
37
+ <xs:annotation>
38
+ <xs:documentation>
39
+ This is the Schema Driver file for XHTML Basic 1.1
40
+ Document Type
41
+
42
+ This schema includes
43
+ + imports external schemas (xml.xsd)
44
+ + refedines (and include)s schema modules for XHTML
45
+ Basic 1.1 Document Type.
46
+ + includes Schema for Named content model for the
47
+ XHTML Basic 1.1 Document Type
48
+
49
+ XHTML Basic 1.1 Document Type includes the following Modules
50
+
51
+ XHTML Core modules (Required for XHTML Family Conformance)
52
+ + text
53
+ + hypertext
54
+ + lists
55
+ + structure (redefined)
56
+
57
+ Other XHTML modules
58
+ + Link
59
+ + Metainformation
60
+ + Intrinsic Events
61
+ + Scripting
62
+ + Stylesheet
63
+ + Style Attribute
64
+ + Target
65
+ + Inputmode
66
+ + Base
67
+ + Image
68
+ + Object
69
+ + Presentation
70
+ + Param
71
+ + Forms
72
+ + Basic tables
73
+ </xs:documentation>
74
+ </xs:annotation>
75
+
76
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace"
77
+ schemaLocation="http://www.w3.org/2001/xml.xsd">
78
+ <xs:annotation>
79
+ <xs:documentation>
80
+ This import brings in the XML namespace attributes
81
+ The XML attributes are used by various modules
82
+ </xs:documentation>
83
+ </xs:annotation>
84
+ </xs:import>
85
+
86
+ <xs:include schemaLocation="xhtml-basic11-model-1.xsd">
87
+ <xs:annotation>
88
+ <xs:documentation>
89
+ Document Model module for the XHTML Basic 1.1 Document Type
90
+ This schema file defines all named models used by XHTML
91
+ Modularization Framework for XHTML Basic 1.1 Document Type
92
+ </xs:documentation>
93
+ </xs:annotation>
94
+ </xs:include>
95
+
96
+ <xs:include schemaLocation="xhtml-basic11-modules-1.xsd">
97
+ <xs:annotation>
98
+ <xs:documentation>
99
+ Schema that includes the modules (and redefinitions)
100
+ for XHTML Basic 1.1 Document Type.
101
+ </xs:documentation>
102
+ </xs:annotation>
103
+ </xs:include>
104
+
105
+ </xs:schema>
@@ -0,0 +1,72 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/">
3
+ <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
4
+ <xs:annotation>
5
+ <xs:documentation>
6
+ Bidirectional Override (bdo) Element
7
+ This is the XML Schema BDO Element module for XHTML
8
+
9
+ This modules declares the element 'bdo' and 'dir' attributes,
10
+ Used to override the Unicode bidirectional algorithm for selected
11
+ fragments of text.
12
+ Bidirectional text support includes both the bdo element and
13
+ the 'dir' attribute.
14
+
15
+ $Id: xhtml-bdo-1.xsd,v 1.5 2005/09/26 23:37:47 ahby Exp $
16
+ </xs:documentation>
17
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
18
+ <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_bdomodule"/>
19
+ </xs:annotation>
20
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
21
+ <xs:annotation>
22
+ <xs:documentation>
23
+ This import brings in the XML namespace attributes
24
+ The module itself does not provide the schemaLocation
25
+ and expects the driver schema to provide the
26
+ actual SchemaLocation.
27
+ </xs:documentation>
28
+ </xs:annotation>
29
+ </xs:import>
30
+ <xs:attributeGroup name="xhtml.bdo.attlist">
31
+ <xs:attributeGroup ref="xhtml.Core.attrib"/>
32
+ <xs:attribute name="dir" use="required">
33
+ <xs:simpleType>
34
+ <xs:restriction base="xs:NMTOKEN">
35
+ <xs:enumeration value="ltr"/>
36
+ <xs:enumeration value="rtl"/>
37
+ </xs:restriction>
38
+ </xs:simpleType>
39
+ </xs:attribute>
40
+ </xs:attributeGroup>
41
+ <xs:group name="xhtml.bdo.content">
42
+ <xs:sequence>
43
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
44
+ </xs:sequence>
45
+ </xs:group>
46
+ <xs:complexType name="xhtml.bdo.type" mixed="true">
47
+ <xs:group ref="xhtml.bdo.content"/>
48
+ <xs:attributeGroup ref="xhtml.bdo.attlist"/>
49
+ </xs:complexType>
50
+ <xs:attributeGroup name="xhtml.dir.attrib">
51
+ <xs:attribute name="dir">
52
+ <xs:simpleType>
53
+ <xs:restriction base="xs:NMTOKEN">
54
+ <xs:enumeration value="ltr"/>
55
+ <xs:enumeration value="rtl"/>
56
+ </xs:restriction>
57
+ </xs:simpleType>
58
+ </xs:attribute>
59
+ </xs:attributeGroup>
60
+ <!-- Global dir attribute -->
61
+ <xs:attribute name="dir">
62
+ <xs:simpleType>
63
+ <xs:restriction base="xs:NMTOKEN">
64
+ <xs:enumeration value="ltr"/>
65
+ <xs:enumeration value="rtl"/>
66
+ </xs:restriction>
67
+ </xs:simpleType>
68
+ </xs:attribute>
69
+ <xs:attributeGroup name="xhtml.Global.bdo.attrib">
70
+ <xs:attribute ref="dir"/>
71
+ </xs:attributeGroup>
72
+ </xs:schema>