validate-website 0.1 → 0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +15 -4
- data/Rakefile +6 -4
- data/bin/validate-website +33 -36
- data/lib/colorful_messages.rb +7 -10
- data/lib/validator.rb +37 -0
- data/lib/xhtml/xframes-1.xsd +166 -0
- data/lib/xhtml/xhtml-access-1.xsd +43 -0
- data/lib/xhtml/xhtml-applet-1.xsd +66 -0
- data/lib/xhtml/xhtml-attribs-1.xsd +67 -0
- data/lib/xhtml/xhtml-base-1.xsd +31 -0
- data/lib/xhtml/xhtml-basic-form-1.xsd +195 -0
- data/lib/xhtml/xhtml-basic-table-1.xsd +169 -0
- data/lib/xhtml/xhtml-basic10-model-1.xsd +385 -0
- data/lib/xhtml/xhtml-basic10-module-redefines-1.xsd +61 -0
- data/lib/xhtml/xhtml-basic10-modules-1.xsd +233 -0
- data/lib/xhtml/xhtml-basic10.xsd +99 -0
- data/lib/xhtml/xhtml-basic11-model-1.xsd +622 -0
- data/lib/xhtml/xhtml-basic11-modules-1.xsd +508 -0
- data/lib/xhtml/xhtml-basic11.xsd +105 -0
- data/lib/xhtml/xhtml-bdo-1.xsd +72 -0
- data/lib/xhtml/xhtml-blkphras-1.xsd +155 -0
- data/lib/xhtml/xhtml-blkpres-1.xsd +32 -0
- data/lib/xhtml/xhtml-blkstruct-1.xsd +44 -0
- data/lib/xhtml/xhtml-charent-1.xsd +38 -0
- data/lib/xhtml/xhtml-copyright-1.xsd +29 -0
- data/lib/xhtml/xhtml-csismap-1.xsd +91 -0
- data/lib/xhtml/xhtml-datatypes-1.xsd +177 -0
- data/lib/xhtml/xhtml-edit-1.xsd +34 -0
- data/lib/xhtml/xhtml-events-1.xsd +130 -0
- data/lib/xhtml/xhtml-form-1.xsd +321 -0
- data/lib/xhtml/xhtml-frames-1.xsd +113 -0
- data/lib/xhtml/xhtml-framework-1.xsd +62 -0
- data/lib/xhtml/xhtml-hypertext-1.xsd +47 -0
- data/lib/xhtml/xhtml-iframe-1.xsd +68 -0
- data/lib/xhtml/xhtml-image-1.xsd +40 -0
- data/lib/xhtml/xhtml-inlphras-1.xsd +158 -0
- data/lib/xhtml/xhtml-inlpres-1.xsd +34 -0
- data/lib/xhtml/xhtml-inlstruct-1.xsd +45 -0
- data/lib/xhtml/xhtml-inlstyle-1.xsd +22 -0
- data/lib/xhtml/xhtml-inputmode-1.xsd +35 -0
- data/lib/xhtml/xhtml-lat1.ent +196 -0
- data/lib/xhtml/xhtml-legacy-1.xsd +97 -0
- data/lib/xhtml/xhtml-link-1.xsd +45 -0
- data/lib/xhtml/xhtml-list-1.xsd +94 -0
- data/lib/xhtml/xhtml-meta-1.xsd +54 -0
- data/lib/xhtml/xhtml-metaAttributes-1.xsd +39 -0
- data/lib/xhtml/xhtml-misc-1.xsd +441 -0
- data/lib/xhtml/xhtml-nameident-1.xsd +63 -0
- data/lib/xhtml/xhtml-notations-1.xsd +69 -0
- data/lib/xhtml/xhtml-object-1.xsd +71 -0
- data/lib/xhtml/xhtml-param-1.xsd +46 -0
- data/lib/xhtml/xhtml-pres-1.xsd +46 -0
- data/lib/xhtml/xhtml-print-1.xsd +85 -0
- data/lib/xhtml/xhtml-print-model-1.xsd +604 -0
- data/lib/xhtml/xhtml-print-modules-1.xsd +422 -0
- data/lib/xhtml/xhtml-rdfa-1.dtd +438 -0
- data/lib/xhtml/xhtml-rdfa-1.xsd +116 -0
- data/lib/xhtml/xhtml-rdfa-model-1.xsd +461 -0
- data/lib/xhtml/xhtml-rdfa-modules-1.xsd +548 -0
- data/lib/xhtml/xhtml-ruby-1.xsd +170 -0
- data/lib/xhtml/xhtml-ruby-basic-1.xsd +84 -0
- data/lib/xhtml/xhtml-script-1.xsd +65 -0
- data/lib/xhtml/xhtml-special.ent +80 -0
- data/lib/xhtml/xhtml-ssismap-1.xsd +38 -0
- data/lib/xhtml/xhtml-struct-1.xsd +85 -0
- data/lib/xhtml/xhtml-style-1.xsd +47 -0
- data/lib/xhtml/xhtml-symbol.ent +237 -0
- data/lib/xhtml/xhtml-table-1.xsd +267 -0
- data/lib/xhtml/xhtml-target-1.xsd +49 -0
- data/lib/xhtml/xhtml-text-1.xsd +62 -0
- data/lib/xhtml/xhtml1-frameset.dtd +1235 -0
- data/lib/xhtml/xhtml1-frameset.xsd +2847 -0
- data/lib/xhtml/xhtml1-strict.dtd +978 -0
- data/lib/xhtml/xhtml1-strict.xsd +2211 -0
- data/lib/xhtml/xhtml1-transitional.dtd +1201 -0
- data/lib/xhtml/xhtml1-transitional.xsd +2755 -0
- data/lib/xhtml/xhtml11-model-1.xsd +715 -0
- data/lib/xhtml/xhtml11-module-redefines-1.xsd +335 -0
- data/lib/xhtml/xhtml11-modules-1.xsd +605 -0
- data/lib/xhtml/xhtml11.xsd +107 -0
- data/lib/xhtml/xhtml2.xsd +21 -0
- data/lib/xhtml/xml-events-1.xsd +73 -0
- data/lib/xhtml/xml-events-2.xsd +73 -0
- data/lib/xhtml/xml-events-attribs-1.xsd +73 -0
- data/lib/xhtml/xml-events-attribs-2.xsd +75 -0
- data/lib/xhtml/xml-events-copyright-1.xsd +34 -0
- data/lib/xhtml/xml-events-copyright-2.xsd +34 -0
- data/lib/xhtml/xml-handlers-1.xsd +136 -0
- data/lib/xhtml/xml-handlers-2.xsd +98 -0
- data/lib/xhtml/xml-script-1.xsd +38 -0
- data/lib/xhtml/xml.xsd +286 -0
- metadata +114 -8
- data/lib/spkspider.rb +0 -147
|
@@ -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>
|
|
@@ -0,0 +1,63 @@
|
|
|
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 Name Identifier module for XHTML
|
|
12
|
+
$Id: xhtml-nameident-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
|
|
13
|
+
</xs:documentation>
|
|
14
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
15
|
+
</xs:annotation>
|
|
16
|
+
|
|
17
|
+
<xs:annotation>
|
|
18
|
+
<xs:documentation>
|
|
19
|
+
Name Identifier
|
|
20
|
+
|
|
21
|
+
* 'name' attribute on form, img, a, map, applet, frame, iframe
|
|
22
|
+
|
|
23
|
+
This module declares the 'name' attribute on element types when
|
|
24
|
+
it is used as a node identifier for legacy linking and scripting
|
|
25
|
+
support. This does not include those instances when 'name' is used
|
|
26
|
+
as a container for form control, property or metainformation names.
|
|
27
|
+
|
|
28
|
+
This module should be instantiated following all modules it modifies.
|
|
29
|
+
</xs:documentation>
|
|
30
|
+
<xs:documentation
|
|
31
|
+
source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_nameidentmodule"/>
|
|
32
|
+
</xs:annotation>
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<xs:attributeGroup name="xhtml.form.name.attlist">
|
|
36
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
37
|
+
</xs:attributeGroup>
|
|
38
|
+
|
|
39
|
+
<xs:attributeGroup name="xhtml.img.name.attlist">
|
|
40
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
41
|
+
</xs:attributeGroup>
|
|
42
|
+
|
|
43
|
+
<xs:attributeGroup name="xhtml.a.name.attlist">
|
|
44
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
45
|
+
</xs:attributeGroup>
|
|
46
|
+
|
|
47
|
+
<xs:attributeGroup name="xhtml.map.name.attlist">
|
|
48
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
49
|
+
</xs:attributeGroup>
|
|
50
|
+
|
|
51
|
+
<xs:attributeGroup name="xhtml.applet.name.attlist">
|
|
52
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
53
|
+
</xs:attributeGroup>
|
|
54
|
+
|
|
55
|
+
<xs:attributeGroup name="xhtml.frame.name.attlist">
|
|
56
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
57
|
+
</xs:attributeGroup>
|
|
58
|
+
|
|
59
|
+
<xs:attributeGroup name="xhtml.iframe.name.attlist">
|
|
60
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
61
|
+
</xs:attributeGroup>
|
|
62
|
+
|
|
63
|
+
</xs:schema>
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
Notations module
|
|
12
|
+
This is the XML Schema module for data type notations for XHTML
|
|
13
|
+
$Id: xhtml-notations-1.xsd,v 1.5 2005/09/26 22:54:53 ahby Exp $
|
|
14
|
+
</xs:documentation>
|
|
15
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
<xs:annotation>
|
|
18
|
+
<xs:documentation>
|
|
19
|
+
Notations module
|
|
20
|
+
Defines the XHTML notations, many of these imported from
|
|
21
|
+
other specifications and standards. When an existing FPI is
|
|
22
|
+
known, it is incorporated here.
|
|
23
|
+
</xs:documentation>
|
|
24
|
+
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstraction.html#s_common_attrtypes"/>
|
|
25
|
+
</xs:annotation>
|
|
26
|
+
<!-- W3C XML 1.0 Recommendation -->
|
|
27
|
+
<xs:notation name="w3c-xml" public="ISO 8879//NOTATION Extensible Markup Language (XML) 1.0//EN"/>
|
|
28
|
+
<!-- XML 1.0 CDATA -->
|
|
29
|
+
<xs:notation name="cdata" public="-//W3C//NOTATION XML 1.0: CDATA//EN"/>
|
|
30
|
+
<!-- SGML Formal Public Identifiers -->
|
|
31
|
+
<xs:notation name="fpi" public="ISO 8879:1986//NOTATION Formal Public Identifier//EN"/>
|
|
32
|
+
<!-- XHTML Notations ... -->
|
|
33
|
+
<!-- Length defined for cellpadding/cellspacing -->
|
|
34
|
+
<!-- nn for pixels or nn% for percentage length -->
|
|
35
|
+
<!-- a single character, as per section 2.2 of [XML] -->
|
|
36
|
+
<xs:notation name="character" public="-//W3C//NOTATION XHTML Datatype: Character//EN"/>
|
|
37
|
+
<!-- a character encoding, as per [RFC2045] -->
|
|
38
|
+
<xs:notation name="charset" public="-//W3C//NOTATION XHTML Datatype: Charset//EN"/>
|
|
39
|
+
<!-- a space separated list of character encodings, as per [RFC2045] -->
|
|
40
|
+
<xs:notation name="charsets" public="-//W3C//NOTATION XHTML Datatype: Charsets//EN"/>
|
|
41
|
+
<!-- media type, as per [RFC2045] -->
|
|
42
|
+
<xs:notation name="contentType" public="-//W3C//NOTATION XHTML Datatype: ContentType//EN"/>
|
|
43
|
+
<!-- comma-separated list of media types, as per [RFC2045] -->
|
|
44
|
+
<xs:notation name="contentTypes" public="-//W3C//NOTATION XHTML Datatype: ContentTypes//EN"/>
|
|
45
|
+
<!-- date and time information. ISO date format -->
|
|
46
|
+
<xs:notation name="datetime" public="-//W3C//NOTATION XHTML Datatype: Datetime//EN"/>
|
|
47
|
+
<!-- a language code, as per [RFC3066] -->
|
|
48
|
+
<xs:notation name="languageCode" public="-//W3C//NOTATION XHTML Datatype: LanguageCode//EN"/>
|
|
49
|
+
<!-- nn for pixels or nn% for percentage length -->
|
|
50
|
+
<xs:notation name="length" public="-//W3C//NOTATION XHTML Datatype: Length//EN"/>
|
|
51
|
+
<!-- space-separated list of link types -->
|
|
52
|
+
<xs:notation name="linkTypes" public="-//W3C//NOTATION XHTML Datatype: LinkTypes//EN"/>
|
|
53
|
+
<!-- single or comma-separated list of media descriptors -->
|
|
54
|
+
<xs:notation name="mediaDesc" public="-//W3C//NOTATION XHTML Datatype: MediaDesc//EN"/>
|
|
55
|
+
<!-- pixel, percentage, or relative -->
|
|
56
|
+
<xs:notation name="multiLength" public="-//W3C//NOTATION XHTML Datatype: MultiLength//EN"/>
|
|
57
|
+
<!-- one or more digits (NUMBER) -->
|
|
58
|
+
<xs:notation name="number" public="-//W3C//NOTATION XHTML Datatype: Number//EN"/>
|
|
59
|
+
<!-- one or more digits (NUMBER) -->
|
|
60
|
+
<xs:notation name="pixels" public="-//W3C//NOTATION XHTML Datatype: Pixels//EN"/>
|
|
61
|
+
<!-- script expression -->
|
|
62
|
+
<xs:notation name="script" public="-//W3C//NOTATION XHTML Datatype: Script//EN"/>
|
|
63
|
+
<!-- textual content -->
|
|
64
|
+
<xs:notation name="text" public="-//W3C//NOTATION XHTML Datatype: Text//EN"/>
|
|
65
|
+
<!-- a Uniform Resource Identifier, see [URI] -->
|
|
66
|
+
<xs:notation name="uri" public="-//W3C//NOTATION XHTML Datatype: URI//EN"/>
|
|
67
|
+
<!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
|
|
68
|
+
<xs:notation name="uris" public="-//W3C//NOTATION XHTML Datatype: URIs//EN"/>
|
|
69
|
+
</xs:schema>
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>
|
|
7
|
+
This is the XML Schema Embedded Object module for XHTML
|
|
8
|
+
$Id: xhtml-object-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $
|
|
9
|
+
</xs:documentation>
|
|
10
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
|
11
|
+
</xs:annotation>
|
|
12
|
+
<xs:annotation>
|
|
13
|
+
<xs:documentation>
|
|
14
|
+
This module declares the object element type and its attributes,
|
|
15
|
+
used to embed external objects as part of XHTML pages. In the
|
|
16
|
+
document, place param elements prior to the object elements
|
|
17
|
+
that require their content.
|
|
18
|
+
|
|
19
|
+
Note that use of this module requires instantiation of the
|
|
20
|
+
Param Element Module prior to this module.
|
|
21
|
+
|
|
22
|
+
Elements defined here:
|
|
23
|
+
|
|
24
|
+
* object (param)
|
|
25
|
+
</xs:documentation>
|
|
26
|
+
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_objectmodule"/>
|
|
27
|
+
</xs:annotation>
|
|
28
|
+
<xs:include schemaLocation="xhtml-param-1.xsd">
|
|
29
|
+
<xs:annotation>
|
|
30
|
+
<xs:documentation>
|
|
31
|
+
Param module
|
|
32
|
+
|
|
33
|
+
Elements defined here:
|
|
34
|
+
* param
|
|
35
|
+
</xs:documentation>
|
|
36
|
+
</xs:annotation>
|
|
37
|
+
</xs:include>
|
|
38
|
+
<xs:attributeGroup name="xhtml.object.attlist">
|
|
39
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
|
40
|
+
<xs:attribute name="declare">
|
|
41
|
+
<xs:simpleType>
|
|
42
|
+
<xs:restriction base="xs:NMTOKEN">
|
|
43
|
+
<xs:enumeration value="declare"/>
|
|
44
|
+
</xs:restriction>
|
|
45
|
+
</xs:simpleType>
|
|
46
|
+
</xs:attribute>
|
|
47
|
+
<xs:attribute name="classid" type="xh11d:URI"/>
|
|
48
|
+
<xs:attribute name="codebase" type="xh11d:URI"/>
|
|
49
|
+
<xs:attribute name="data" type="xh11d:URI"/>
|
|
50
|
+
<xs:attribute name="type" type="xh11d:ContentType"/>
|
|
51
|
+
<xs:attribute name="codetype" type="xh11d:ContentType"/>
|
|
52
|
+
<xs:attribute name="archive" type="xh11d:URIs"/>
|
|
53
|
+
<xs:attribute name="standby" type="xh11d:Text"/>
|
|
54
|
+
<xs:attribute name="height" type="xh11d:Length"/>
|
|
55
|
+
<xs:attribute name="width" type="xh11d:Length"/>
|
|
56
|
+
<xs:attribute name="name" type="xh11d:CDATA"/>
|
|
57
|
+
<xs:attribute name="tabindex" type="xh11d:Number"/>
|
|
58
|
+
</xs:attributeGroup>
|
|
59
|
+
<xs:group name="xhtml.object.content">
|
|
60
|
+
<xs:sequence>
|
|
61
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
62
|
+
<xs:element name="param" type="xhtml.param.type"/>
|
|
63
|
+
<xs:group ref="xhtml.Flow.mix"/>
|
|
64
|
+
</xs:choice>
|
|
65
|
+
</xs:sequence>
|
|
66
|
+
</xs:group>
|
|
67
|
+
<xs:complexType name="xhtml.object.type" mixed="true">
|
|
68
|
+
<xs:group ref="xhtml.object.content"/>
|
|
69
|
+
<xs:attributeGroup ref="xhtml.object.attlist"/>
|
|
70
|
+
</xs:complexType>
|
|
71
|
+
</xs:schema>
|