markup_validity 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. data/CHANGELOG.rdoc +10 -0
  2. data/Manifest.txt +88 -0
  3. data/Rakefile +7 -11
  4. data/lib/markup_validity.rb +1 -1
  5. data/lib/markup_validity/MarkUp.html +1095 -0
  6. data/lib/markup_validity/SCHEMA.html +90 -0
  7. data/lib/markup_validity/assertions.rb +8 -1
  8. data/lib/markup_validity/examples.html +25 -0
  9. data/lib/markup_validity/rspec.rb +19 -0
  10. data/lib/markup_validity/templates.html +15 -0
  11. data/lib/markup_validity/validator.rb +27 -1
  12. data/lib/markup_validity/xframes-1.xsd +166 -0
  13. data/lib/markup_validity/xhtml-access-1.xsd +43 -0
  14. data/lib/markup_validity/xhtml-applet-1.xsd +66 -0
  15. data/lib/markup_validity/xhtml-attribs-1.xsd +67 -0
  16. data/lib/markup_validity/xhtml-base-1.xsd +31 -0
  17. data/lib/markup_validity/xhtml-basic-form-1.xsd +195 -0
  18. data/lib/markup_validity/xhtml-basic-table-1.xsd +169 -0
  19. data/lib/markup_validity/xhtml-basic10-model-1.xsd +385 -0
  20. data/lib/markup_validity/xhtml-basic10-module-redefines-1.xsd +61 -0
  21. data/lib/markup_validity/xhtml-basic10-modules-1.xsd +233 -0
  22. data/lib/markup_validity/xhtml-basic10.xsd +99 -0
  23. data/lib/markup_validity/xhtml-basic11-model-1.xsd +622 -0
  24. data/lib/markup_validity/xhtml-basic11-modules-1.xsd +508 -0
  25. data/lib/markup_validity/xhtml-basic11.xsd +105 -0
  26. data/lib/markup_validity/xhtml-bdo-1.xsd +72 -0
  27. data/lib/markup_validity/xhtml-blkphras-1.xsd +155 -0
  28. data/lib/markup_validity/xhtml-blkpres-1.xsd +32 -0
  29. data/lib/markup_validity/xhtml-blkstruct-1.xsd +44 -0
  30. data/lib/markup_validity/xhtml-charent-1.xsd +38 -0
  31. data/lib/markup_validity/xhtml-copyright-1.xsd +29 -0
  32. data/lib/markup_validity/xhtml-csismap-1.xsd +91 -0
  33. data/lib/markup_validity/xhtml-datatypes-1.xsd +177 -0
  34. data/lib/markup_validity/xhtml-edit-1.xsd +34 -0
  35. data/lib/markup_validity/xhtml-events-1.xsd +130 -0
  36. data/lib/markup_validity/xhtml-form-1.xsd +321 -0
  37. data/lib/markup_validity/xhtml-frames-1.xsd +113 -0
  38. data/lib/markup_validity/xhtml-framework-1.xsd +62 -0
  39. data/lib/markup_validity/xhtml-hypertext-1.xsd +47 -0
  40. data/lib/markup_validity/xhtml-iframe-1.xsd +68 -0
  41. data/lib/markup_validity/xhtml-image-1.xsd +40 -0
  42. data/lib/markup_validity/xhtml-inlphras-1.xsd +158 -0
  43. data/lib/markup_validity/xhtml-inlpres-1.xsd +34 -0
  44. data/lib/markup_validity/xhtml-inlstruct-1.xsd +45 -0
  45. data/lib/markup_validity/xhtml-inlstyle-1.xsd +22 -0
  46. data/lib/markup_validity/xhtml-inputmode-1.xsd +35 -0
  47. data/lib/markup_validity/xhtml-lat1.ent +196 -0
  48. data/lib/markup_validity/xhtml-legacy-1.xsd +97 -0
  49. data/lib/markup_validity/xhtml-link-1.xsd +45 -0
  50. data/lib/markup_validity/xhtml-list-1.xsd +94 -0
  51. data/lib/markup_validity/xhtml-meta-1.xsd +54 -0
  52. data/lib/markup_validity/xhtml-metaAttributes-1.xsd +39 -0
  53. data/lib/markup_validity/xhtml-misc-1.xsd +441 -0
  54. data/lib/markup_validity/xhtml-nameident-1.xsd +63 -0
  55. data/lib/markup_validity/xhtml-notations-1.xsd +69 -0
  56. data/lib/markup_validity/xhtml-object-1.xsd +71 -0
  57. data/lib/markup_validity/xhtml-param-1.xsd +46 -0
  58. data/lib/markup_validity/xhtml-pres-1.xsd +46 -0
  59. data/lib/markup_validity/xhtml-print-1.xsd +85 -0
  60. data/lib/markup_validity/xhtml-print-model-1.xsd +604 -0
  61. data/lib/markup_validity/xhtml-print-modules-1.xsd +422 -0
  62. data/lib/markup_validity/xhtml-rdfa-1.dtd +438 -0
  63. data/lib/markup_validity/xhtml-rdfa-1.xsd +116 -0
  64. data/lib/markup_validity/xhtml-rdfa-model-1.xsd +461 -0
  65. data/lib/markup_validity/xhtml-rdfa-modules-1.xsd +548 -0
  66. data/lib/markup_validity/xhtml-ruby-1.xsd +170 -0
  67. data/lib/markup_validity/xhtml-ruby-basic-1.xsd +84 -0
  68. data/lib/markup_validity/xhtml-script-1.xsd +65 -0
  69. data/lib/markup_validity/xhtml-special.ent +80 -0
  70. data/lib/markup_validity/xhtml-ssismap-1.xsd +38 -0
  71. data/lib/markup_validity/xhtml-struct-1.xsd +85 -0
  72. data/lib/markup_validity/xhtml-style-1.xsd +47 -0
  73. data/lib/markup_validity/xhtml-symbol.ent +237 -0
  74. data/lib/markup_validity/xhtml-table-1.xsd +267 -0
  75. data/lib/markup_validity/xhtml-target-1.xsd +49 -0
  76. data/lib/markup_validity/xhtml-text-1.xsd +62 -0
  77. data/lib/markup_validity/xhtml1-strict.dtd +978 -0
  78. data/lib/markup_validity/xhtml1-transitional.dtd +1201 -0
  79. data/lib/markup_validity/xhtml11-model-1.xsd +715 -0
  80. data/lib/markup_validity/xhtml11-module-redefines-1.xsd +335 -0
  81. data/lib/markup_validity/xhtml11-modules-1.xsd +605 -0
  82. data/lib/markup_validity/xhtml11.xsd +107 -0
  83. data/lib/markup_validity/xhtml2.xsd +21 -0
  84. data/lib/markup_validity/xml-events-1.xsd +73 -0
  85. data/lib/markup_validity/xml-events-2.xsd +73 -0
  86. data/lib/markup_validity/xml-events-attribs-1.xsd +73 -0
  87. data/lib/markup_validity/xml-events-attribs-2.xsd +75 -0
  88. data/lib/markup_validity/xml-events-copyright-1.xsd +34 -0
  89. data/lib/markup_validity/xml-events-copyright-2.xsd +34 -0
  90. data/lib/markup_validity/xml-handlers-1.xsd +136 -0
  91. data/lib/markup_validity/xml-handlers-2.xsd +98 -0
  92. data/lib/markup_validity/xml-script-1.xsd +38 -0
  93. data/spec/matcher_spec.rb +8 -0
  94. data/test/assets/invalid_entity.xhtml +109 -0
  95. data/test/assets/invalid_entity_transitional.xhtml +109 -0
  96. data/test/helper.rb +48 -0
  97. data/test/test_markup_validity.rb +19 -0
  98. metadata +90 -3
