validate-website 0.3.5 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -1
- data/Rakefile +1 -1
- data/bin/validate-website +7 -6
- data/lib/validate_website.rb +39 -30
- data/lib/validator.rb +13 -12
- data/lib/xhtml/frameset.dtd +37 -0
- data/lib/xhtml/loose.dtd +1093 -0
- data/lib/xhtml/strict.dtd +870 -0
- data/lib/xhtml/xhtml-basic11.dtd +239 -0
- metadata +9 -5
@@ -0,0 +1,239 @@
|
|
1
|
+
<!-- XHTML Basic 1.1 DTD ...................................................... -->
|
2
|
+
<!-- file: xhtml-basic11.dtd -->
|
3
|
+
|
4
|
+
<!-- XHTML Basic 1.1 DTD
|
5
|
+
|
6
|
+
This is XHTML Basic, a proper subset of XHTML.
|
7
|
+
|
8
|
+
The Extensible HyperText Markup Language (XHTML)
|
9
|
+
Copyright 1998-2007 World Wide Web Consortium
|
10
|
+
(Massachusetts Institute of Technology, European Research Consortium
|
11
|
+
for Informatics and Mathematics, Keio University).
|
12
|
+
All Rights Reserved.
|
13
|
+
|
14
|
+
Permission to use, copy, modify and distribute the XHTML Basic DTD
|
15
|
+
and its accompanying documentation for any purpose and without fee is
|
16
|
+
hereby granted in perpetuity, provided that the above copyright notice
|
17
|
+
and this paragraph appear in all copies. The copyright holders make
|
18
|
+
no representation about the suitability of the DTD for any purpose.
|
19
|
+
|
20
|
+
It is provided "as is" without expressed or implied warranty.
|
21
|
+
|
22
|
+
Editors: Murray M. Altheim <mailto:altheim@eng.sun.com>
|
23
|
+
Peter Stark <mailto:Peter.Stark@ecs.ericsson.se>
|
24
|
+
Shane McCarron <mailto:shane@aptest.com>
|
25
|
+
Revision: $Id: xhtml-basic11.dtd,v 1.1 2008/07/26 17:02:27 jules Exp $
|
26
|
+
|
27
|
+
-->
|
28
|
+
<!-- This is the driver file for version 1.1 of the XHTML Basic DTD.
|
29
|
+
|
30
|
+
This DTD is identified by the PUBLIC and SYSTEM identifiers:
|
31
|
+
|
32
|
+
PUBLIC: "-//W3C//DTD XHTML Basic 1.1//EN"
|
33
|
+
SYSTEM: "http://www.w3.org/MarkUp/DTD/xhtml-basic11.dtd"
|
34
|
+
-->
|
35
|
+
<!ENTITY % XHTML.version "-//W3C//DTD XHTML Basic 1.1//EN" >
|
36
|
+
|
37
|
+
<!-- Use this URI to identify the default namespace:
|
38
|
+
|
39
|
+
"http://www.w3.org/1999/xhtml"
|
40
|
+
|
41
|
+
See the Qualified Names module for information
|
42
|
+
on the use of namespace prefixes in the DTD.
|
43
|
+
-->
|
44
|
+
<!ENTITY % NS.prefixed "IGNORE" >
|
45
|
+
<!ENTITY % XHTML.prefix "" >
|
46
|
+
|
47
|
+
<!-- Reserved for use with the XLink namespace:
|
48
|
+
-->
|
49
|
+
<!ENTITY % XLINK.xmlns "" >
|
50
|
+
<!ENTITY % XLINK.xmlns.attrib "" >
|
51
|
+
|
52
|
+
<!-- For example, if you are using XHTML Basic 1.1 directly, use
|
53
|
+
the public identifier in the DOCTYPE declaration, with the namespace
|
54
|
+
declaration on the document element to identify the default namespace:
|
55
|
+
|
56
|
+
<?xml version="1.0"?>
|
57
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
|
58
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-basic11.dtd" >
|
59
|
+
<html xmlns="http://www.w3.org/1999/xhtml"
|
60
|
+
xml:lang="en" >
|
61
|
+
...
|
62
|
+
</html>
|
63
|
+
-->
|
64
|
+
|
65
|
+
<!-- reserved for future use with document profiles -->
|
66
|
+
<!ENTITY % XHTML.profile "" >
|
67
|
+
|
68
|
+
<!-- Bidirectional Text features
|
69
|
+
This feature-test entity is used to declare elements
|
70
|
+
and attributes used for bidirectional text support.
|
71
|
+
-->
|
72
|
+
<!ENTITY % XHTML.bidi "IGNORE" >
|
73
|
+
|
74
|
+
<?doc type="doctype" role="title" { XHTML Basic 1.1 } ?>
|
75
|
+
|
76
|
+
<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
77
|
+
|
78
|
+
<!ENTITY % xhtml-events.module "INCLUDE" >
|
79
|
+
<!ENTITY % xhtml-bdo.module "%XHTML.bidi;" >
|
80
|
+
|
81
|
+
<!-- Inline Style Module ........................................ -->
|
82
|
+
<!ENTITY % xhtml-inlstyle.module "INCLUDE" >
|
83
|
+
<![%xhtml-inlstyle.module;[
|
84
|
+
<!ENTITY % xhtml-inlstyle.mod
|
85
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Inline Style 1.0//EN"
|
86
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-inlstyle-1.mod" >
|
87
|
+
%xhtml-inlstyle.mod;]]>
|
88
|
+
|
89
|
+
|
90
|
+
<!ENTITY % xhtml-model.mod
|
91
|
+
PUBLIC "-//W3C//ENTITIES XHTML Basic 1.1 Document Model 1.0//EN"
|
92
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-basic11-model-1.mod" >
|
93
|
+
|
94
|
+
<!ENTITY % xhtml-framework.mod
|
95
|
+
PUBLIC "-//W3C//ENTITIES XHTML Modular Framework 1.0//EN"
|
96
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-framework-1.mod" >
|
97
|
+
%xhtml-framework.mod;
|
98
|
+
|
99
|
+
<!ENTITY % pre.content
|
100
|
+
"( #PCDATA
|
101
|
+
| %InlStruct.class;
|
102
|
+
%InlPhras.class;
|
103
|
+
%Anchor.class;
|
104
|
+
%Inline.extra; )*"
|
105
|
+
>
|
106
|
+
|
107
|
+
<!ENTITY % xhtml-text.mod
|
108
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Text 1.0//EN"
|
109
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-text-1.mod" >
|
110
|
+
%xhtml-text.mod;
|
111
|
+
|
112
|
+
<!ENTITY % xhtml-hypertext.mod
|
113
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Hypertext 1.0//EN"
|
114
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-hypertext-1.mod" >
|
115
|
+
%xhtml-hypertext.mod;
|
116
|
+
|
117
|
+
<!ENTITY % xhtml-list.mod
|
118
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Lists 1.0//EN"
|
119
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-list-1.mod" >
|
120
|
+
%xhtml-list.mod;
|
121
|
+
|
122
|
+
<!-- Add in the value attribute to the li element -->
|
123
|
+
<!ATTLIST %li.qname;
|
124
|
+
value %Number.datatype; #IMPLIED
|
125
|
+
>
|
126
|
+
|
127
|
+
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
128
|
+
|
129
|
+
<!-- Scripting Module ........................................... -->
|
130
|
+
<!ENTITY % xhtml-script.module "INCLUDE" >
|
131
|
+
<![%xhtml-script.module;[
|
132
|
+
<!ENTITY % xhtml-script.mod
|
133
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Scripting 1.0//EN"
|
134
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-script-1.mod" >
|
135
|
+
%xhtml-script.mod;]]>
|
136
|
+
|
137
|
+
<!-- Style Sheets Module ......................................... -->
|
138
|
+
<!ENTITY % xhtml-style.module "INCLUDE" >
|
139
|
+
<![%xhtml-style.module;[
|
140
|
+
<!ENTITY % xhtml-style.mod
|
141
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Style Sheets 1.0//EN"
|
142
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-style-1.mod" >
|
143
|
+
%xhtml-style.mod;]]>
|
144
|
+
|
145
|
+
<!-- Image Module ............................................... -->
|
146
|
+
<!ENTITY % xhtml-image.module "INCLUDE" >
|
147
|
+
<![%xhtml-image.module;[
|
148
|
+
<!ENTITY % xhtml-image.mod
|
149
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Images 1.0//EN"
|
150
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-image-1.mod" >
|
151
|
+
%xhtml-image.mod;]]>
|
152
|
+
|
153
|
+
<!-- Tables Module ............................................... -->
|
154
|
+
<!ENTITY % xhtml-table.module "INCLUDE" >
|
155
|
+
<![%xhtml-table.module;[
|
156
|
+
<!ENTITY % xhtml-table.mod
|
157
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Basic Tables 1.0//EN"
|
158
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-basic-table-1.mod" >
|
159
|
+
%xhtml-table.mod;]]>
|
160
|
+
|
161
|
+
<!-- Forms Module ............................................... -->
|
162
|
+
<!ENTITY % xhtml-form.module "INCLUDE" >
|
163
|
+
<![%xhtml-form.module;[
|
164
|
+
<!ENTITY % xhtml-form.mod
|
165
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Forms 1.0//EN"
|
166
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-form-1.mod" >
|
167
|
+
%xhtml-form.mod;]]>
|
168
|
+
|
169
|
+
<!-- Presentation Module ........................................ -->
|
170
|
+
<!ENTITY % xhtml-pres.module "INCLUDE" >
|
171
|
+
<![%xhtml-pres.module;[
|
172
|
+
<!ENTITY % xhtml-pres.mod
|
173
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Presentation 1.0//EN"
|
174
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-pres-1.mod" >
|
175
|
+
%xhtml-pres.mod;]]>
|
176
|
+
|
177
|
+
<!-- Link Element Module ........................................ -->
|
178
|
+
<!ENTITY % xhtml-link.module "INCLUDE" >
|
179
|
+
<![%xhtml-link.module;[
|
180
|
+
<!ENTITY % xhtml-link.mod
|
181
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Link Element 1.0//EN"
|
182
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-link-1.mod" >
|
183
|
+
%xhtml-link.mod;]]>
|
184
|
+
|
185
|
+
<!-- Document Metainformation Module ............................ -->
|
186
|
+
<!ENTITY % xhtml-meta.module "INCLUDE" >
|
187
|
+
<![%xhtml-meta.module;[
|
188
|
+
<!ENTITY % xhtml-meta.mod
|
189
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Metainformation 1.0//EN"
|
190
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-meta-1.mod" >
|
191
|
+
%xhtml-meta.mod;]]>
|
192
|
+
|
193
|
+
<!-- Base Element Module ........................................ -->
|
194
|
+
<!ENTITY % xhtml-base.module "INCLUDE" >
|
195
|
+
<![%xhtml-base.module;[
|
196
|
+
<!ENTITY % xhtml-base.mod
|
197
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Base Element 1.0//EN"
|
198
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-base-1.mod" >
|
199
|
+
%xhtml-base.mod;]]>
|
200
|
+
|
201
|
+
<!-- Param Element Module ....................................... -->
|
202
|
+
<!ENTITY % xhtml-param.module "INCLUDE" >
|
203
|
+
<![%xhtml-param.module;[
|
204
|
+
<!ENTITY % xhtml-param.mod
|
205
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Param Element 1.0//EN"
|
206
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-param-1.mod" >
|
207
|
+
%xhtml-param.mod;]]>
|
208
|
+
|
209
|
+
<!-- Embedded Object Module ..................................... -->
|
210
|
+
<!ENTITY % xhtml-object.module "INCLUDE" >
|
211
|
+
<![%xhtml-object.module;[
|
212
|
+
<!ENTITY % xhtml-object.mod
|
213
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Embedded Object 1.0//EN"
|
214
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-object-1.mod" >
|
215
|
+
%xhtml-object.mod;]]>
|
216
|
+
|
217
|
+
<!-- Inputmode Attribute Module .................................. -->
|
218
|
+
<!ENTITY % xhtml-inputmode.module "INCLUDE" >
|
219
|
+
<![%xhtml-inputmode.module;[
|
220
|
+
<!ENTITY % xhtml-inputmode.mod
|
221
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Inputmode 1.0//EN"
|
222
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-inputmode-1.mod" >
|
223
|
+
%xhtml-inputmode.mod;]]>
|
224
|
+
|
225
|
+
<!-- Target Attribute Module .................................... -->
|
226
|
+
<!ENTITY % xhtml-target.module "INCLUDE" >
|
227
|
+
<![%xhtml-target.module;[
|
228
|
+
<!ENTITY % xhtml-target.mod
|
229
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
|
230
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-target-1.mod" >
|
231
|
+
%xhtml-target.mod;]]>
|
232
|
+
|
233
|
+
|
234
|
+
<!ENTITY % xhtml-struct.mod
|
235
|
+
PUBLIC "-//W3C//ELEMENTS XHTML Document Structure 1.0//EN"
|
236
|
+
"http://www.w3.org/MarkUp/DTD/xhtml-struct-1.mod" >
|
237
|
+
%xhtml-struct.mod;
|
238
|
+
|
239
|
+
<!-- end of XHTML Basic 1.1 DTD ........................................... -->
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validate-website
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Laurent Arnoud
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-14 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- lib/xhtml/xhtml-blkstruct-1.xsd
|
101
101
|
- lib/xhtml/xhtml11-modules-1.xsd
|
102
102
|
- lib/xhtml/xhtml-blkpres-1.xsd
|
103
|
+
- lib/xhtml/xhtml-basic11.dtd
|
103
104
|
- lib/xhtml/xhtml-inlpres-1.xsd
|
104
105
|
- lib/xhtml/xhtml-inlphras-1.xsd
|
105
106
|
- lib/xhtml/xhtml-misc-1.xsd
|
@@ -111,7 +112,9 @@ files:
|
|
111
112
|
- lib/xhtml/xml-handlers-2.xsd
|
112
113
|
- lib/xhtml/xhtml-object-1.xsd
|
113
114
|
- lib/xhtml/xhtml-bdo-1.xsd
|
115
|
+
- lib/xhtml/frameset.dtd
|
114
116
|
- lib/xhtml/xml-events-1.xsd
|
117
|
+
- lib/xhtml/loose.dtd
|
115
118
|
- lib/xhtml/xhtml-basic10-model-1.xsd
|
116
119
|
- lib/xhtml/xhtml-table-1.xsd
|
117
120
|
- lib/xhtml/xhtml2.xsd
|
@@ -175,6 +178,7 @@ files:
|
|
175
178
|
- lib/xhtml/xhtml-basic11-model-1.xsd
|
176
179
|
- lib/xhtml/xhtml-copyright-1.xsd
|
177
180
|
- lib/xhtml/xhtml-basic10-module-redefines-1.xsd
|
181
|
+
- lib/xhtml/strict.dtd
|
178
182
|
- lib/xhtml/xhtml-edit-1.xsd
|
179
183
|
- lib/xhtml/xhtml11.xsd
|
180
184
|
- lib/xhtml/xhtml-lat1.ent
|