validate-website 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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,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
|
+
<!-- ....................................................................... -->
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/xhtml" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" xmlns="http://www.w3.org/1999/xhtml" elementFormDefault="qualified">
|
3
|
+
<xs:annotation>
|
4
|
+
<xs:documentation> This is the XML Schema driver for XHTML + RDFa Please use this namespace
|
5
|
+
for XHTML elements: "http://www.w3.org/1999/xhtml" $Id: xhtml-rdfa-1.xsd,v 1.2
|
6
|
+
2008/07/02 13:26:46 ahby Exp $ </xs:documentation>
|
7
|
+
<xs:documentation source="xhtml-copyright-1.xsd"/>
|
8
|
+
</xs:annotation>
|
9
|
+
<xs:annotation>
|
10
|
+
<xs:documentation> This is the Schema Driver file for XHTML + RDFa Document Type This schema
|
11
|
+
+ imports external schemas (xml.xsd) + refedines (and include)s schema modules for
|
12
|
+
XHTML1.1 Document Type. + includes Schema for Named content model for the XHTML1.1
|
13
|
+
Document Type XHTML1.1 Document Type includes the following Modules XHTML Core modules
|
14
|
+
(Required for XHTML Family Conformance) + text + hypertext + lists + structure Other
|
15
|
+
XHTML modules + Edit + Bdo + Presentational + Link + Meta + Base + Scripting + Style +
|
16
|
+
Image + Applet + Object + Param (Applet/Object modules require Param Module) + Tables +
|
17
|
+
Forms + Client side image maps + Server side image maps + Ruby </xs:documentation>
|
18
|
+
</xs:annotation>
|
19
|
+
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">
|
20
|
+
<xs:annotation>
|
21
|
+
<xs:documentation> This import brings in the XML namespace attributes The XML attributes
|
22
|
+
are used by various modules. </xs:documentation>
|
23
|
+
</xs:annotation>
|
24
|
+
</xs:import>
|
25
|
+
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
|
26
|
+
<xs:include schemaLocation="xhtml-rdfa-model-1.xsd">
|
27
|
+
<xs:annotation>
|
28
|
+
<xs:documentation> Document Model module for the XHTML+RDFa Document Type. This schema
|
29
|
+
file defines all named models used by XHTML Modularization Framework for XHTML+RDFa
|
30
|
+
Document Type </xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:include>
|
33
|
+
<xs:include schemaLocation="xhtml-rdfa-modules-1.xsd">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation> Schema that includes all modules (and redefinitions) for XHTML1.1
|
36
|
+
Document Type. </xs:documentation>
|
37
|
+
</xs:annotation>
|
38
|
+
</xs:include>
|
39
|
+
<!-- link, meta, and a need to be defined directly here -->
|
40
|
+
<xs:attributeGroup name="xhtml.a.attlist">
|
41
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
42
|
+
<xs:attribute name="href" type="xh11d:URI"/>
|
43
|
+
<xs:attribute name="charset" type="xh11d:Charset"/>
|
44
|
+
<xs:attribute name="type" type="xh11d:ContentType"/>
|
45
|
+
<xs:attribute name="hreflang" type="xh11d:LanguageCode"/>
|
46
|
+
<xs:attribute name="accesskey" type="xh11d:Character"/>
|
47
|
+
<xs:attribute name="tabindex" type="xh11d:Number"/>
|
48
|
+
<xs:attributeGroup ref="xhtml.a.csim.attlist">
|
49
|
+
<xs:annotation>
|
50
|
+
<xs:documentation>
|
51
|
+
Redefinition by Client Side Image Map Module
|
52
|
+
</xs:documentation>
|
53
|
+
</xs:annotation>
|
54
|
+
</xs:attributeGroup>
|
55
|
+
<xs:attributeGroup ref="xhtml.a.events.attlist">
|
56
|
+
<xs:annotation>
|
57
|
+
<xs:documentation>
|
58
|
+
Redefinition by XHTML Event Attribute Module
|
59
|
+
</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:attributeGroup>
|
62
|
+
<xs:attributeGroup ref="xhtml.a.target.attlist">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>
|
65
|
+
Target Module - A Attribute Additions
|
66
|
+
</xs:documentation>
|
67
|
+
</xs:annotation>
|
68
|
+
</xs:attributeGroup>
|
69
|
+
</xs:attributeGroup>
|
70
|
+
<xs:group name="xhtml.a.content">
|
71
|
+
<xs:sequence>
|
72
|
+
<xs:group ref="xhtml.InlNoAnchor.mix" minOccurs="0" maxOccurs="unbounded"/>
|
73
|
+
</xs:sequence>
|
74
|
+
</xs:group>
|
75
|
+
<xs:complexType name="xhtml.a.type" mixed="true">
|
76
|
+
<xs:group ref="xhtml.a.content"/>
|
77
|
+
<xs:attributeGroup ref="xhtml.a.attlist"/>
|
78
|
+
</xs:complexType>
|
79
|
+
<xs:attributeGroup name="xhtml.link.attlist">
|
80
|
+
<xs:attributeGroup ref="xhtml.Common.attrib"/>
|
81
|
+
<xs:attribute name="charset" type="xh11d:Charset"/>
|
82
|
+
<xs:attribute name="href" type="xh11d:URI"/>
|
83
|
+
<xs:attribute name="hreflang" type="xh11d:LanguageCode"/>
|
84
|
+
<xs:attribute name="type" type="xh11d:ContentType"/>
|
85
|
+
<xs:attribute name="media" type="xh11d:MediaDesc"/>
|
86
|
+
</xs:attributeGroup>
|
87
|
+
<xs:group name="xhtml.link.content">
|
88
|
+
<xs:sequence/>
|
89
|
+
</xs:group>
|
90
|
+
<xs:complexType name="xhtml.link.type">
|
91
|
+
<xs:group ref="xhtml.link.content"/>
|
92
|
+
<xs:attributeGroup ref="xhtml.link.attlist"/>
|
93
|
+
</xs:complexType>
|
94
|
+
<xs:attributeGroup name="xhtml.meta.attlist">
|
95
|
+
<xs:attributeGroup ref="xhtml.I18n.attrib"/>
|
96
|
+
<xs:attribute ref="xml:space"/>
|
97
|
+
<xs:attribute name="http-equiv" type="xs:NMTOKEN"/>
|
98
|
+
<xs:attribute name="name" type="xs:NMTOKEN"/>
|
99
|
+
<xs:attribute name="content" type="xh11d:CDATA" use="required"/>
|
100
|
+
<xs:attribute name="scheme" type="xh11d:CDATA"/>
|
101
|
+
<xs:attribute name="about" type="xh11d:URIorSafeCURIE"/>
|
102
|
+
<xs:attribute name="datatype" type="xh11d:CURIE"/>
|
103
|
+
<xs:attribute name="typeof" type="xh11d:CURIEs"/>
|
104
|
+
<xs:attribute name="property" type="xh11d:CURIEs"/>
|
105
|
+
<xs:attribute name="rel" type="xh11d:CURIEs"/>
|
106
|
+
<xs:attribute name="resource" type="xh11d:URIorSafeCURIE"/>
|
107
|
+
<xs:attribute name="rev" type="xh11d:CURIEs"/>
|
108
|
+
</xs:attributeGroup>
|
109
|
+
<xs:group name="xhtml.meta.content">
|
110
|
+
<xs:sequence/>
|
111
|
+
</xs:group>
|
112
|
+
<xs:complexType name="xhtml.meta.type">
|
113
|
+
<xs:group ref="xhtml.meta.content"/>
|
114
|
+
<xs:attributeGroup ref="xhtml.meta.attlist"/>
|
115
|
+
</xs:complexType>
|
116
|
+
</xs:schema>
|