@@ -0,0 +1,39 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" elementFormDefault="qualified">
3
+ <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
4
+ <xs:annotation>
5
+ <xs:documentation>
6
+ This is the XML Schema Metainformation Attributes module for XHTML
7
+
8
+ $Id: xhtml-metaAttributes-1.xsd,v 1.6 2008/07/05 04:15:30 smccarro Exp $
9
+ </xs:documentation>
10
+ <xs:documentation source="xhtml-rdfa-copyright-1.xsd"/>
11
+ </xs:annotation>
12
+
13
+ <xs:annotation>
14
+ <xs:documentation>
15
+ XHTML Metainformation Attributes
16
+ </xs:documentation>
17
+ </xs:annotation>
18
+
19
+ <xs:attribute name="about" type="xh11d:URIorSafeCURIE"/>
20
+ <xs:attribute name="content" type="xh11d:CDATA"/>
21
+ <xs:attribute name="datatype" type="xh11d:CURIE"/>
22
+ <xs:attribute name="typeof" type="xh11d:CURIEs"/>
23
+ <xs:attribute name="property" type="xh11d:CURIEs"/>
24
+ <xs:attribute name="rel" type="xh11d:CURIEs"/>
25
+ <xs:attribute name="resource" type="xh11d:URIorSafeCURIE"/>
26
+ <xs:attribute name="rev" type="xh11d:CURIEs"/>
27
+
28
+ <xs:attributeGroup name="xhtml.metaAttributes.attrib">
29
+ <xs:attribute name="about"/>
30
+ <xs:attribute name="content"/>
31
+ <xs:attribute name="datatype"/>
32
+ <xs:attribute name="typeof"/>
33
+ <xs:attribute name="property"/>
34
+ <xs:attribute name="rel"/>
35
+ <xs:attribute name="resource"/>
36
+ <xs:attribute name="rev"/>
37
+ </xs:attributeGroup>
38
+
39
+ </xs:schema>
@@ -0,0 +1,441 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ elementFormDefault="qualified"
5
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
6
+ >
7
+ <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/"
8
+ schemaLocation="xhtml-datatypes-1.xsd" />
9
+ <xs:annotation>
10
+ <xs:documentation>
11
+ This is the XML Schema Miscellaneous Legacy
12
+ Markup module for XHTML
13
+ $Id: xhtml-misc-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
14
+ </xs:documentation>
15
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
16
+ </xs:annotation>
17
+
18
+ <xs:annotation>
19
+ <xs:documentation>
20
+ XHTML Miscellaneous Legacy Markup
21
+ font, basefont, center, s, strike, u,
22
+ dir, menu, isindex
23
+
24
+ This is to allow XHTML documents to be transformed for
25
+ display on HTML browsers where CSS support is inconsistent
26
+ or unavailable.
27
+
28
+ The module also declares legacy attributes for elements
29
+ in other module. Note: This module only declares the
30
+ attribute list, and it is up to the document type to
31
+ redefine the model of affected modules.
32
+ </xs:documentation>
33
+ <xs:documentation
34
+ source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_legacymodule"/>
35
+ </xs:annotation>
36
+
37
+ <xs:attributeGroup name="xhtml.font.attlist">
38
+ <xs:attributeGroup ref="xhtml.Core.attrib"/>
39
+ <xs:attributeGroup ref="xhtml.I18n.attrib"/>
40
+ <xs:attribute name="size" type="xh11d:CDATA"/>
41
+ <xs:attribute name="color" type="xh11d:Color"/>
42
+ <xs:attribute name="face" type="xh11d:CDATA"/>
43
+ </xs:attributeGroup>
44
+
45
+ <xs:group name="xhtml.font.content">
46
+ <xs:sequence>
47
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
48
+ </xs:sequence>
49
+ </xs:group>
50
+
51
+ <xs:complexType name="xhtml.font.type" mixed="true">
52
+ <xs:group ref="xhtml.font.content"/>
53
+ <xs:attributeGroup ref="xhtml.font.attlist"/>
54
+ </xs:complexType>
55
+
56
+ <xs:attributeGroup name="xhtml.basefont.attlist">
57
+ <xs:attributeGroup ref="xhtml.id"/>
58
+ <xs:attribute name="size" type="xh11d:CDATA" use="required"/>
59
+ <xs:attribute name="color" type="xh11d:Color"/>
60
+ <xs:attribute name="face" type="xh11d:CDATA"/>
61
+ </xs:attributeGroup>
62
+
63
+ <xs:group name="xhtml.basefont.content">
64
+ <xs:sequence/>
65
+ </xs:group>
66
+
67
+ <xs:complexType name="xhtml.basefont.type">
68
+ <xs:group ref="xhtml.basefont.content"/>
69
+ <xs:attributeGroup ref="xhtml.basefont.attlist"/>
70
+ </xs:complexType>
71
+
72
+ <xs:attributeGroup name="xhtml.center.attlist">
73
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
74
+ </xs:attributeGroup>
75
+
76
+ <xs:group name="xhtml.center.content">
77
+ <xs:sequence>
78
+ <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
79
+ </xs:sequence>
80
+ </xs:group>
81
+
82
+ <xs:complexType name="xhtml.center.type" mixed="true">
83
+ <xs:group ref="xhtml.center.content"/>
84
+ <xs:attributeGroup ref="xhtml.center.attlist"/>
85
+ </xs:complexType>
86
+
87
+ <xs:attributeGroup name="xhtml.s.attlist">
88
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
89
+ </xs:attributeGroup>
90
+
91
+ <xs:group name="xhtml.s.content">
92
+ <xs:sequence>
93
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
94
+ </xs:sequence>
95
+ </xs:group>
96
+
97
+ <xs:complexType name="xhtml.s.type" mixed="true">
98
+ <xs:group ref="xhtml.s.content"/>
99
+ <xs:attributeGroup ref="xhtml.s.attlist"/>
100
+ </xs:complexType>
101
+
102
+ <xs:attributeGroup name="xhtml.strike.attlist">
103
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
104
+ </xs:attributeGroup>
105
+
106
+ <xs:group name="xhtml.strike.content">
107
+ <xs:sequence>
108
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
109
+ </xs:sequence>
110
+ </xs:group>
111
+
112
+ <xs:complexType name="xhtml.strike.type" mixed="true">
113
+ <xs:group ref="xhtml.strike.content"/>
114
+ <xs:attributeGroup ref="xhtml.strike.attlist"/>
115
+ </xs:complexType>
116
+
117
+ <xs:attributeGroup name="xhtml.u.attlist">
118
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
119
+ </xs:attributeGroup>
120
+
121
+ <xs:group name="xhtml.u.content">
122
+ <xs:sequence>
123
+ <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
124
+ </xs:sequence>
125
+ </xs:group>
126
+
127
+ <xs:complexType name="xhtml.u.type" mixed="true">
128
+ <xs:group ref="xhtml.u.content"/>
129
+ <xs:attributeGroup ref="xhtml.u.attlist"/>
130
+ </xs:complexType>
131
+
132
+ <xs:attributeGroup name="xhtml.dir.attlist">
133
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
134
+ <xs:attribute name="compact">
135
+ <xs:simpleType>
136
+ <xs:restriction base="xs:NMTOKEN">
137
+ <xs:enumeration value="compact"/>
138
+ </xs:restriction>
139
+ </xs:simpleType>
140
+ </xs:attribute>
141
+ </xs:attributeGroup>
142
+
143
+ <xs:group name="xhtml.dir.content">
144
+ <xs:sequence>
145
+ <xs:element ref="li" maxOccurs="unbounded"/>
146
+ </xs:sequence>
147
+ </xs:group>
148
+
149
+ <xs:complexType name="xhtml.dir.type" mixed="true">
150
+ <xs:group ref="xhtml.dir.content"/>
151
+ <xs:attributeGroup ref="xhtml.dir.attlist"/>
152
+ </xs:complexType>
153
+
154
+ <xs:attributeGroup name="xhtml.menu.attlist">
155
+ <xs:attributeGroup ref="xhtml.Common.attrib"/>
156
+ <xs:attribute name="compact">
157
+ <xs:simpleType>
158
+ <xs:restriction base="xs:NMTOKEN">
159
+ <xs:enumeration value="compact"/>
160
+ </xs:restriction>
161
+ </xs:simpleType>
162
+ </xs:attribute>
163
+ </xs:attributeGroup>
164
+
165
+ <xs:group name="xhtml.menu.content">
166
+ <xs:sequence>
167
+ <xs:element ref="li" maxOccurs="unbounded"/>
168
+ </xs:sequence>
169
+ </xs:group>
170
+
171
+ <xs:complexType name="xhtml.menu.type" mixed="true">
172
+ <xs:group ref="xhtml.menu.content"/>
173
+ <xs:attributeGroup ref="xhtml.menu.attlist"/>
174
+ </xs:complexType>
175
+
176
+ <xs:attributeGroup name="xhtml.isindex.attlist">
177
+ <xs:attributeGroup ref="xhtml.Core.attrib"/>
178
+ <xs:attributeGroup ref="xhtml.I18n.attrib"/>
179
+ <xs:attribute name="prompt" type="xh11d:Text"/>
180
+ </xs:attributeGroup>
181
+
182
+ <xs:group name="xhtml.isindex.content">
183
+ <xs:sequence/>
184
+ </xs:group>
185
+
186
+ <xs:complexType name="xhtml.isindex.type">
187
+ <xs:group ref="xhtml.isindex.content"/>
188
+ <xs:attributeGroup ref="xhtml.isindex.attlist"/>
189
+ </xs:complexType>
190
+
191
+ <xs:annotation>
192
+ <xs:documentation>
193
+ Attribute redefinitions
194
+ </xs:documentation>
195
+ </xs:annotation>
196
+
197
+ <xs:attributeGroup name="xhtml.align.legacy.attlist">
198
+ <xs:attribute name="align">
199
+ <xs:simpleType>
200
+ <xs:restriction base="xs:NMTOKEN">
201
+ <xs:enumeration value="left"/>
202
+ <xs:enumeration value="center"/>
203
+ <xs:enumeration value="right"/>
204
+ <xs:enumeration value="justify"/>
205
+ </xs:restriction>
206
+ </xs:simpleType>
207
+ </xs:attribute>
208
+ </xs:attributeGroup>
209
+
210
+ <!-- add 'target' attribute to 'a' element -->
211
+ <xs:attributeGroup name="xhtml.a.legacy.attlist">
212
+ <xs:attribute name="target" type="xh11d:FrameTarget"/>
213
+ </xs:attributeGroup>
214
+
215
+ <xs:attributeGroup name="xhtml.applet.legacy.attlist">
216
+ <xs:attribute name="align">
217
+ <xs:simpleType>
218
+ <xs:restriction base="xs:NMTOKEN">
219
+ <xs:enumeration value="top"/>
220
+ <xs:enumeration value="middle"/>
221
+ <xs:enumeration value="bottom"/>
222
+ <xs:enumeration value="left"/>
223
+ <xs:enumeration value="right"/>
224
+ </xs:restriction>
225
+ </xs:simpleType>
226
+ </xs:attribute>
227
+ <xs:attribute name="hspace" type="xh11d:Pixels"/>
228
+ <xs:attribute name="vspace" type="xh11d:Pixels"/>
229
+ </xs:attributeGroup>
230
+
231
+ <xs:attributeGroup name="xhtml.body.legacy.attlist">
232
+ <xs:attribute name="background" type="xh11d:URI"/>
233
+ <xs:attribute name="bgcolor" type="xh11d:Color"/>
234
+ <xs:attribute name="text" type="xh11d:Color"/>
235
+ <xs:attribute name="link" type="xh11d:Color"/>
236
+ <xs:attribute name="vlinke" type="xh11d:Color"/>
237
+ <xs:attribute name="alink" type="xh11d:Color"/>
238
+ </xs:attributeGroup>
239
+
240
+ <xs:attributeGroup name="xhtml.br.legacy.attlist">
241
+ <xs:attribute name="clear" default="none">
242
+ <xs:simpleType>
243
+ <xs:restriction base="xs:NMTOKEN">
244
+ <xs:enumeration value="left"/>
245
+ <xs:enumeration value="all"/>
246
+ <xs:enumeration value="right"/>
247
+ <xs:enumeration value="none"/>
248
+ </xs:restriction>
249
+ </xs:simpleType>
250
+ </xs:attribute>
251
+ </xs:attributeGroup>
252
+
253
+ <xs:attributeGroup name="xhtml.caption.legacy.attlist">
254
+ <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
255
+ </xs:attributeGroup>
256
+
257
+ <xs:attributeGroup name="xhtml.hr.legacy.attlist">
258
+ <xs:attribute name="align">
259
+ <xs:simpleType>
260
+ <xs:restriction base="xs:NMTOKEN">
261
+ <xs:enumeration value="left"/>
262
+ <xs:enumeration value="center"/>
263
+ <xs:enumeration value="right"/>
264
+ </xs:restriction>
265
+ </xs:simpleType>
266
+ </xs:attribute>
267
+ <xs:attribute name="noshade">
268
+ <xs:simpleType>
269
+ <xs:restriction base="xs:NMTOKEN">
270
+ <xs:enumeration value="noshade"/>
271
+ </xs:restriction>
272
+ </xs:simpleType>
273
+ </xs:attribute>
274
+ <xs:attribute name="size" type="xh11d:Pixels"/>
275
+ <xs:attribute name="width" type="xh11d:Length"/>
276
+ </xs:attributeGroup>
277
+
278
+ <xs:attributeGroup name="xhtml.img.legacy.attlist">
279
+ <xs:attribute name="align">
280
+ <xs:simpleType>
281
+ <xs:restriction base="xs:NMTOKEN">
282
+ <xs:enumeration value="top"/>
283
+ <xs:enumeration value="middle"/>
284
+ <xs:enumeration value="bottom"/>
285
+ <xs:enumeration value="left"/>
286
+ <xs:enumeration value="right"/>
287
+ </xs:restriction>
288
+ </xs:simpleType>
289
+ </xs:attribute>
290
+ <xs:attribute name="border" type="xh11d:Pixels"/>
291
+ <xs:attribute name="hspace" type="xh11d:Pixels"/>
292
+ <xs:attribute name="vspace" type="xh11d:Pixels"/>
293
+ </xs:attributeGroup>
294
+
295
+ <xs:attributeGroup name="xhtml.input.legacy.attlist">
296
+ <xs:attribute name="align">
297
+ <xs:simpleType>
298
+ <xs:restriction base="xs:NMTOKEN">
299
+ <xs:enumeration value="top"/>
300
+ <xs:enumeration value="middle"/>
301
+ <xs:enumeration value="bottom"/>
302
+ <xs:enumeration value="left"/>
303
+ <xs:enumeration value="right"/>
304
+ </xs:restriction>
305
+ </xs:simpleType>
306
+ </xs:attribute>
307
+ </xs:attributeGroup>
308
+
309
+ <xs:attributeGroup name="xhtml.legend.legacy.attlist">
310
+ <xs:attribute name="align">
311
+ <xs:simpleType>
312
+ <xs:restriction base="xs:NMTOKEN">
313
+ <xs:enumeration value="top"/>
314
+ <xs:enumeration value="bottom"/>
315
+ <xs:enumeration value="left"/>
316
+ <xs:enumeration value="right"/>
317
+ </xs:restriction>
318
+ </xs:simpleType>
319
+ </xs:attribute>
320
+ </xs:attributeGroup>
321
+
322
+ <xs:attributeGroup name="xhtml.li.legacy.attlist">
323
+ <xs:attribute name="type" type="xh11d:CDATA"/>
324
+ <xs:attribute name="value" type="xh11d:Number"/>
325
+ </xs:attributeGroup>
326
+
327
+ <xs:attributeGroup name="xhtml.object.legacy.attlist">
328
+ <xs:attribute name="align">
329
+ <xs:simpleType>
330
+ <xs:restriction base="xs:NMTOKEN">
331
+ <xs:enumeration value="top"/>
332
+ <xs:enumeration value="middle"/>
333
+ <xs:enumeration value="bottom"/>
334
+ <xs:enumeration value="left"/>
335
+ <xs:enumeration value="right"/>
336
+ </xs:restriction>
337
+ </xs:simpleType>
338
+ </xs:attribute>
339
+ <xs:attribute name="border" type="xh11d:Pixels"/>
340
+ <xs:attribute name="hspace" type="xh11d:Pixels"/>
341
+ <xs:attribute name="vspace" type="xh11d:Pixels"/>
342
+ </xs:attributeGroup>
343
+
344
+ <xs:attributeGroup name="xhtml.ol.legacy.attlist">
345
+ <xs:attribute name="type" type="xh11d:Text"/>
346
+ <xs:attribute name="compact">
347
+ <xs:simpleType>
348
+ <xs:restriction base="xs:NMTOKEN">
349
+ <xs:enumeration value="compact"/>
350
+ </xs:restriction>
351
+ </xs:simpleType>
352
+ </xs:attribute>
353
+ <xs:attribute name="start" type="xh11d:Number"/>
354
+ </xs:attributeGroup>
355
+
356
+ <xs:attributeGroup name="xhtml.dl.legacy.attlist">
357
+ <xs:attribute name="compact">
358
+ <xs:simpleType>
359
+ <xs:restriction base="xs:NMTOKEN">
360
+ <xs:enumeration value="compact"/>
361
+ </xs:restriction>
362
+ </xs:simpleType>
363
+ </xs:attribute>
364
+ </xs:attributeGroup>
365
+
366
+
367
+ <xs:attributeGroup name="xhtml.div.legacy.attlist">
368
+ <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
369
+ </xs:attributeGroup>
370
+
371
+ <xs:attributeGroup name="xhtml.heading.legacy.attlist">
372
+ <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
373
+ </xs:attributeGroup>
374
+
375
+ <xs:attributeGroup name="xhtml.p.legacy.attlist">
376
+ <xs:attributeGroup ref="xhtml.align.legacy.attlist"/>
377
+ </xs:attributeGroup>
378
+
379
+ <xs:attributeGroup name="xhtml.pre.legacy.attlist">
380
+ <xs:attribute name="width" type="xh11d:Length"/>
381
+ </xs:attributeGroup>
382
+
383
+ <xs:attributeGroup name="xhtml.script.legacy.attlist">
384
+ <xs:attribute name="language" type="xh11d:ContentType"/>
385
+ </xs:attributeGroup>
386
+
387
+ <xs:attributeGroup name="xhtml.table.legacy.attlist">
388
+ <xs:attribute name="align">
389
+ <xs:simpleType>
390
+ <xs:restriction base="xs:NMTOKEN">
391
+ <xs:enumeration value="left"/>
392
+ <xs:enumeration value="center"/>
393
+ <xs:enumeration value="right"/>
394
+ </xs:restriction>
395
+ </xs:simpleType>
396
+ </xs:attribute>
397
+ <xs:attribute name="bgcolor" type="xh11d:Color"/>
398
+ </xs:attributeGroup>
399
+
400
+ <xs:attributeGroup name="xhtml.tr.legacy.attlist">
401
+ <xs:attribute name="bgcolor" type="xh11d:Color"/>
402
+ </xs:attributeGroup>
403
+
404
+ <xs:attributeGroup name="xhtml.th.legacy.attlist">
405
+ <xs:attribute name="nowrap">
406
+ <xs:simpleType>
407
+ <xs:restriction base="xs:NMTOKEN">
408
+ <xs:enumeration value="nowrap"/>
409
+ </xs:restriction>
410
+ </xs:simpleType>
411
+ </xs:attribute>
412
+ <xs:attribute name="bgcolor" type="xh11d:Color"/>
413
+ <xs:attribute name="width" type="xh11d:Length"/>
414
+ <xs:attribute name="height" type="xh11d:Length"/>
415
+ </xs:attributeGroup>
416
+
417
+ <xs:attributeGroup name="xhtml.td.legacy.attlist">
418
+ <xs:attribute name="nowrap">
419
+ <xs:simpleType>
420
+ <xs:restriction base="xs:NMTOKEN">
421
+ <xs:enumeration value="nowrap"/>
422
+ </xs:restriction>
423
+ </xs:simpleType>
424
+ </xs:attribute>
425
+ <xs:attribute name="bgcolor" type="xh11d:Color"/>
426
+ <xs:attribute name="width" type="xh11d:Length"/>
427
+ <xs:attribute name="height" type="xh11d:Length"/>
428
+ </xs:attributeGroup>
429
+
430
+ <xs:attributeGroup name="xhtml.ul.legacy.attlist">
431
+ <xs:attribute name="type" type="xh11d:CDATA"/>
432
+ <xs:attribute name="compact">
433
+ <xs:simpleType>
434
+ <xs:restriction base="xs:NMTOKEN">
435
+ <xs:enumeration value="compact"/>
436
+ </xs:restriction>
437
+ </xs:simpleType>
438
+ </xs:attribute>
439
+ </xs:attributeGroup>
440
+
441
+ </xs:schema>