camelpunch-markup_validity 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/.autotest +23 -0
  2. data/CHANGELOG.rdoc +22 -0
  3. data/Manifest.txt +105 -0
  4. data/README.rdoc +101 -0
  5. data/Rakefile +15 -0
  6. data/lib/markup_validity.rb +12 -0
  7. data/lib/markup_validity/MarkUp.html +1095 -0
  8. data/lib/markup_validity/SCHEMA.html +90 -0
  9. data/lib/markup_validity/assertions.rb +32 -0
  10. data/lib/markup_validity/examples.html +25 -0
  11. data/lib/markup_validity/rspec.rb +77 -0
  12. data/lib/markup_validity/templates.html +15 -0
  13. data/lib/markup_validity/validator.rb +65 -0
  14. data/lib/markup_validity/xframes-1.xsd +166 -0
  15. data/lib/markup_validity/xhtml-access-1.xsd +43 -0
  16. data/lib/markup_validity/xhtml-applet-1.xsd +66 -0
  17. data/lib/markup_validity/xhtml-attribs-1.xsd +67 -0
  18. data/lib/markup_validity/xhtml-base-1.xsd +31 -0
  19. data/lib/markup_validity/xhtml-basic-form-1.xsd +195 -0
  20. data/lib/markup_validity/xhtml-basic-table-1.xsd +169 -0
  21. data/lib/markup_validity/xhtml-basic10-model-1.xsd +385 -0
  22. data/lib/markup_validity/xhtml-basic10-module-redefines-1.xsd +61 -0
  23. data/lib/markup_validity/xhtml-basic10-modules-1.xsd +233 -0
  24. data/lib/markup_validity/xhtml-basic10.xsd +99 -0
  25. data/lib/markup_validity/xhtml-basic11-model-1.xsd +622 -0
  26. data/lib/markup_validity/xhtml-basic11-modules-1.xsd +508 -0
  27. data/lib/markup_validity/xhtml-basic11.xsd +105 -0
  28. data/lib/markup_validity/xhtml-bdo-1.xsd +72 -0
  29. data/lib/markup_validity/xhtml-blkphras-1.xsd +155 -0
  30. data/lib/markup_validity/xhtml-blkpres-1.xsd +32 -0
  31. data/lib/markup_validity/xhtml-blkstruct-1.xsd +44 -0
  32. data/lib/markup_validity/xhtml-charent-1.xsd +38 -0
  33. data/lib/markup_validity/xhtml-copyright-1.xsd +29 -0
  34. data/lib/markup_validity/xhtml-csismap-1.xsd +91 -0
  35. data/lib/markup_validity/xhtml-datatypes-1.xsd +177 -0
  36. data/lib/markup_validity/xhtml-edit-1.xsd +34 -0
  37. data/lib/markup_validity/xhtml-events-1.xsd +130 -0
  38. data/lib/markup_validity/xhtml-form-1.xsd +321 -0
  39. data/lib/markup_validity/xhtml-frames-1.xsd +113 -0
  40. data/lib/markup_validity/xhtml-framework-1.xsd +62 -0
  41. data/lib/markup_validity/xhtml-hypertext-1.xsd +47 -0
  42. data/lib/markup_validity/xhtml-iframe-1.xsd +68 -0
  43. data/lib/markup_validity/xhtml-image-1.xsd +40 -0
  44. data/lib/markup_validity/xhtml-inlphras-1.xsd +158 -0
  45. data/lib/markup_validity/xhtml-inlpres-1.xsd +34 -0
  46. data/lib/markup_validity/xhtml-inlstruct-1.xsd +45 -0
  47. data/lib/markup_validity/xhtml-inlstyle-1.xsd +22 -0
  48. data/lib/markup_validity/xhtml-inputmode-1.xsd +35 -0
  49. data/lib/markup_validity/xhtml-lat1.ent +196 -0
  50. data/lib/markup_validity/xhtml-legacy-1.xsd +97 -0
  51. data/lib/markup_validity/xhtml-link-1.xsd +45 -0
  52. data/lib/markup_validity/xhtml-list-1.xsd +94 -0
  53. data/lib/markup_validity/xhtml-meta-1.xsd +54 -0
  54. data/lib/markup_validity/xhtml-metaAttributes-1.xsd +39 -0
  55. data/lib/markup_validity/xhtml-misc-1.xsd +441 -0
  56. data/lib/markup_validity/xhtml-nameident-1.xsd +63 -0
  57. data/lib/markup_validity/xhtml-notations-1.xsd +69 -0
  58. data/lib/markup_validity/xhtml-object-1.xsd +71 -0
  59. data/lib/markup_validity/xhtml-param-1.xsd +46 -0
  60. data/lib/markup_validity/xhtml-pres-1.xsd +46 -0
  61. data/lib/markup_validity/xhtml-print-1.xsd +85 -0
  62. data/lib/markup_validity/xhtml-print-model-1.xsd +604 -0
  63. data/lib/markup_validity/xhtml-print-modules-1.xsd +422 -0
  64. data/lib/markup_validity/xhtml-rdfa-1.dtd +438 -0
  65. data/lib/markup_validity/xhtml-rdfa-1.xsd +116 -0
  66. data/lib/markup_validity/xhtml-rdfa-model-1.xsd +461 -0
  67. data/lib/markup_validity/xhtml-rdfa-modules-1.xsd +548 -0
  68. data/lib/markup_validity/xhtml-ruby-1.xsd +170 -0
  69. data/lib/markup_validity/xhtml-ruby-basic-1.xsd +84 -0
  70. data/lib/markup_validity/xhtml-script-1.xsd +65 -0
  71. data/lib/markup_validity/xhtml-special.ent +80 -0
  72. data/lib/markup_validity/xhtml-ssismap-1.xsd +38 -0
  73. data/lib/markup_validity/xhtml-struct-1.xsd +85 -0
  74. data/lib/markup_validity/xhtml-style-1.xsd +47 -0
  75. data/lib/markup_validity/xhtml-symbol.ent +237 -0
  76. data/lib/markup_validity/xhtml-table-1.xsd +267 -0
  77. data/lib/markup_validity/xhtml-target-1.xsd +49 -0
  78. data/lib/markup_validity/xhtml-text-1.xsd +62 -0
  79. data/lib/markup_validity/xhtml1-strict.dtd +978 -0
  80. data/lib/markup_validity/xhtml1-strict.xsd +2211 -0
  81. data/lib/markup_validity/xhtml1-transitional.dtd +1201 -0
  82. data/lib/markup_validity/xhtml1-transitional.xsd +2755 -0
  83. data/lib/markup_validity/xhtml11-model-1.xsd +715 -0
  84. data/lib/markup_validity/xhtml11-module-redefines-1.xsd +335 -0
  85. data/lib/markup_validity/xhtml11-modules-1.xsd +605 -0
  86. data/lib/markup_validity/xhtml11.xsd +107 -0
  87. data/lib/markup_validity/xhtml2.xsd +21 -0
  88. data/lib/markup_validity/xml-events-1.xsd +73 -0
  89. data/lib/markup_validity/xml-events-2.xsd +73 -0
  90. data/lib/markup_validity/xml-events-attribs-1.xsd +73 -0
  91. data/lib/markup_validity/xml-events-attribs-2.xsd +75 -0
  92. data/lib/markup_validity/xml-events-copyright-1.xsd +34 -0
  93. data/lib/markup_validity/xml-events-copyright-2.xsd +34 -0
  94. data/lib/markup_validity/xml-handlers-1.xsd +136 -0
  95. data/lib/markup_validity/xml-handlers-2.xsd +98 -0
  96. data/lib/markup_validity/xml-script-1.xsd +38 -0
  97. data/lib/markup_validity/xml.xsd +286 -0
  98. data/spec/matcher_spec.rb +55 -0
  99. data/test/assets/invalid_entity.xhtml +109 -0
  100. data/test/assets/invalid_entity_transitional.xhtml +109 -0
  101. data/test/assets/order.xml +24 -0
  102. data/test/assets/shipment.xsd +33 -0
  103. data/test/helper.rb +96 -0
  104. data/test/test_markup_validity.rb +105 -0
  105. metadata +198 -0
@@ -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>
@@ -0,0 +1,438 @@
1
+ <!-- ....................................................................... -->
2
+ <!-- XHTML 1.1 + RDFa DTD ................................................. -->
3
+ <!-- file: xhtml-rdfa-1.dtd
4
+ -->
5
+
6
+ <!-- XHTML 1.1 + RDFa DTD
7
+
8
+ This is an example markup language combining XHTML 1.1 and the RDFa
9
+ modules.
10
+
11
+ XHTML+RDFa
12
+ Copyright 1998-2008 World Wide Web Consortium
13
+ (Massachusetts Institute of Technology, European Research Consortium
14
+ for Informatics and Mathematics, Keio University).
15
+ All Rights Reserved.
16
+
17
+ Permission to use, copy, modify and distribute the XHTML DTD and its
18
+ accompanying documentation for any purpose and without fee is hereby
19
+ granted in perpetuity, provided that the above copyright notice and
20
+ this paragraph appear in all copies. The copyright holders make no
21
+ representation about the suitability of the DTD for any purpose.
22
+
23
+ It is provided "as is" without expressed or implied warranty.
24
+
25
+ -->
26
+ <!-- This is the driver file for version 1 of the XHTML + RDFa DTD.
27
+
28
+ Please use this public identifier to identify it:
29
+
30
+ "-//W3C//DTD XHTML+RDFa 1.0//EN"
31
+ -->
32
+ <!ENTITY % XHTML.version "XHTML+RDFa 1.0" >
33
+
34
+ <!-- Use this URI to identify the default namespace:
35
+
36
+ "http://www.w3.org/1999/xhtml"
37
+
38
+ See the Qualified Names module for information
39
+ on the use of namespace prefixes in the DTD.
40
+
41
+ Note that XHTML namespace elements are not prefixed by default,
42
+ but the XHTML namespace prefix is defined as "xhtml" so that
43
+ other markup languages can extend this one and use the XHTML
44
+ prefixed global attributes if required.
45
+
46
+ -->
47
+ <!ENTITY % NS.prefixed "IGNORE" >
48
+ <!ENTITY % XHTML.prefix "xhtml" >
49
+
50
+ <!-- Be sure to include prefixed global attributes - we don't need
51
+ them, but languages that extend XHTML 1.1 might.
52
+ -->
53
+ <!ENTITY % XHTML.global.attrs.prefixed "INCLUDE" >
54
+
55
+ <!-- Reserved for use with the XLink namespace:
56
+ -->
57
+ <!ENTITY % XLINK.xmlns "" >
58
+ <!ENTITY % XLINK.xmlns.attrib "" >
59
+
60
+ <!-- For example, if you are using XHTML 1.1 directly, use the public
61
+ identifier in the DOCTYPE declaration, with the namespace declaration
62
+ on the document element to identify the default namespace:
63
+
64
+ <?xml version="1.0"?>
65
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
66
+ "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
67
+ <html xmlns="http://www.w3.org/1999/xhtml"
68
+ xml:lang="en">
69
+ ...
70
+ </html>
71
+
72
+ Revisions:
73
+ (none)
74
+ -->
75
+
76
+ <!-- reserved for future use with document profiles -->
77
+ <!ENTITY % XHTML.profile "" >
78
+
79
+ <!-- ensure XHTML Notations are disabled -->
80
+ <!ENTITY % xhtml-notations.module "IGNORE" >
81
+
82
+ <!-- Bidirectional Text features
83
+ This feature-test entity is used to declare elements
84
+ and attributes used for bidirectional text support.
85
+ -->
86
+ <!ENTITY % XHTML.bidi "INCLUDE" >
87
+
88
+ <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
89
+
90
+ <!-- Pre-Framework Redeclaration placeholder .................... -->
91
+ <!-- this serves as a location to insert markup declarations
92
+ into the DTD prior to the framework declarations.
93
+ -->
94
+ <!ENTITY % xhtml-prefw-redecl.module "IGNORE" >
95
+ <!ENTITY % xhtml-prefw-redecl.mod "" >
96
+ <![%xhtml-prefw-redecl.module;[
97
+ %xhtml-prefw-redecl.mod;
98
+ <!-- end of xhtml-prefw-redecl.module -->]]>
99
+
100
+ <!-- we need the datatypes now -->
101
+ <!ENTITY % xhtml-datatypes.module "INCLUDE" >
102
+ <![%xhtml-datatypes.module;[
103
+ <!ENTITY % xhtml-datatypes.mod
104
+ PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
105
+ "http://www.w3.org/MarkUp/DTD/xhtml-datatypes-1.mod" >
106
+ %xhtml-datatypes.mod;]]>
107
+
108
+ <!-- bring in the RDFa attributes cause we need them in Common -->
109
+ <!ENTITY % xhtml-metaAttributes.module "INCLUDE" >
110
+ <![%xhtml-metaAttributes.module;[
111
+ <!ENTITY % xhtml-metaAttributes.mod
112
+ PUBLIC "-//W3C//ENTITIES XHTML MetaAttributes 1.0//EN"
113
+ "http://www.w3.org/MarkUp/DTD/xhtml-metaAttributes-1.mod" >
114
+ %xhtml-metaAttributes.mod;]]>
115
+
116
+ <!ENTITY % xhtml-events.module "INCLUDE" >
117
+
118
+ <!ENTITY % Common.extra.attrib
119
+ "href %URI.datatype; #IMPLIED
120
+ %Metainformation.attrib;"
121
+ >
122
+ <!-- adding the lang attribute into the I18N collection -->
123
+
124
+ <!ENTITY % lang.attrib
125
+ "xml:lang %LanguageCode.datatype; #IMPLIED
126
+ lang %LanguageCode.datatype; #IMPLIED"
127
+ >
128
+
129
+ <!-- Inline Style Module ........................................ -->
130
+ <!ENTITY % xhtml-inlstyle.module "INCLUDE" >
131
+ <![%xhtml-inlstyle.module;[
132
+ <!ENTITY % xhtml-inlstyle.mod
133
+ PUBLIC "-//W3C//ELEMENTS XHTML Inline Style 1.0//EN"
134
+ "http://www.w3.org/MarkUp/DTD/xhtml-inlstyle-1.mod" >
135
+ %xhtml-inlstyle.mod;]]>
136
+
137
+ <!-- declare Document Model module instantiated in framework
138
+ -->
139
+ <!ENTITY % xhtml-model.mod
140
+ PUBLIC "-//W3C//ENTITIES XHTML+RDFa Document Model 1.0//EN"
141
+ "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-model-1.mod" >
142
+
143
+ <!-- Modular Framework Module (required) ......................... -->
144
+ <!ENTITY % xhtml-framework.module "INCLUDE" >
145
+ <![%xhtml-framework.module;[
146
+ <!ENTITY % xhtml-framework.mod
147
+ PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
148
+ "http://www.w3.org/MarkUp/DTD/xhtml-framework-1.mod" >
149
+ %xhtml-framework.mod;]]>
150
+
151
+ <!-- Post-Framework Redeclaration placeholder ................... -->
152
+ <!-- this serves as a location to insert markup declarations
153
+ into the DTD following the framework declarations.
154
+ -->
155
+ <!ENTITY % xhtml-postfw-redecl.module "IGNORE" >
156
+ <!ENTITY % xhtml-postfw-redecl.mod "">
157
+ <![%xhtml-postfw-redecl.module;[
158
+ %xhtml-postfw-redecl.mod;
159
+ <!-- end of xhtml-postfw-redecl.module -->]]>
160
+
161
+
162
+
163
+ <!-- Text Module (Required) ..................................... -->
164
+ <!ENTITY % xhtml-text.module "INCLUDE" >
165
+ <![%xhtml-text.module;[
166
+ <!ENTITY % xhtml-text.mod
167
+ PUBLIC "-//W3C//ELEMENTS XHTML Text 1.0//EN"
168
+ "http://www.w3.org/MarkUp/DTD/xhtml-text-1.mod" >
169
+ %xhtml-text.mod;]]>
170
+
171
+ <!-- Hypertext Module (required) ................................. -->
172
+ <!ENTITY % a.attlist "IGNORE" >
173
+ <!ENTITY % xhtml-hypertext.module "INCLUDE" >
174
+ <![%xhtml-hypertext.module;[
175
+ <!ENTITY % xhtml-hypertext.mod
176
+ PUBLIC "-//W3C//ELEMENTS XHTML Hypertext 1.0//EN"
177
+ "http://www.w3.org/MarkUp/DTD/xhtml-hypertext-1.mod" >
178
+ %xhtml-hypertext.mod;]]>
179
+ <!ATTLIST %a.qname;
180
+ %Common.attrib;
181
+ charset %Charset.datatype; #IMPLIED
182
+ type %ContentType.datatype; #IMPLIED
183
+ hreflang %LanguageCode.datatype; #IMPLIED
184
+ accesskey %Character.datatype; #IMPLIED
185
+ tabindex %Number.datatype; #IMPLIED
186
+ >
187
+
188
+ <!-- Lists Module (required) .................................... -->
189
+ <!ENTITY % xhtml-list.module "INCLUDE" >
190
+ <![%xhtml-list.module;[
191
+ <!ENTITY % xhtml-list.mod
192
+ PUBLIC "-//W3C//ELEMENTS XHTML Lists 1.0//EN"
193
+ "http://www.w3.org/MarkUp/DTD/xhtml-list-1.mod" >
194
+ %xhtml-list.mod;]]>
195
+
196
+ <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
197
+
198
+ <!-- Edit Module ................................................ -->
199
+ <!ENTITY % xhtml-edit.module "INCLUDE" >
200
+ <![%xhtml-edit.module;[
201
+ <!ENTITY % xhtml-edit.mod
202
+ PUBLIC "-//W3C//ELEMENTS XHTML Editing Elements 1.0//EN"
203
+ "http://www.w3.org/MarkUp/DTD/xhtml-edit-1.mod" >
204
+ %xhtml-edit.mod;]]>
205
+
206
+ <!-- BIDI Override Module ....................................... -->
207
+ <!ENTITY % xhtml-bdo.module "%XHTML.bidi;" >
208
+ <![%xhtml-bdo.module;[
209
+ <!ENTITY % xhtml-bdo.mod
210
+ PUBLIC "-//W3C//ELEMENTS XHTML BIDI Override Element 1.0//EN"
211
+ "http://www.w3.org/MarkUp/DTD/xhtml-bdo-1.mod" >
212
+ %xhtml-bdo.mod;]]>
213
+
214
+ <!-- Ruby Module ................................................ -->
215
+ <!ENTITY % Ruby.common.attlists "INCLUDE" >
216
+ <!ENTITY % Ruby.common.attrib "%Common.attrib;" >
217
+ <!ENTITY % xhtml-ruby.module "INCLUDE" >
218
+ <![%xhtml-ruby.module;[
219
+ <!ENTITY % xhtml-ruby.mod
220
+ PUBLIC "-//W3C//ELEMENTS XHTML Ruby 1.0//EN"
221
+ "http://www.w3.org/TR/ruby/xhtml-ruby-1.mod" >
222
+ %xhtml-ruby.mod;]]>
223
+
224
+ <!-- Presentation Module ........................................ -->
225
+ <!ENTITY % xhtml-pres.module "INCLUDE" >
226
+ <![%xhtml-pres.module;[
227
+ <!ENTITY % xhtml-pres.mod
228
+ PUBLIC "-//W3C//ELEMENTS XHTML Presentation 1.0//EN"
229
+ "http://www.w3.org/MarkUp/DTD/xhtml-pres-1.mod" >
230
+ %xhtml-pres.mod;]]>
231
+
232
+ <!ENTITY % link.attlist "IGNORE" >
233
+ <!-- Link Element Module ........................................ -->
234
+ <!ENTITY % xhtml-link.module "INCLUDE" >
235
+ <![%xhtml-link.module;[
236
+ <!ENTITY % xhtml-link.mod
237
+ PUBLIC "-//W3C//ELEMENTS XHTML Link Element 1.0//EN"
238
+ "http://www.w3.org/MarkUp/DTD/xhtml-link-1.mod" >
239
+ %xhtml-link.mod;]]>
240
+
241
+ <!ATTLIST %link.qname;
242
+ %Common.attrib;
243
+ charset %Charset.datatype; #IMPLIED
244
+ hreflang %LanguageCode.datatype; #IMPLIED
245
+ type %ContentType.datatype; #IMPLIED
246
+ media %MediaDesc.datatype; #IMPLIED
247
+ >
248
+
249
+ <!-- Document Metainformation Module ............................ -->
250
+ <!ENTITY % meta.attlist "IGNORE" >
251
+ <!ENTITY % xhtml-meta.module "INCLUDE" >
252
+ <![%xhtml-meta.module;[
253
+ <!ENTITY % xhtml-meta.mod
254
+ PUBLIC "-//W3C//ELEMENTS XHTML Metainformation 1.0//EN"
255
+ "http://www.w3.org/MarkUp/DTD/xhtml-meta-1.mod" >
256
+ %xhtml-meta.mod;]]>
257
+ <!ATTLIST %meta.qname;
258
+ %Common.attrib;
259
+ http-equiv NMTOKEN #IMPLIED
260
+ name NMTOKEN #IMPLIED
261
+ scheme CDATA #IMPLIED
262
+ >
263
+
264
+ <!-- Base Element Module ........................................ -->
265
+ <!ENTITY % xhtml-base.module "INCLUDE" >
266
+ <![%xhtml-base.module;[
267
+ <!ENTITY % xhtml-base.mod
268
+ PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
269
+ "http://www.w3.org/MarkUp/DTD/xhtml-base-1.mod" >
270
+ %xhtml-base.mod;]]>
271
+
272
+ <!-- Scripting Module ........................................... -->
273
+ <!ENTITY % script.attlist "IGNORE" >
274
+ <!ENTITY % xhtml-script.module "INCLUDE" >
275
+ <![%xhtml-script.module;[
276
+ <!ENTITY % xhtml-script.mod
277
+ PUBLIC "-//W3C//ELEMENTS XHTML Scripting 1.0//EN"
278
+ "http://www.w3.org/MarkUp/DTD/xhtml-script-1.mod" >
279
+ %xhtml-script.mod;]]>
280
+
281
+ <!ATTLIST %script.qname;
282
+ %XHTML.xmlns.attrib;
283
+ %id.attrib;
284
+ %Metainformation.attrib;
285
+ href %URI.datatype; #IMPLIED
286
+ xml:space ( preserve ) #FIXED 'preserve'
287
+ charset %Charset.datatype; #IMPLIED
288
+ type %ContentType.datatype; #REQUIRED
289
+ src %URI.datatype; #IMPLIED
290
+ defer ( defer ) #IMPLIED
291
+ >
292
+
293
+ <!-- Style Sheets Module ......................................... -->
294
+ <!ENTITY % style.attlist "IGNORE" >
295
+ <!ENTITY % xhtml-style.module "INCLUDE" >
296
+ <![%xhtml-style.module;[
297
+ <!ENTITY % xhtml-style.mod
298
+ PUBLIC "-//W3C//ELEMENTS XHTML Style Sheets 1.0//EN"
299
+ "http://www.w3.org/MarkUp/DTD/xhtml-style-1.mod" >
300
+ %xhtml-style.mod;]]>
301
+ <!ATTLIST %style.qname;
302
+ %XHTML.xmlns.attrib;
303
+ %id.attrib;
304
+ %title.attrib;
305
+ %I18n.attrib;
306
+ %Metainformation.attrib;
307
+ href %URI.datatype; #IMPLIED
308
+ xml:space ( preserve ) #FIXED 'preserve'
309
+ type %ContentType.datatype; #REQUIRED
310
+ media %MediaDesc.datatype; #IMPLIED
311
+ >
312
+
313
+ <!-- Image Module ............................................... -->
314
+ <!ENTITY % xhtml-image.module "INCLUDE" >
315
+ <![%xhtml-image.module;[
316
+ <!ENTITY % xhtml-image.mod
317
+ PUBLIC "-//W3C//ELEMENTS XHTML Images 1.0//EN"
318
+ "http://www.w3.org/MarkUp/DTD/xhtml-image-1.mod" >
319
+ %xhtml-image.mod;]]>
320
+
321
+ <!-- Client-side Image Map Module ............................... -->
322
+ <!ENTITY % area.attlist "IGNORE" >
323
+
324
+ <!ENTITY % xhtml-csismap.module "INCLUDE" >
325
+ <![%xhtml-csismap.module;[
326
+ <!ENTITY % xhtml-csismap.mod
327
+ PUBLIC "-//W3C//ELEMENTS XHTML Client-side Image Maps 1.0//EN"
328
+ "http://www.w3.org/MarkUp/DTD/xhtml-csismap-1.mod" >
329
+ %xhtml-csismap.mod;]]>
330
+
331
+ <!ATTLIST %area.qname;
332
+ %Common.attrib;
333
+ shape %Shape.datatype; 'rect'
334
+ coords %Coords.datatype; #IMPLIED
335
+ nohref ( nohref ) #IMPLIED
336
+ alt %Text.datatype; #REQUIRED
337
+ tabindex %Number.datatype; #IMPLIED
338
+ accesskey %Character.datatype; #IMPLIED
339
+ >
340
+
341
+ <!-- Server-side Image Map Module ............................... -->
342
+ <!ENTITY % xhtml-ssismap.module "INCLUDE" >
343
+ <![%xhtml-ssismap.module;[
344
+ <!ENTITY % xhtml-ssismap.mod
345
+ PUBLIC "-//W3C//ELEMENTS XHTML Server-side Image Maps 1.0//EN"
346
+ "http://www.w3.org/MarkUp/DTD/xhtml-ssismap-1.mod" >
347
+ %xhtml-ssismap.mod;]]>
348
+
349
+ <!-- Param Element Module ....................................... -->
350
+ <!ENTITY % param.attlist "IGNORE" >
351
+ <!ENTITY % xhtml-param.module "INCLUDE" >
352
+ <![%xhtml-param.module;[
353
+ <!ENTITY % xhtml-param.mod
354
+ PUBLIC "-//W3C//ELEMENTS XHTML Param Element 1.0//EN"
355
+ "http://www.w3.org/MarkUp/DTD/xhtml-param-1.mod" >
356
+ %xhtml-param.mod;]]>
357
+
358
+ <!ATTLIST %param.qname;
359
+ %XHTML.xmlns.attrib;
360
+ %id.attrib;
361
+ %Metainformation.attrib;
362
+ href %URI.datatype; #IMPLIED
363
+ name CDATA #REQUIRED
364
+ value CDATA #IMPLIED
365
+ valuetype ( data | ref | object ) 'data'
366
+ type %ContentType.datatype; #IMPLIED
367
+ >
368
+ <!-- Embedded Object Module ..................................... -->
369
+ <!ENTITY % xhtml-object.module "INCLUDE" >
370
+ <![%xhtml-object.module;[
371
+ <!ENTITY % xhtml-object.mod
372
+ PUBLIC "-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN"
373
+ "http://www.w3.org/MarkUp/DTD/xhtml-object-1.mod" >
374
+ %xhtml-object.mod;]]>
375
+
376
+ <!-- Tables Module ............................................... -->
377
+ <!ENTITY % xhtml-table.module "INCLUDE" >
378
+ <![%xhtml-table.module;[
379
+ <!ENTITY % xhtml-table.mod
380
+ PUBLIC "-//W3C//ELEMENTS XHTML Tables 1.0//EN"
381
+ "http://www.w3.org/MarkUp/DTD/xhtml-table-1.mod" >
382
+ %xhtml-table.mod;]]>
383
+
384
+ <!-- Forms Module ............................................... -->
385
+ <!ENTITY % xhtml-form.module "INCLUDE" >
386
+ <![%xhtml-form.module;[
387
+ <!ENTITY % xhtml-form.mod
388
+ PUBLIC "-//W3C//ELEMENTS XHTML Forms 1.0//EN"
389
+ "http://www.w3.org/MarkUp/DTD/xhtml-form-1.mod" >
390
+ %xhtml-form.mod;]]>
391
+
392
+ <!-- Target Attribute Module .................................... -->
393
+ <!ENTITY % xhtml-target.module "INCLUDE" >
394
+ <![%xhtml-target.module;[
395
+ <!ENTITY % xhtml-target.mod
396
+ PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
397
+ "http://www.w3.org/MarkUp/DTD/xhtml-target-1.mod" >
398
+ %xhtml-target.mod;]]>
399
+
400
+ <!-- Legacy Markup ............................................... -->
401
+ <!ENTITY % xhtml-legacy.module "IGNORE" >
402
+ <![%xhtml-legacy.module;[
403
+ <!ENTITY % xhtml-legacy.mod
404
+ PUBLIC "-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN"
405
+ "http://www.w3.org/MarkUp/DTD/xhtml-legacy-1.mod" >
406
+ %xhtml-legacy.mod;]]>
407
+
408
+ <!-- Document Structure Module (required) ....................... -->
409
+ <!ENTITY % html.attlist "IGNORE" >
410
+ <!ENTITY % head.attlist "IGNORE" >
411
+ <!ENTITY % title.attlist "IGNORE" >
412
+ <!ENTITY % xhtml-struct.module "INCLUDE" >
413
+ <![%xhtml-struct.module;[
414
+ <!ENTITY % xhtml-struct.mod
415
+ PUBLIC "-//W3C//ELEMENTS XHTML Document Structure 1.0//EN"
416
+ "http://www.w3.org/MarkUp/DTD/xhtml-struct-1.mod" >
417
+ %xhtml-struct.mod;]]>
418
+ <!ENTITY % profile.attrib
419
+ "profile %URI.datatype; '%XHTML.profile;'"
420
+ >
421
+ <!ENTITY % XHTML.version.attrib
422
+ "version %FPI.datatype; #FIXED '%XHTML.version;'"
423
+ >
424
+ <!ATTLIST %html.qname;
425
+ %Common.attrib;
426
+ %XSI.schemaLocation.attrib;
427
+ %XHTML.version.attrib;
428
+ >
429
+ <!ATTLIST %head.qname;
430
+ %Common.attrib;
431
+ %profile.attrib;
432
+ >
433
+ <!ATTLIST %title.qname;
434
+ %Common.attrib;
435
+ >
436
+
437
+ <!-- end of XHTML-RDFa DTD ................................................ -->
438
+ <!-- ....................................................................... -->