1 |
wakaba |
1.1 |
<!DOCTYPE html><html id="error-description" lang="en" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml"> |
2 |
|
|
<head> |
3 |
|
|
<title xml:lang="en">Description of Errors — |
4 |
|
|
Web Document Conformance Checker (BETA)</title> |
5 |
|
|
<link href="cc-style" rel="stylesheet"> |
6 |
|
|
<link href="#license" rel="license"> |
7 |
|
|
</head> |
8 |
|
|
<body> |
9 |
|
|
<h1>Description of Errors</h1> |
10 |
|
|
|
11 |
wakaba |
1.20 |
<section id="character-encoding-layer"> |
12 |
|
|
<h2>Character Encoding Layer Errors</h2> |
13 |
|
|
|
14 |
|
|
<div class="section error-category-charset" id="m:illegal-octets-error"><h3>An illegal octet in the input stream.</h3></div> |
15 |
|
|
</section> |
16 |
|
|
|
17 |
wakaba |
1.15 |
<section id="html5-character-encoding"> |
18 |
|
|
<h2>HTML5 Character Encoding Errors</h2> |
19 |
|
|
|
20 |
wakaba |
1.26 |
<div class="section " id="disallowed-character-encoding"><h3>Character encoding <code><var>{text}</var></code> |
21 |
wakaba |
1.15 |
is not allowed for <abbr>HTML</abbr> document.</h3> |
22 |
|
|
<p>The character encoding used for the document is not allowed |
23 |
|
|
for <abbr>HTML</abbr> document. The document is non‐conforming.</p> |
24 |
|
|
</div> |
25 |
|
|
|
26 |
wakaba |
1.26 |
<div class="section " id="bad-character-encoding"><h3>Character encoding <code><var>{text}</var></code> |
27 |
wakaba |
1.15 |
should not be used for <abbr>HTML</abbr> document.</h3> |
28 |
|
|
<p>The character encoding used for the document is not recommended |
29 |
|
|
for <abbr>HTML</abbr> document. The document is non‐conforming |
30 |
|
|
unless there is any good reason to use that encoding.</p> |
31 |
|
|
</div> |
32 |
|
|
|
33 |
wakaba |
1.26 |
<div class="section " id="non-utf-8-character-encoding"><h3>Use of UTF-8 is encouraged (this document |
34 |
|
|
is encoded in <code><var>{text}</var></code>).</h3> |
35 |
wakaba |
1.15 |
<p>Use of UTF-8 as the character encoding of the document is encouraged, |
36 |
wakaba |
1.20 |
though the use of another character encoding is still conforming.</p> |
37 |
wakaba |
1.15 |
</div> |
38 |
|
|
|
39 |
wakaba |
1.26 |
<div class="section " id="character-encoding-unchecked"><h3>Conformance for character encoding requirements |
40 |
|
|
cannot be checked, since the input is not a byte stream.</h3> |
41 |
wakaba |
1.16 |
<p>The conformance checker cannot detect whether the input document |
42 |
|
|
met the requirements on character encoding, since the document |
43 |
|
|
is not inputed as a serialized byte sequence. The document is |
44 |
|
|
not conforming if it is not encoded in an appropriate character |
45 |
|
|
encoding with appropriate labeling.</p> |
46 |
|
|
</div> |
47 |
|
|
|
48 |
wakaba |
1.26 |
<div class="section " id="no-character-encoding-declaration"><h3>There is no character encoding |
49 |
wakaba |
1.15 |
declaration.</h3> |
50 |
|
|
<p>The document does not contain a character encoding |
51 |
|
|
declaration. Unless the character encoding is explicitly |
52 |
wakaba |
1.16 |
specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, |
53 |
wakaba |
1.15 |
or is implied by <abbr>BOM</abbr>, there must be a character |
54 |
|
|
encoding declaration. The document is non‐conforming.</p> |
55 |
|
|
|
56 |
|
|
<p>The long character encoding declaration syntax |
57 |
wakaba |
1.21 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
58 |
wakaba |
1.15 |
is obsolete. The new syntax is:</p> |
59 |
|
|
<pre class="html example"> |
60 |
wakaba |
1.21 |
<code><meta charset="<var>charset-name</var>"></code></pre> |
61 |
wakaba |
1.15 |
|
62 |
|
|
<p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr> |
63 |
|
|
declaration has no effect for <abbr>HTML</abbr> document.</p> |
64 |
|
|
</div> |
65 |
|
|
|
66 |
wakaba |
1.26 |
<div class="section " id="non-ascii-superset"><h3>No character encoding metadata is found |
67 |
wakaba |
1.16 |
in lower‐level protocol nor is there <abbr>BOM</abbr>, while |
68 |
wakaba |
1.26 |
character encoding <code><var>{text}</var></code> |
69 |
wakaba |
1.15 |
is not a superset of <abbr>ASCII</abbr>.</h3> |
70 |
|
|
<p>The document is not labeled with character encoding name |
71 |
wakaba |
1.16 |
in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and |
72 |
wakaba |
1.15 |
the document is not begin with <abbr>BOM</abbr>. In addition, |
73 |
|
|
the character encoding of the document is not a superset of |
74 |
|
|
<abbr>ASCII</abbr>. The document is non‐conforming.</p> |
75 |
|
|
|
76 |
|
|
<p>Unless there is a <abbr>BOM</abbr>, the character encoding |
77 |
|
|
for the document must be specified in e.g. <abbr>HTTP</abbr>‐level, |
78 |
|
|
as:</p> |
79 |
|
|
<pre class="http example"> |
80 |
|
|
<code>Content-Type: text/html; charset=<var>charset-name</var></code></pre> |
81 |
|
|
|
82 |
|
|
<p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e. |
83 |
wakaba |
1.21 |
<code class="html example"><meta charset="<var>charset-name</var>"></code>, |
84 |
wakaba |
1.15 |
does not allow to omit <code>charset</code> parameter |
85 |
|
|
for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr> |
86 |
|
|
compatible encoding.</p> |
87 |
|
|
|
88 |
|
|
<p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>, |
89 |
|
|
and <code>ISO-2022-JP</code> are <em>not</em> a superset of |
90 |
|
|
<abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p> |
91 |
|
|
</div> |
92 |
|
|
|
93 |
wakaba |
1.25 |
<div class="section " id="sniffing:chardet"><h3>Character encoding of this document is sniffed |
94 |
|
|
as <code><var>{text}</var></code> (Sniffed because no explicit specification |
95 |
|
|
for the character encoding of this document is found in the transfer |
96 |
|
|
procotol headers).</h3></div> |
97 |
|
|
|
98 |
|
|
<div class="section " id="sniffing:default"><h3>Character encoding of this document is defaulted |
99 |
|
|
to <code><var>{text}</var></code> because no explicit specification |
100 |
|
|
for the character encoding of this document is found in the transfer |
101 |
|
|
procotol headers.</h3></div> |
102 |
|
|
|
103 |
|
|
<div class="section " id="chardecode:fallback"><h3>Since no decoder for the document character |
104 |
|
|
encoding is found, decoder for the character encoding |
105 |
|
|
<code><var>{text}</var></code> is used. Checking results might be |
106 |
|
|
<em>wrong</em>.</h3></div> |
107 |
|
|
|
108 |
|
|
<div class="section " id="chardecode:no-error"><h3>Conformance error checking for the character |
109 |
|
|
encoding <code><var>{text}</var></code> is not supported.</h3></div> |
110 |
|
|
|
111 |
|
|
<div class="section " id="charset-label:matching"><h3>Sniffed character encoding |
112 |
|
|
<code><var>{text}</var></code> is same as the character encoding specified |
113 |
|
|
in the character encoding declaration. This is <em>not</em> an |
114 |
|
|
error.</h3></div> |
115 |
|
|
|
116 |
|
|
<div class="section format-charset warning" id="charset-label-detected"><h3>While parsing the document as |
117 |
|
|
<code><var>{text}</var></code>, a character encoding declaration specifying |
118 |
|
|
a different character encoding is found. The document |
119 |
wakaba |
1.15 |
is reparsed.</h3> |
120 |
|
|
<p>While parsing a document in a character encoding, |
121 |
|
|
a character encoding declaration which declares the character |
122 |
|
|
encoding of the document as another character encoding is found. |
123 |
|
|
The occurence of this warning itself does not make the document |
124 |
|
|
non‐conforming. However, the failure of the first attempt to |
125 |
wakaba |
1.20 |
to detect the character encoding might be a result of non‐conformance |
126 |
wakaba |
1.15 |
of the document.</p> |
127 |
|
|
|
128 |
|
|
<p>The document will be reparsed from the beginning. Some error |
129 |
|
|
or warning might be reported again.</p> |
130 |
|
|
|
131 |
|
|
<p>These are suggestions to avoid this warning:</p> |
132 |
|
|
<ul> |
133 |
|
|
<li>Specify <code>charset</code> parameter in the <code>Content-Type</code> |
134 |
|
|
field in the <abbr>HTTP</abbr> header, as: |
135 |
|
|
<pre class="HTTP example"> |
136 |
wakaba |
1.21 |
<code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li> |
137 |
wakaba |
1.15 |
<li>Put the character encoding declaration |
138 |
wakaba |
1.21 |
(<code class="html example"><meta charset="<var>charset-name</var>"></code>) |
139 |
wakaba |
1.15 |
just after <code class="html example"><head></code> start tag.</li> |
140 |
|
|
<li>Use <code>UTF-8</code>.</li> |
141 |
|
|
</ul> |
142 |
|
|
</div> |
143 |
wakaba |
1.25 |
|
144 |
|
|
<div class="section " id="NULL"><h3>The <code class="charname">NULL</code> character |
145 |
|
|
is not allowed.</h3></div> |
146 |
|
|
|
147 |
|
|
<div class="section " id="control-char"><h3>Code point <code><var>{text}</var></code> is |
148 |
|
|
not allowed.</h3></div> |
149 |
|
|
|
150 |
wakaba |
1.15 |
</section> |
151 |
|
|
|
152 |
wakaba |
1.2 |
<section id="html5-tokenize-error"> |
153 |
|
|
<h2>HTML5 Parse Errors in Tokenization Stage</h2> |
154 |
wakaba |
1.1 |
|
155 |
wakaba |
1.3 |
<div class="section parse-error" id="after-html"><h3>Tag <code><<var>$0</var>></code> |
156 |
|
|
is not allowed after the end tag <code></html></code>.</h3> |
157 |
|
|
<p>The start or end tag of an element appears after the |
158 |
|
|
<code>html</code> element has been closed. The document is |
159 |
|
|
non-conforming.</p> |
160 |
|
|
|
161 |
|
|
<p>Any content of the document other than comments |
162 |
|
|
must be put into the <code>html</code> element.</p> |
163 |
|
|
</div> |
164 |
|
|
|
165 |
wakaba |
1.7 |
<div class="section parse-error" id="after-body"><h3>Tag <code><<var>$0</var>></code> |
166 |
|
|
is not allowed after the end tag <code></body></code>.</h3> |
167 |
|
|
<p>The start or end tag of an element appears after the |
168 |
|
|
<code>body</code> element has been closed. The document is |
169 |
|
|
non-conforming.</p> |
170 |
|
|
|
171 |
|
|
<p>Any content of the document other than <code>head</code> |
172 |
|
|
contents and comments must be put into the <code>body</code> |
173 |
|
|
element.</p> |
174 |
|
|
</div> |
175 |
|
|
|
176 |
wakaba |
1.25 |
<div class="section tokenize-error" id="bad-attribute-name"><h3>Attribute name cannot contain characters |
177 |
|
|
<code>"</code>, <code>'</code>, and <code>=</code>.</h3></div> |
178 |
|
|
|
179 |
|
|
<div class="section tokenize-error" id="bad-attribute-value"><h3>Attribute value must be quoted by <code>"</code> |
180 |
|
|
or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or |
181 |
|
|
<code>=</code> character.</h3></div> |
182 |
|
|
|
183 |
wakaba |
1.3 |
<div class="section tokenize-error" id="bare-ero"><h3>The <code>&</code> character must |
184 |
wakaba |
1.20 |
be escaped as <code class="html example">&amp;</code>.</h3> |
185 |
wakaba |
1.14 |
<p>An <code>&</code> character which |
186 |
wakaba |
1.3 |
is not part of any reference appears in the input stream. |
187 |
wakaba |
1.14 |
The document is non‐conforming.</p> |
188 |
wakaba |
1.3 |
|
189 |
wakaba |
1.14 |
<p><em>Any <code>&</code> character in URI (or IRI) |
190 |
|
|
must be escaped as <code class="example">&amp;</code>.</em></p> |
191 |
wakaba |
1.9 |
|
192 |
wakaba |
1.3 |
<p>The <code>&</code> character must |
193 |
|
|
be the first character of a reference: |
194 |
wakaba |
1.14 |
<dl class="switch"> |
195 |
wakaba |
1.3 |
<dt>Named entity reference</dt> |
196 |
|
|
<dd><pre class="html example"> |
197 |
|
|
<code>&<var>entity-name</var>;</code></pre> |
198 |
|
|
where <var>entity-name</var> is the name of the |
199 |
|
|
character entity to be referenced.</dd> |
200 |
|
|
<dt>Numeric character reference</dt> |
201 |
|
|
<dd><pre class="html example"> |
202 |
|
|
<code>&#<var>d</var>;</code></pre> |
203 |
|
|
where <var>d</var> is the decimal representation of |
204 |
|
|
the code position of the character to be referenced.</dd> |
205 |
|
|
<dt>Hexadecimal character reference</dt> |
206 |
|
|
<dd><pre class="html example"> |
207 |
|
|
<code>&#x<var>h</var>;</code></pre> |
208 |
|
|
where <var>h</var> is the hexadecimal representation |
209 |
|
|
of the code position of the character to be referenced.</dd> |
210 |
|
|
</dl> |
211 |
|
|
</p> |
212 |
|
|
|
213 |
|
|
<p>To represent <code>&</code> as a data character, use |
214 |
|
|
named entity reference: |
215 |
|
|
<pre class="html example"> |
216 |
|
|
<code>&amp;</code></pre> |
217 |
|
|
</p> |
218 |
|
|
</div> |
219 |
|
|
|
220 |
wakaba |
1.7 |
<div class="section tokenize-error" id="bare-etago"><h3>A <code></</code> string is not followed |
221 |
|
|
by a tag name.</h3> |
222 |
|
|
<p>There is a <code><</code> (<code>U+003C</code> |
223 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character |
224 |
|
|
immediately followed by a <code>/</code> (<code>U+005F</code> |
225 |
|
|
<code>SOLIDUS</code>) character, which is not part |
226 |
|
|
of any end tag, in the input stream. The document |
227 |
|
|
is non-conforming.</p> |
228 |
|
|
|
229 |
|
|
<p>The <code></</code> sequence immediately followed |
230 |
|
|
by an <abbr title="End of file pseudo-character">EOF</abbr> is |
231 |
|
|
interpreted as a string data of <code></</code>.</p> |
232 |
|
|
|
233 |
|
|
<p>The <code></</code> sequence as string data must |
234 |
|
|
be escaped as: |
235 |
|
|
<pre class="html example"> |
236 |
|
|
<code>&lt;/</code></pre> |
237 |
|
|
</p> |
238 |
|
|
</div> |
239 |
|
|
|
240 |
wakaba |
1.4 |
<div class="section tokenize-error" id="bare-stago"><h3>A <code><</code> character is not followed |
241 |
|
|
by tag name or by a <code>!</code> character.</h3> |
242 |
wakaba |
1.6 |
<p>A <code><</code> (<code>U+003C</code> |
243 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character which is not part |
244 |
|
|
of any markup appears in the input stream.</p> |
245 |
wakaba |
1.4 |
|
246 |
|
|
<p>The <code><</code> character as a data character must |
247 |
|
|
be escaped as: |
248 |
|
|
<pre class="html example"> |
249 |
wakaba |
1.6 |
<code>&lt;</code></pre> |
250 |
wakaba |
1.4 |
</p> |
251 |
|
|
</div> |
252 |
|
|
|
253 |
wakaba |
1.3 |
<div class="section tokenize-error" id="bare-nero"><h3>The decimal representation of the code position |
254 |
|
|
of a character must be specified after <code>&#</code>.</h3> |
255 |
|
|
<p>An <code>&</code> (<code>U+0026</code> |
256 |
|
|
<code class="charname">AMPERSAND</code>) character immediately |
257 |
|
|
followed by a <code>#</code> (<code>U+0023</code> |
258 |
|
|
<code>NUMBER SIGN</code>) character which |
259 |
|
|
is not part of any reference appears in the input stream. |
260 |
|
|
The document is non-conforming.</p> |
261 |
|
|
|
262 |
|
|
<p>The string <code>&#</code> must be the first two characters |
263 |
|
|
of a reference: |
264 |
wakaba |
1.14 |
<dl class="switch"> |
265 |
wakaba |
1.3 |
<dt>Numeric character reference</dt> |
266 |
|
|
<dd><pre class="html example"> |
267 |
|
|
<code>&#<var>d</var>;</code></pre> |
268 |
|
|
where <var>d</var> is the decimal representation of |
269 |
|
|
the code point of the character to be referenced.</dd> |
270 |
|
|
<dt>Hexadecimal character reference</dt> |
271 |
|
|
<dd><pre class="html example"> |
272 |
|
|
<code>&#x<var>h</var>;</code></pre> |
273 |
|
|
where <var>h</var> is the hexadecimal representation |
274 |
|
|
of the code point of the character to be referenced.</dd> |
275 |
|
|
</dl> |
276 |
|
|
</p> |
277 |
|
|
|
278 |
|
|
<p>To represent <code>&#</code> as data characters, use |
279 |
wakaba |
1.6 |
a named entity reference for the <code>&</code> character: |
280 |
wakaba |
1.3 |
<pre class="html example"> |
281 |
|
|
<code>&amp;#</code></pre> |
282 |
|
|
</p> |
283 |
|
|
</div> |
284 |
|
|
|
285 |
|
|
<div class="section tokenize-error" id="bare-hcro"><h3>The hexadecimal representation of the code position |
286 |
|
|
of a character must be specified after <code>&#x</code>.</h3> |
287 |
|
|
<p>The string <code>&#x</code> or <code>&#X</code> which |
288 |
|
|
is not part of any reference appears in the input stream. |
289 |
|
|
The document is non-conforming.</p> |
290 |
|
|
|
291 |
|
|
<p>The string <code>&#x</code> or <code>&#X</code> must |
292 |
|
|
be the first three characters of a hexadecimal reference: |
293 |
|
|
<pre class="html example"> |
294 |
|
|
<code>&#x<var>h</var>;</code></pre> |
295 |
|
|
where <var>h</var> is the hexadecimal representation |
296 |
|
|
of the code point of the character to be referenced.</p> |
297 |
|
|
|
298 |
|
|
<p>To represent <code>&#x</code> as data characters, use |
299 |
wakaba |
1.6 |
a named entity reference for the <code>&</code> character: |
300 |
wakaba |
1.3 |
<pre class="html example"> |
301 |
|
|
<code>&amp;#x</code></pre> |
302 |
|
|
</p> |
303 |
|
|
</div> |
304 |
|
|
|
305 |
wakaba |
1.9 |
<div class="section tokenize-error" id="bogus-comment"><h3>String <code><!</code> is not followed |
306 |
|
|
by <code>--</code>.</h3> |
307 |
|
|
<p>There is a <code><</code> (<code>U+003C</code> |
308 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character |
309 |
|
|
followed by a <code>!</code> (<code>U+0021</code> |
310 |
|
|
<code class="charname">EXCLAMATION MARK</code>) character, |
311 |
|
|
which is not followed by a <code>--</code> or |
312 |
|
|
<code>!DOCTYPE</code>. The document is non-conforming.</p> |
313 |
|
|
|
314 |
|
|
<dl class="switch"> |
315 |
|
|
<dt>Comments</dt> |
316 |
wakaba |
1.14 |
<dd>In HTML document, comments must be introduced by |
317 |
|
|
<code class="example"><!--</code> (<code><!</code> |
318 |
|
|
<em>immediately</em> followed |
319 |
wakaba |
1.9 |
by <em>two</em> <code>-</code>s) and must be terminated by |
320 |
wakaba |
1.14 |
<code class="example">--></code>. |
321 |
|
|
Strings <code><!</code> not followed |
322 |
wakaba |
1.9 |
by <code>--</code> and <code><!-</code> not followed by |
323 |
|
|
<code>-</code> are not valid open delimiters for comments.</dd> |
324 |
|
|
<dt>Marked sections, including <code>CDATA</code> sections</dt> |
325 |
wakaba |
1.14 |
<dd>Marked sections are not allowed in HTML document.</dd> |
326 |
wakaba |
1.9 |
<dt>Markup declarations</dt> |
327 |
wakaba |
1.14 |
<dd>Markup declarations, except for <code>DOCTYPE</code> |
328 |
|
|
and comment declarations, are not allowed in HTML document.</dd> |
329 |
wakaba |
1.9 |
<dt>String <code><!</code></dt> |
330 |
|
|
<dd>String <code><!</code> must be escaped as |
331 |
wakaba |
1.14 |
<code class="example">&lt;!</code>.</dd> |
332 |
wakaba |
1.9 |
</dl> |
333 |
|
|
</div> |
334 |
|
|
|
335 |
|
|
<div class="section tokenize-error" id="bogus-end-tag"><h3>String <code></</code> is not followed |
336 |
|
|
by tag name.</h3> |
337 |
wakaba |
1.7 |
<p>There is a <code><</code> (<code>U+003C</code> |
338 |
|
|
<code class="charname">LESS-THAN SIGN</code>) character |
339 |
|
|
immediately followed by a <code>/</code> (<code>U+005F</code> |
340 |
|
|
<code>SOLIDUS</code>) character, which is not part |
341 |
|
|
of any end tag, in the input stream. The document |
342 |
|
|
is non-conforming.</p> |
343 |
|
|
|
344 |
|
|
<p>The <code></</code> sequence not followed by a |
345 |
|
|
tag name is parsed as an opening of bogus comment.</p> |
346 |
|
|
|
347 |
|
|
<p>The <code></</code> sequence as string data must |
348 |
|
|
be escaped as: |
349 |
|
|
<pre class="html example"> |
350 |
|
|
<code>&lt;/</code></pre> |
351 |
|
|
</p> |
352 |
|
|
</div> |
353 |
|
|
|
354 |
wakaba |
1.25 |
<div class="section tokenize-error" id="C1-character-reference"><h3>Character reference to |
355 |
|
|
<code><var>{text}</var></code> is not allowed.</h3></div> |
356 |
|
|
|
357 |
|
|
<div class="section tokenize-error" id="CR-character-reference"><h3>Character reference to |
358 |
|
|
<code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>) |
359 |
|
|
is not allowed.</h3></div> |
360 |
|
|
|
361 |
wakaba |
1.4 |
<div class="section tokenize-error" id="dash-in-comment"><h3>There is a <code>--</code> sequence |
362 |
|
|
in a comment.</h3> |
363 |
|
|
<p>There is a <code>-</code> (<code>U+002D</code> |
364 |
|
|
<code class="charname">HYPHEN-MINUS</code>) character |
365 |
|
|
at the end of the comment or a <code>--</code> sequence |
366 |
|
|
in the comment. The document is non-conforming.</p> |
367 |
|
|
|
368 |
|
|
<p>Comments cannot contain a string <code>--</code>, as in XML. |
369 |
|
|
Unlike SGML, there cannot be more than one comments |
370 |
|
|
(where <i>comment</i> is an SGML term) in the comment |
371 |
|
|
declaration.</p> |
372 |
|
|
</div> |
373 |
|
|
|
374 |
wakaba |
1.6 |
<div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with name |
375 |
wakaba |
1.25 |
<code><var>{text}</var></code>.</h3> |
376 |
wakaba |
1.3 |
<p>There are more than one attributes with the same |
377 |
|
|
name in a tag. The document is non-conforming.</p> |
378 |
wakaba |
1.1 |
|
379 |
|
|
<p>The <code>motion</code> attribute is not part of the HTML standard. |
380 |
|
|
Use <code>img</code> element with animation GIF instead.</p> |
381 |
|
|
</div> |
382 |
|
|
|
383 |
wakaba |
1.25 |
<div class="section tokenize-error" id="empty-start-tag"><h3>Empty start tag (<code><></code>) is not |
384 |
|
|
allowed.</h3></div> |
385 |
|
|
|
386 |
|
|
<div class="section tokenize-error" id="empty-end-tag"><h3>Empty end tag (<code></></code>) is not |
387 |
|
|
allowed.</h3></div> |
388 |
|
|
|
389 |
|
|
<div class="section tokenize-error" id="end-tag-attribute"><h3>End tag cannot have attributes.</h3></div> |
390 |
|
|
|
391 |
|
|
<div class="section tokenize-error" id="invalid-character-reference"><h3>Character reference to |
392 |
|
|
<code><var>{text}</var></code> is not allowed.</h3></div> |
393 |
|
|
|
394 |
wakaba |
1.10 |
<div class="section tokenize-error" id="nestc"><h3>Polytheistic slash (<code>/></code>) cannot be |
395 |
wakaba |
1.1 |
used for this element.</h3> |
396 |
wakaba |
1.10 |
<p>Polytheistic slash (<code>/></code>) must not be used |
397 |
wakaba |
1.3 |
for the element. The document is non-conforming.</p> |
398 |
|
|
|
399 |
wakaba |
1.10 |
<p>The polytheistic slash can only be |
400 |
wakaba |
1.1 |
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
401 |
|
|
<code>hr</code>, <code>br</code>, <code>img</code>, |
402 |
|
|
<code>embed</code>, <code>param</code>, <code>area</code>, |
403 |
wakaba |
1.3 |
<code>col</code>, and <code>input</code> elements.</p> |
404 |
wakaba |
1.1 |
|
405 |
wakaba |
1.11 |
<dl class="switch"> |
406 |
wakaba |
1.9 |
<dt><code><script/></code></dt> |
407 |
wakaba |
1.10 |
<dd><p>The polytheistic slash cannot be used for <code>script</code> |
408 |
wakaba |
1.9 |
element. Even for an empty <code>script</code> element, |
409 |
wakaba |
1.14 |
there must be an explicit end tag |
410 |
|
|
<code class="html example"></script></code>.</p> |
411 |
wakaba |
1.9 |
|
412 |
|
|
<p><strong>NOTE</strong>: Though some user agents interpret |
413 |
wakaba |
1.10 |
polytheistic slash for <code>script</code> element as the |
414 |
wakaba |
1.9 |
closing of the element, such usage is not allowed under |
415 |
|
|
the current standard.</p></dd> |
416 |
|
|
<dt><code><basefont/></code>, <code><bgsound/></code>, |
417 |
|
|
<code><frame/></code>, <code><keygen/></code>, |
418 |
|
|
<code><spacer/></code>, <code><wbr/></code></dt> |
419 |
|
|
<dd>These elements are themselves non-conforming.</dd> |
420 |
|
|
<!-- isindex, image --> |
421 |
|
|
<dt><code><command/></code>, <code><event-source/></code>, |
422 |
wakaba |
1.11 |
<code><nest/></code>, or <code><source/></code></dt> |
423 |
wakaba |
1.9 |
<dd>Future revision of HTML5 parsing algorithm is expected |
424 |
wakaba |
1.10 |
to allow polytheistic slash for these elements.</dd> |
425 |
wakaba |
1.9 |
<dt><code><a/></code>, <code><p/></code></dt> |
426 |
|
|
<dd>These elements are not always empty and therefore |
427 |
wakaba |
1.14 |
polytheistic slash is not allowed. Use explicit end tag |
428 |
|
|
to represent empty element as: |
429 |
|
|
<pre class="example html"> |
430 |
|
|
<code><p></p></code></pre> |
431 |
|
|
</dd> |
432 |
wakaba |
1.9 |
</dl> |
433 |
|
|
|
434 |
wakaba |
1.10 |
<p>Note that, unlike in XML, the polytheistic slash has |
435 |
wakaba |
1.1 |
no effect in HTML.</p> |
436 |
|
|
</div> |
437 |
|
|
|
438 |
wakaba |
1.25 |
<div class="section tokenize-error" id="no-DOCTYPE-name"><h3>After the string <code><!DOCTYPE </code>, the |
439 |
|
|
document type name must be specified.</h3></div> |
440 |
|
|
|
441 |
|
|
<div class="section tokenize-error" id="no-PUBLIC-literal"><h3>After the keyword <code>PUBLIC</code>, no |
442 |
|
|
oublic identifier is specified.</h3></div> |
443 |
|
|
|
444 |
|
|
<div class="section tokenize-error" id="no-refc"><h3>Character reference must be closed by a |
445 |
|
|
<code>;</code> character.</h3></div> |
446 |
|
|
|
447 |
|
|
<div class="section tokenize-error" id="no-space-before-DOCTYPE-name"><h3>After the string <code><!DOCTYPE</code>, there |
448 |
|
|
must be at least a white space character before the document type |
449 |
|
|
name.</h3></div> |
450 |
|
|
|
451 |
|
|
<div class="section tokenize-error" id="no-space-between-attributes"><h3>Attributes must be separeted by at least a |
452 |
|
|
white space character.</h3></div> |
453 |
|
|
|
454 |
|
|
<div class="section tokenize-error" id="no-SYSTEM-literal"><h3>After the keyword <code>SYSTEM</code>, no |
455 |
|
|
system identifier is specified.</h3></div> |
456 |
wakaba |
1.5 |
|
457 |
|
|
<div class="section tokenize-error" id="pio"><h3>Processing instruction |
458 |
wakaba |
1.25 |
(<code><?<var>...</var>></code>) is not allowed in HTML |
459 |
|
|
document.</h3> |
460 |
wakaba |
1.5 |
<p>Processing instructions (<code><?<var>...</var>?></code>), |
461 |
|
|
including XML declaration (<code><?xml <var>...</var>?></code>) |
462 |
|
|
and XML style sheet <abbr title="processing instruction">PI</abbr> |
463 |
wakaba |
1.9 |
(<code><?xml-stylesheet <var>...</var>?></code>), are not allowed |
464 |
wakaba |
1.5 |
in the HTML syntax. The document is non-conforming.</p> |
465 |
|
|
|
466 |
wakaba |
1.11 |
<dl class="switch"> |
467 |
|
|
<dt><code><?xbl?></code> (<abbr>XBL</abbr> Association)</dt> |
468 |
|
|
<dd>An <abbr>XBL</abbr> binding cannot be associated by |
469 |
|
|
<abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr> |
470 |
|
|
document. Use <code>binding</code> property in <abbr>CSS</abbr> |
471 |
wakaba |
1.14 |
style sheet as: |
472 |
|
|
<pre class="html example"> |
473 |
|
|
<code><style> |
474 |
|
|
p { |
475 |
|
|
binding: url(binding.xbl); |
476 |
|
|
} |
477 |
|
|
</style></code></pre> |
478 |
|
|
</dd> |
479 |
wakaba |
1.9 |
<dt><code><?xml?></code> (XML declaration)</dt> |
480 |
|
|
<dd>XML declaration is unnecessary for HTML documents.</dd> |
481 |
|
|
<dt><code><?xml-stylesheet?></code> (XML style sheet |
482 |
wakaba |
1.11 |
<abbr title="processing instruction">PI</abbr>)</dt> |
483 |
wakaba |
1.9 |
<dd>Use HTML <code>link</code> element with <code>rel</code> |
484 |
|
|
attribute set to <code>stylesheet</code> (or, |
485 |
|
|
<code>alternate stylesheet</code> for an alternate style |
486 |
wakaba |
1.14 |
sheet). |
487 |
|
|
<pre class="example html"> |
488 |
wakaba |
1.21 |
<code><link rel=stylesheet href="path/to/stylesheet.css"></code></pre> |
489 |
wakaba |
1.14 |
</dd> |
490 |
wakaba |
1.11 |
<dt><code><?php?></code> or |
491 |
|
|
<code><? <var>... <abbr>PHP</abbr> code ...</var> ?></code> |
492 |
|
|
(<abbr>PHP</abbr> code)</dt> |
493 |
wakaba |
1.9 |
<dd>The conformance checker does <em>not</em> support |
494 |
|
|
checking for PHP source documents.</dd> |
495 |
|
|
<dt>Other processing instructions</dt> |
496 |
|
|
<dd>Processing instructions cannot be inserted in an HTML |
497 |
|
|
document. Use XML document or insert |
498 |
|
|
<code>ProcessingInstruction</code> node by scripting.</dd> |
499 |
|
|
</dl> |
500 |
wakaba |
1.5 |
|
501 |
|
|
<p>Web browsers will parse processing instructions as bogus |
502 |
|
|
comments. Some legacy Web browsers, such as IE:mac and |
503 |
wakaba |
1.9 |
some mobile Web browsers, will display processing instructions |
504 |
wakaba |
1.5 |
as string.</p> |
505 |
|
|
</div> |
506 |
|
|
|
507 |
wakaba |
1.25 |
<div class="section tokenize-error" id="string-after-DOCTYPE-name"><h3>There is a bogus string after the document type |
508 |
|
|
name.</h3></div> |
509 |
|
|
|
510 |
|
|
<div class="section tokenize-error" id="string-after-PUBLIC"><h3>There is a bogus string after the keyword |
511 |
|
|
<code>PUBLIC</code>.</h3></div> |
512 |
|
|
|
513 |
|
|
<div class="section tokenize-error" id="string-after-PUBLIC-literal"><h3>There is a bogus string after the public |
514 |
|
|
identifier.</h3></div> |
515 |
|
|
|
516 |
|
|
<div class="section tokenize-error" id="string-after-SYSTEM"><h3>There is a bogus string after the keyword |
517 |
|
|
<code>SYSTEM</code>.</h3></div> |
518 |
|
|
|
519 |
|
|
<div class="section tokenize-error" id="string-after-SYSTEM-literal"><h3>There is a bogus string after the system |
520 |
|
|
identifier.</h3></div> |
521 |
|
|
|
522 |
|
|
<div class="section tokenize-error" id="unclosed-attribute-value"><h3>Attribute value is not closed by a quotation |
523 |
|
|
mark.</h3></div> |
524 |
|
|
|
525 |
|
|
<div class="section tokenize-error" id="unclosed-comment"><h3>Comment is not closed by a string |
526 |
|
|
<code>--></code>.</h3></div> |
527 |
|
|
|
528 |
|
|
<div class="section tokenize-error" id="unclosed-DOCTYPE"><h3>The <code>DOCTYPE</code> is not closed by a |
529 |
|
|
<code>></code> character.</h3></div> |
530 |
|
|
|
531 |
|
|
<div class="section tokenize-error" id="unclosed-PUBLIC-literal"><h3>The public identifier literal is not closed by a |
532 |
|
|
quotation mark.</h3></div> |
533 |
|
|
|
534 |
|
|
<div class="section tokenize-error" id="unclosed-SYSTEM-literal"><h3>The system identifier literal is not closed by a |
535 |
|
|
quotation mark.</h3></div> |
536 |
|
|
|
537 |
|
|
<div class="section tokenize-error" id="unclosed-tag"><h3>Tag is not closed by a <code>></code> |
538 |
|
|
character.</h3></div> |
539 |
|
|
|
540 |
wakaba |
1.1 |
</section> |
541 |
|
|
|
542 |
wakaba |
1.2 |
<section id="html5-parse-errors"> |
543 |
|
|
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
544 |
|
|
|
545 |
wakaba |
1.25 |
<div class="section parse-error" id="after-body"><h3>Start tag <code><<var>{text}</var>></code> is |
546 |
|
|
not allowed after the <code>body</code> is closed.</h3></div> |
547 |
|
|
|
548 |
|
|
<div class="section parse-error" id="after-body:/"><h3>End tag <code></<var>{text}</var>></code> is |
549 |
|
|
not allowed after the <code>body</code> is closed.</h3></div> |
550 |
|
|
|
551 |
|
|
<div class="section parse-error" id="after-body:#text"><h3>Non‐white‐space characters are not allowed |
552 |
|
|
after the <code>body</code> is closed.</h3></div> |
553 |
|
|
|
554 |
|
|
<div class="section parse-error" id="after-frameset"><h3>Start tag <code><<var>{text}</var>></code> is |
555 |
|
|
not allowed after the <code>frameset</code> is closed.</h3></div> |
556 |
|
|
|
557 |
|
|
<div class="section parse-error" id="after-frameset:/"><h3>End tag <code></<var>{text}</var>></code> is |
558 |
|
|
not allowed after the <code>frameset</code> is closed.</h3></div> |
559 |
|
|
|
560 |
|
|
<div class="section parse-error" id="after-frameset:#text"><h3>Non‐white‐space characters are not allowed |
561 |
|
|
after the <code>frame</code> is closed.</h3></div> |
562 |
|
|
|
563 |
|
|
<div class="section parse-error" id="after-head"><h3>The <code><var>{text}</var></code> element cannot be |
564 |
|
|
inserted between <code>head</code> and <code>body</code> |
565 |
|
|
elements.</h3> |
566 |
wakaba |
1.3 |
<p>A start tag appears after the <code>head</code> element is closed |
567 |
wakaba |
1.2 |
but before the <code>body</code> element is opened. |
568 |
|
|
The document is non-conforming.</p> |
569 |
|
|
</div> |
570 |
|
|
|
571 |
wakaba |
1.25 |
<div class="section parse-error" id="after-html"><h3>Start tag <code><<var>{text}</var>></code> is |
572 |
|
|
not allowed after the <code>html</code> is closed.</h3></div> |
573 |
|
|
|
574 |
|
|
<div class="section parse-error" id="after-html:/"><h3>End tag <code></<var>{text}</var>></code> is |
575 |
|
|
not allowed after the <code>html</code> is closed.</h3></div> |
576 |
|
|
|
577 |
|
|
<div class="section parse-error" id="after-html:#text"><h3>Non‐white‐space characters are not allowed |
578 |
|
|
after the <code>html</code> is closed.</h3></div> |
579 |
|
|
|
580 |
|
|
<div class="section parse-error" id="image"><h3>The <code>image</code> element is |
581 |
|
|
obsolete.</h3></div> |
582 |
wakaba |
1.4 |
|
583 |
wakaba |
1.5 |
<div class="section parse-error" id="in-a:a"><h3>Anchor cannot be nested.</h3> |
584 |
|
|
<p>HTML <code>a</code> elements cannot be nested. |
585 |
|
|
The document is non-conforming.</p> |
586 |
|
|
|
587 |
|
|
<p>In the HTML syntax, a start tag of the <code>a</code> |
588 |
|
|
implies the end tag of any opening <code>a</code> element.</p> |
589 |
|
|
</div> |
590 |
|
|
|
591 |
wakaba |
1.25 |
<div class="section parse-error" id="in-body"><h3>Start tag <code><<var>{text}</var>></code> |
592 |
wakaba |
1.9 |
is not allowed in the <code>body</code> element.</h3> |
593 |
wakaba |
1.4 |
<p>The start or end tag of an element, which |
594 |
|
|
cannot be a descendant of <code>body</code> element, appears |
595 |
|
|
in the input stream while the <code>body</code> element has been opened. |
596 |
|
|
The document is non-conforming.</p> |
597 |
|
|
</div> |
598 |
|
|
|
599 |
wakaba |
1.25 |
<div class="section parse-error" id="in-body:#eof"><h3>Some element is not closed before the end of |
600 |
|
|
file.</h3></div> |
601 |
|
|
|
602 |
|
|
<div class="section parse-error" id="in-button:button"><h3>The <code>button</code> element cannot be |
603 |
|
|
nested.</h3></div> |
604 |
|
|
|
605 |
|
|
<div class="section parse-error" id="in-CDATA:#eof"><h3>Element is not closed before the end of |
606 |
|
|
file.</h3></div> |
607 |
|
|
|
608 |
|
|
<div class="section parse-error" id="in-form:form"><h3>Start tag <code><form></code> is |
609 |
|
|
not allowed in a <code>form</code> element.</h3></div> |
610 |
|
|
|
611 |
|
|
<div class="section parse-error" id="in-frameset"><h3>Start tag <code><<var>{text}</var>></code> is |
612 |
|
|
not allowed in a <code>framset</code> element.</h3></div> |
613 |
|
|
|
614 |
|
|
<div class="section parse-error" id="in-frameset:/"><h3>End tag <code></<var>{text}</var>></code> is |
615 |
|
|
not allowed in a <code>frameset</code> element.</h3></div> |
616 |
|
|
|
617 |
|
|
<div class="section parse-error" id="in-frameset:#text"><h3>Non‐white‐space characters are not allowed |
618 |
|
|
in a <code>frameset</code> element.</h3></div> |
619 |
|
|
|
620 |
wakaba |
1.9 |
<div class="section parse-error" id="in-head:head"><h3>Start tag <code><head></code> |
621 |
wakaba |
1.6 |
is not allowed in the <code>head</code> element.</h3> |
622 |
|
|
<p>There is a start tag <code><head></code> in the |
623 |
|
|
<code><head></code> element. The document is non-conforming.</p> |
624 |
|
|
|
625 |
|
|
<p>In an HTML document there must not be more than |
626 |
|
|
one <code>head</code> element, therefore no more than one |
627 |
|
|
start tag <code><head></code> can appear in the input stream.</p> |
628 |
|
|
</div> |
629 |
|
|
|
630 |
wakaba |
1.25 |
<div class="section parse-error" id="in-html:#DOCTYPE"><h3>A <code>DOCTYPE</code> appears after any |
631 |
|
|
element or data character has been seen.</h3> |
632 |
|
|
<p>A <code>DOCTYPE</code> appears after any element or data character |
633 |
|
|
has been seen. The document is non-conforming.</p> |
634 |
|
|
|
635 |
|
|
<p>The <code>DOCTYPE</code> must be placed before any |
636 |
|
|
tag, reference, or data character. Only white space characters |
637 |
|
|
and comments can be inserted before the <code>DOCTYPE</code>.</p> |
638 |
|
|
</div> |
639 |
|
|
|
640 |
|
|
<div class="section parse-error" id="in-nobr:nobr"><h3>The <code>nobr</code> element cannot be |
641 |
|
|
nested.</h3></div> |
642 |
|
|
|
643 |
|
|
<div class="section parse-error" id="in-noscript"><h3>The <code><var>{text}</var></code> element is not |
644 |
|
|
allowed in a <code>noscript</code> element in the |
645 |
|
|
<code>head</code> element.</h3></div> |
646 |
|
|
|
647 |
|
|
<div class="section parse-error" id="in-noscript:/"><h3>An end tag <code></<var>{text}</var>></code> |
648 |
|
|
appers before the <code>noscript</code> element is closed.</h3></div> |
649 |
|
|
|
650 |
|
|
<div class="section parse-error" id="in-noscript:#eof"><h3>A <code>noscript</code> element is not closed |
651 |
|
|
before the end of file.</h3></div> |
652 |
|
|
|
653 |
|
|
<div class="section parse-error" id="in-noscript:#text"><h3>Non‐white‐space characters are not allowed |
654 |
|
|
in a <code>noscript</code> element in the <code>head</code> |
655 |
|
|
element.</h3></div> |
656 |
|
|
|
657 |
|
|
<div class="section parse-error" id="in-PCDATA:#eof"><h3>Element is not closed before the end of |
658 |
|
|
file.</h3></div> |
659 |
|
|
|
660 |
|
|
<div class="section parse-error" id="in-select"><h3>Start tag <code><<var>{text}</var>></code> |
661 |
|
|
is not allowed in a <code>select</code> element.</h3></div> |
662 |
|
|
|
663 |
|
|
<div class="section parse-error" id="in-select:/"><h3>End tag <code></<var>{text}</var>></code> |
664 |
|
|
is not allowed in a <code>select</code> element.</h3></div> |
665 |
|
|
|
666 |
|
|
<div class="section parse-error" id="in-table"><h3>Start tag <code><<var>{text}</var>></code> |
667 |
wakaba |
1.6 |
is not allowed in a <code>table</code> element.</h3> |
668 |
wakaba |
1.4 |
<p>The start or end tag of an element, which |
669 |
|
|
cannot be a child of <code>table</code> element, appears |
670 |
|
|
in the input stream while the <code>table</code> element has been opened |
671 |
|
|
but no other element has been opened. The document is non-conforming.</p> |
672 |
wakaba |
1.3 |
|
673 |
|
|
<p>In <code>table</code>, only table related elements |
674 |
|
|
are allowed; any other element must be contained in |
675 |
|
|
<code>td</code> or <code>th</code> element to form |
676 |
|
|
a part of the table, or <code>caption</code> element to create |
677 |
|
|
a table caption.</p> |
678 |
|
|
</div> |
679 |
|
|
|
680 |
wakaba |
1.25 |
<div class="section parse-error" id="in-table:/"><h3>End tag <code></<var>{text}</var>></code> |
681 |
|
|
is not allowed in a <code>table</code> element.</h3></div> |
682 |
|
|
|
683 |
|
|
<div class="section parse-error" id="in-table:#text"><h3>Non‐white‐space character is not allowed within |
684 |
|
|
the <code>table</code> element, outside of the caption and cells.</h3> |
685 |
|
|
<p>A non‐white‐space character appears in <code>table</code>. |
686 |
|
|
The document is non-conforming.</p> |
687 |
wakaba |
1.3 |
|
688 |
|
|
<p>In <code>table</code>, only table related elements |
689 |
|
|
are allowed; any other element and data character must be contained in |
690 |
|
|
<code>td</code> or <code>th</code> element to form |
691 |
|
|
a part of the table, or <code>caption</code> element to create |
692 |
|
|
a table caption.</p> |
693 |
|
|
</div> |
694 |
|
|
|
695 |
wakaba |
1.25 |
<div class="section parse-error" id="isindex"><h3>The <code>isindex</code> element is |
696 |
|
|
obsolete.</h3></div> |
697 |
|
|
|
698 |
wakaba |
1.3 |
<div class="section parse-error" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code> |
699 |
|
|
element is missing.</h3> |
700 |
|
|
<p>Start tag of a <code>tr</code> element, which is <em>not</em> |
701 |
|
|
optional, is missing. The document is non-conforming.</p> |
702 |
|
|
|
703 |
|
|
<p>In a table section, a <code><tr></code> start tag |
704 |
|
|
must occur before any <code><td></code> or |
705 |
|
|
<code><th></code> start tag. Though the HTML5 parser |
706 |
|
|
implies the <code><tr></code> start tag before |
707 |
|
|
these start tags, it must be explicitly specified.</p> |
708 |
|
|
</div> |
709 |
|
|
|
710 |
wakaba |
1.6 |
<div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with a |
711 |
wakaba |
1.3 |
<code>DOCTYPE</code>.</h3> |
712 |
|
|
<p>The document does not start with a <code>DOCTYPE</code>. |
713 |
|
|
The document is non-conforming.</p> |
714 |
|
|
|
715 |
|
|
<p>An HTML document must start by a <code>DOCTYPE</code>: |
716 |
|
|
<pre class="html example"> |
717 |
|
|
<code><!DOCTYPE HTML></code></pre> |
718 |
|
|
</p> |
719 |
|
|
|
720 |
|
|
<p>Only white space characters and comments are allowed |
721 |
wakaba |
1.11 |
before the <code>DOCTYPE</code>. XML declaration is <em>not</em> |
722 |
|
|
allowed in HTML document.</p> |
723 |
wakaba |
1.3 |
</div> |
724 |
wakaba |
1.2 |
|
725 |
wakaba |
1.25 |
<div class="section parse-error" id="not-closed"><h3>Element <code><var>{text}</var></code> is not |
726 |
wakaba |
1.3 |
closed.</h3> |
727 |
|
|
<p>End tag of an element is not found before, for example, |
728 |
|
|
an end tag of another element appears or |
729 |
|
|
the end of the document. The document is non-conforming.</p> |
730 |
wakaba |
1.10 |
|
731 |
wakaba |
1.11 |
<p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>, |
732 |
|
|
<code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>, |
733 |
wakaba |
1.10 |
<code>ol</code>, <code>option</code>, <code>optgroup</code>, |
734 |
wakaba |
1.11 |
<code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, |
735 |
|
|
<code>tbody</code>, <code>td</code>, <code>tfoot</code>, |
736 |
|
|
<code>th</code>, <code>thead</code>, <code>tr</code>, |
737 |
|
|
<code>ul</code> end tag can be omitted in HTML documents. |
738 |
wakaba |
1.10 |
For any element except for void element, there must be an explicit |
739 |
|
|
end tag.</p> |
740 |
|
|
|
741 |
wakaba |
1.11 |
<dl class="switch"> |
742 |
|
|
<dt>HTML <code>canvas</code> element</dt> |
743 |
|
|
<dd>Though the element is void in earlier versions of Safari, |
744 |
|
|
the <code>canvas</code> element is <em>no</em> longer |
745 |
|
|
defined as empty. There must be an end tag |
746 |
wakaba |
1.14 |
<code class="html example"></canvas></code>.</dd> |
747 |
wakaba |
1.11 |
</dl> |
748 |
|
|
|
749 |
wakaba |
1.10 |
<p>Note that misnesting tags, such as |
750 |
|
|
<code class="bad example"><a><b></a></b></code>, are not |
751 |
|
|
allowed and they also cause this error.</p> |
752 |
wakaba |
1.3 |
</div> |
753 |
wakaba |
1.2 |
|
754 |
wakaba |
1.6 |
<div class="section parse-error" id="not-first-start-tag"><h3>This <code><html></code> tag is not |
755 |
|
|
the first start tag.</h3> |
756 |
|
|
<p>There is a start tag of the <code>html</code> element |
757 |
|
|
that it not the first start tag in the input stream. |
758 |
|
|
The document is non-conforming.</p> |
759 |
|
|
|
760 |
|
|
<p>In an HTML document, there cannot be more than one |
761 |
|
|
<code>html</code> element and therefore there cannot be |
762 |
|
|
more than one <code><html></code> tag. In addition, |
763 |
|
|
nothing can be placed before the <code><html></code> tag |
764 |
|
|
except a <code>DOCTYPE</code>, white space characters, |
765 |
|
|
and comments.</p> |
766 |
|
|
</div> |
767 |
|
|
|
768 |
wakaba |
1.2 |
<div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of |
769 |
wakaba |
1.3 |
HTML.</h3> |
770 |
|
|
<p>The document contains a <code>DOCTYPE</code> declaration |
771 |
wakaba |
1.6 |
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
772 |
wakaba |
1.14 |
<code class="example html"><!DOCTYPE HTML></code>). |
773 |
|
|
The document is non‐conforming.</p> |
774 |
wakaba |
1.3 |
|
775 |
|
|
<p>The document might or might not be conformant to |
776 |
|
|
some version of HTML. However, conformance to any HTML |
777 |
|
|
specification other than HTML5 provides for no practical |
778 |
|
|
convenience, since Web borwsers will parse any |
779 |
|
|
HTML document (roughly) as defined in HTML5.</p> |
780 |
|
|
</div> |
781 |
wakaba |
1.2 |
|
782 |
wakaba |
1.25 |
<div class="section parse-error" id="start-tag-not-allowed"><h3>Start tag <code><<var>{text}</var>></code> is |
783 |
|
|
not allowed here.</h3></div> |
784 |
|
|
|
785 |
|
|
<div class="section parse-error" id="unmatched-end-tag"><h3>Element <code><var>{text}</var></code> is not |
786 |
wakaba |
1.4 |
opened.</h3> |
787 |
|
|
<p>An end tag appears though no element with the same name |
788 |
|
|
has been opened. The document is non-conforming.</p> |
789 |
|
|
|
790 |
|
|
<p>For any end tag in HTML document, there must be a |
791 |
|
|
corresponding start tag.</p> |
792 |
wakaba |
1.11 |
|
793 |
|
|
<dl class="switch"> |
794 |
|
|
<dt>HTML <code>base</code>, <code>basefont</code>, |
795 |
|
|
<code>bgsound</code>, <code>br</code>, <code>col</code>, |
796 |
|
|
<code>embed</code>, <code>frame</code>, <code>hr</code>, |
797 |
|
|
<code>image</code>, <code>img</code>, <code>input</code>, |
798 |
|
|
<code>isindex</code>, <code>link</code>, <code>meta</code>, |
799 |
|
|
<code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt> |
800 |
|
|
<dd>End tag is not allowed for these elements, since |
801 |
|
|
those content must always be empty. Remove end tag.</dd> |
802 |
|
|
<!-- keygen --> |
803 |
|
|
<!-- command, event-source, nest, source --> |
804 |
|
|
</dl> |
805 |
wakaba |
1.4 |
</div> |
806 |
wakaba |
1.2 |
|
807 |
|
|
</section> |
808 |
|
|
|
809 |
wakaba |
1.1 |
<section id="element-content-model-errors"> |
810 |
|
|
<h2>Element Content Model Errors</h2> |
811 |
|
|
|
812 |
wakaba |
1.26 |
<div class="section " id="basehref-after-URL-attribute"><h3>The <code>base</code> element with the |
813 |
|
|
<code>href</code> attribute specified cannot be placed after |
814 |
|
|
any attribute with a URL.</h3></div> |
815 |
|
|
|
816 |
|
|
<div class="section " id="basetarget-after-hyperlink"><h3>The <code>base</code> element with the |
817 |
|
|
<code>target</code> attribute specified cannot be placed after |
818 |
|
|
any element that defines a hyperlink.</h3></div> |
819 |
|
|
|
820 |
|
|
<div class="section " id="character-not-allowed"><h3>Data character is not allowed in this |
821 |
wakaba |
1.1 |
context.</h3> |
822 |
wakaba |
1.3 |
<p>A data character appears where it is not allowed in this |
823 |
wakaba |
1.1 |
context. The document is non-conforming.</p> |
824 |
|
|
|
825 |
|
|
<p>Possible causes: |
826 |
wakaba |
1.6 |
<ul> |
827 |
|
|
<li><p>A data character cannot be a child |
828 |
|
|
of certain sectioning elements such as <code>body</code>, |
829 |
|
|
<code>section</code>, and <code>blockquote</code>.</p> |
830 |
|
|
|
831 |
|
|
<p>Any inline-level content must be put |
832 |
|
|
in e.g. paragraph element such as <code>p</code>.</p></li> |
833 |
|
|
<li><p>Though some elements such as <code>div</code>, |
834 |
|
|
<code>li</code>, and <code>td</code> allow |
835 |
|
|
<em>either one</em> of block-level or inline-level content |
836 |
|
|
is allowed. If there is a block-level content, |
837 |
|
|
any inline-level content must be put |
838 |
|
|
in e.g. paragraph element such as <code>p</code>.</p></li> |
839 |
|
|
</ul> |
840 |
wakaba |
1.1 |
</p> |
841 |
|
|
</div> |
842 |
|
|
|
843 |
wakaba |
1.26 |
<div class="section " id="character-not-allowed:empty"><h3>Non‐white‐space characters are not allowed in |
844 |
|
|
an empty element.</h3></div> |
845 |
|
|
|
846 |
|
|
<div class="section " id="child-element-missing"><h3>There must be a <code><var>{text}</var></code> |
847 |
wakaba |
1.1 |
element as a child of this element.</h3> |
848 |
|
|
<p>The content model of the element is so defined that it |
849 |
|
|
must contain a <code><var>$0</var></code> child element. |
850 |
wakaba |
1.3 |
The document is non-conforming.</p> |
851 |
wakaba |
1.1 |
|
852 |
wakaba |
1.11 |
<dl class="switch"> |
853 |
|
|
<dt>HTML <code>head</code> element</dt> |
854 |
|
|
<dd>There must be a <code>title</code> child element.</dd> |
855 |
|
|
<dt>HTML <code>html</code> element</dt> |
856 |
|
|
<dd>There must be a <code>head</code> child element followed |
857 |
|
|
by a <code>body</code> element.</dd> |
858 |
|
|
<dt>HTML <code>tr</code> element</dt> |
859 |
|
|
<dd><a href="#child-element-missing:td%7Cth">There must be |
860 |
|
|
one or more <code>td</code> or <code>th</code> child element.</a></dd> |
861 |
|
|
</dl> |
862 |
wakaba |
1.1 |
</div> |
863 |
|
|
|
864 |
|
|
<div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code> |
865 |
|
|
or <code>th</code> element as a child of this element.</h3> |
866 |
|
|
<p>The <code>tr</code> element must contain at least one |
867 |
wakaba |
1.3 |
<code>td</code> or <code>th</code> child element. The document |
868 |
|
|
is non-conforming.</p> |
869 |
wakaba |
1.1 |
</div> |
870 |
|
|
|
871 |
wakaba |
1.26 |
<div class="section " id="element-missing:hn"><h3>There must be at least one |
872 |
|
|
<code>h<var>n</var></code> element descendant.</h3></div> |
873 |
|
|
|
874 |
wakaba |
1.1 |
<div class="section content-model-error" id="element-not-allowed"><h3>This element is not allowed in this |
875 |
|
|
context.</h3> |
876 |
wakaba |
1.3 |
<p>An element appears where it is not allowed. The document |
877 |
wakaba |
1.1 |
is non-conforming.</p> |
878 |
|
|
|
879 |
|
|
<p>Possible causes: |
880 |
wakaba |
1.6 |
<dl class="switch"> |
881 |
|
|
<dt>If the element with the error is an inline-level element, |
882 |
|
|
such as <code>a</code>, <code>progress</code>, or <code>img</code></dt> |
883 |
wakaba |
1.1 |
<dd><p>An inline-level element cannot be a child |
884 |
|
|
of certain sectioning elements such as <code>body</code>, |
885 |
|
|
<code>section</code>, and <code>blockquote</code>.</p> |
886 |
|
|
|
887 |
|
|
<p>Any inline-level content must be put |
888 |
|
|
in e.g. paragraph element such as <code>p</code>.</p></dd> |
889 |
wakaba |
1.9 |
<dt>If it is a block-level elements, such as <code>aside</code>, |
890 |
|
|
<code>div</code>, <code>h<var>n</var></code>, |
891 |
|
|
<code>p</code>, or <code>section</code></dt> |
892 |
|
|
<dd><dl class="switch"> |
893 |
|
|
<dt>If the parent element is <code>div</code>, |
894 |
|
|
<code>li</code>, <code>td</code>, or <code>th</code></dt> |
895 |
|
|
<!-- @@ TODO: more... --> |
896 |
wakaba |
1.10 |
<!-- @@ TODO: <p><ul><li><p> --> |
897 |
wakaba |
1.9 |
<dd><p>The parent element allows <em>either</em> |
898 |
|
|
block-level or inline-level content. If there is a |
899 |
|
|
block-level content, any inline-level content must be |
900 |
|
|
put in e.g. paragraph element such as <code>p</code>.</p> |
901 |
|
|
<p>For example, an HTML document fragment |
902 |
wakaba |
1.14 |
<code class="html bad example"><div><p>Hello!</p> World!</div></code> |
903 |
wakaba |
1.9 |
is non-conforming, since a word <q>World!</q> does not belong |
904 |
|
|
to any paragraph. (If not part of any paragraph, what is |
905 |
|
|
it!?) A conforming example would be: |
906 |
wakaba |
1.14 |
<pre class="html example"> |
907 |
wakaba |
1.9 |
<code><div><p>Hello!</p> <p>World!</p></div></code></pre> |
908 |
|
|
</p></dd> |
909 |
|
|
<dt>If the parent element does <em>not</em> allow |
910 |
|
|
block-level elements as content</dt> |
911 |
|
|
<dd>The element is not allowed to be inserted here. |
912 |
|
|
For example, a <code>div</code> element cannot be |
913 |
|
|
a child of an <code>h1</code> element.</dd> |
914 |
|
|
</dl></dd> |
915 |
wakaba |
1.6 |
<dt>If the element with the error is a <code>noscript</code> element</dt> |
916 |
|
|
<dd>The <code>noscript</code> element is allowed only in the context |
917 |
|
|
where a block-level or inline-level content is expected |
918 |
|
|
and in the <code>head</code> element. |
919 |
|
|
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
920 |
|
|
or <code>select</code>.</dd> |
921 |
wakaba |
1.8 |
<dt>If the element with the error is <code>blink</code>, |
922 |
|
|
<code>center</code>, or <code>marquee</code> element</dt> |
923 |
|
|
<dd>These elements are not part of the HTML standard. |
924 |
|
|
Use CSS for styling control.</dd> |
925 |
wakaba |
1.9 |
|
926 |
wakaba |
1.11 |
<dt><code>button</code>, <code>datalist</code>, |
927 |
|
|
<code>fieldset</code>, <code>form</code>, |
928 |
wakaba |
1.9 |
<code>input</code>, <code>label</code>, |
929 |
|
|
<code>optgroup</code>, <code>option</code>, <code>output</code>, |
930 |
|
|
<code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>, |
931 |
|
|
<code>textarea</code>, or <code>textarea</code> element</dt> |
932 |
|
|
<!-- rbc, rtc ? --> |
933 |
|
|
<dd>These elements are intentionally not supported by the conformance |
934 |
|
|
checker <em>yet</em>.</dd> |
935 |
wakaba |
1.1 |
</dl> |
936 |
|
|
</p> |
937 |
|
|
</div> |
938 |
|
|
|
939 |
wakaba |
1.26 |
<div class="section " id="element-not-allowed:area"><h3>An <code>area</code> element cannot be used |
940 |
|
|
outside of a <code>map</code> element.</h3></div> |
941 |
|
|
|
942 |
|
|
<div class="section " id="element-not-allowed:base"><h3>There is another <code>base</code> |
943 |
|
|
element.</h3></div> |
944 |
|
|
|
945 |
|
|
<div class="section " id="element-not-allowed:datatemplate"><h3>In a <code>datatemplate</code> element, only |
946 |
|
|
<code>rule</code> elements are allowed.</h3></div> |
947 |
|
|
|
948 |
|
|
<div class="section " id="element-not-allowed:details-legend"><h3>In a <code>details</code> element, only at the |
949 |
|
|
beginning of the element a <code>lengend</code> element |
950 |
|
|
may be used.</h3></div> |
951 |
|
|
|
952 |
|
|
<div class="section " id="element-not-allowed:empty"><h3>Elements are not allowed in an empty |
953 |
|
|
element.</h3></div> |
954 |
|
|
|
955 |
|
|
<div class="section " id="element-not-allowed:figure-legend"><h3>In a <code>figure</code> element, only at the |
956 |
|
|
beginning or only at the end of the element a <code>lengend</code> element |
957 |
|
|
may be used.</h3></div> |
958 |
|
|
|
959 |
|
|
<div class="section " id="element-not-allowed:flow"><h3>This element is not allowed where flow |
960 |
|
|
content is expected.</h3></div> |
961 |
|
|
|
962 |
|
|
<div class="section " id="element-not-allowed:flow-style"><h3>A <code>style</code> element without |
963 |
|
|
<code>scoped</code> attribute is not allowed in this context.</h3></div> |
964 |
|
|
|
965 |
|
|
<div class="section " id="element-not-allowed:head-noscript"><h3>This element is not allowed in a |
966 |
|
|
<code>noscript</code> element in the <code>head</code> element.</h3></div> |
967 |
|
|
|
968 |
|
|
<div class="section " id="element-not-allowed:head-style"><h3>A <code>style</code> element with |
969 |
|
|
<code>scoped</code> attribute is not allowed in the <code>head</code> |
970 |
|
|
element.</h3></div> |
971 |
|
|
|
972 |
|
|
<div class="section " id="element-not-allowed:head-title"><h3>There is another <code>title</code> |
973 |
|
|
element.</h3></div> |
974 |
|
|
|
975 |
|
|
<div class="section " id="element-not-allowed:minus"><h3>This element is not allowed in this |
976 |
|
|
context.</h3></div> |
977 |
|
|
|
978 |
|
|
<div class="section " id="element-not-allowed:meta-charset"><h3>The character encoding declaration must be the |
979 |
|
|
first element in the <code>head</code> element.</h3></div> |
980 |
|
|
|
981 |
|
|
<div class="section " id="element-not-allowed:metadata"><h3>This element is not allowed where metadata |
982 |
|
|
content is expected.</h3></div> |
983 |
|
|
|
984 |
|
|
<div class="section " id="element-not-allowed:phrasing"><h3>This element is not allowed where phrasing |
985 |
|
|
content is expected.</h3></div> |
986 |
|
|
|
987 |
|
|
<div class="section " id="element-not-allowed:root"><h3>This element is not allowed as the root |
988 |
|
|
element of a document.</h3> |
989 |
wakaba |
1.11 |
<p>An element that is not allowed as the root element |
990 |
|
|
is used as the root element of the document. The document is |
991 |
|
|
non-conforming, as far as the conformance checker can tell.</p> |
992 |
|
|
|
993 |
|
|
<dl class="switch"> |
994 |
|
|
<dt><code>html</code> element in an XHTML document</dt> |
995 |
wakaba |
1.14 |
<dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code> |
996 |
|
|
element must have an <code>xmlns</code> attribute as: |
997 |
|
|
<pre class="xml example"> |
998 |
wakaba |
1.21 |
<code><html xmlns="http://www.w3.org/1999/xhtml"></code></pre></p></dd> |
999 |
wakaba |
1.11 |
<dt><code>rss</code> element</dt> |
1000 |
|
|
<dd><p>The document is written in some version of RSS.</p> |
1001 |
|
|
<p>The conformance checker does not support any version |
1002 |
|
|
of RSS. Use Atom 1.0 for feed documents.</p></dd> |
1003 |
|
|
<dt><code>feed</code> element</dt> |
1004 |
|
|
<dd><p>The Atom <code>feed</code> element must be |
1005 |
wakaba |
1.14 |
in the <code>http://www.w3.org/2005/Atom</code> |
1006 |
|
|
namespace as: |
1007 |
|
|
<pre class="xml example"> |
1008 |
wakaba |
1.21 |
<code><feed xmlns="http://www.w3.org/2005/Atom"></code></pre> |
1009 |
wakaba |
1.14 |
</p> |
1010 |
wakaba |
1.11 |
<p>The conformance checker does not support Atom 0.3. |
1011 |
|
|
Use Atom 1.0 for feed documents.</p></dd> |
1012 |
|
|
</dl> |
1013 |
|
|
</div> |
1014 |
|
|
|
1015 |
wakaba |
1.26 |
<div class="section " id="element-not-allowed:root:xml"><h3>This element is not allowed as the root element |
1016 |
|
|
of an XML document.</h3></div> |
1017 |
|
|
|
1018 |
|
|
<div class="section " id="element-not-allowed:ruby-base"><h3>This element is not allowed in the <code>ruby</code> |
1019 |
|
|
element.</h3></div> |
1020 |
|
|
|
1021 |
|
|
<div class="section " id="element-not-allowed:text"><h3>This element is not allowed in this |
1022 |
|
|
context.</h3></div> |
1023 |
|
|
|
1024 |
|
|
<div class="section " id="element-not-defined"><h3>This element is not defined.</h3></div> |
1025 |
|
|
|
1026 |
|
|
<div class="section " id="no-significant-content"><h3>No significant content is contained |
1027 |
|
|
in this element.</h3></div> |
1028 |
|
|
|
1029 |
|
|
<div class="section " id="no-significant-content-before"><h3>There is no significant content |
1030 |
|
|
before this element.</h3></div> |
1031 |
|
|
|
1032 |
|
|
<div class="section " id="no-significant-content-at-the-end"><h3>No significant content is contained |
1033 |
|
|
at the end of this element.</h3></div> |
1034 |
|
|
|
1035 |
|
|
<div class="section " id="ps-element-missing"><h3>There is no <code><var>{text}</var></code> |
1036 |
wakaba |
1.6 |
element before this element.</h3> |
1037 |
|
|
<p>There must be an element before another element, but there |
1038 |
|
|
is not. The document is non-conforming.</p> |
1039 |
|
|
|
1040 |
|
|
<p>For example, there must be a <code>dt</code> element |
1041 |
|
|
before any <code>dd</code> element.</p> |
1042 |
|
|
</div> |
1043 |
|
|
|
1044 |
wakaba |
1.26 |
<div class="section " id="rp:syntax-error"><h3>The content of a <code>rp</code> element must |
1045 |
|
|
be a parenthesis.</h3></div> |
1046 |
|
|
|
1047 |
wakaba |
1.2 |
</section> |
1048 |
|
|
|
1049 |
wakaba |
1.3 |
<section id="attribute-errors"> |
1050 |
|
|
<h2>Attribute Errors</h2> |
1051 |
|
|
|
1052 |
wakaba |
1.26 |
<div class="section " id="attribute-missing"><h3>Required attribute <code><var>{text}</var></code> |
1053 |
wakaba |
1.3 |
is not specified.</h3> |
1054 |
|
|
<p>A required attribute is not specified. The document |
1055 |
|
|
is non-conforming.</p> |
1056 |
|
|
|
1057 |
|
|
<p>Some attribute is defined as <i>required</i>. |
1058 |
|
|
Without required attributes specified, user agents |
1059 |
wakaba |
1.9 |
cannot provide full functionality of the element to the user.</p> |
1060 |
|
|
|
1061 |
|
|
<dl class="switch"> |
1062 |
|
|
<dt>HTML <code>img</code> element</dt> |
1063 |
|
|
<dd>The <code>src</code> attribute must be specified. |
1064 |
|
|
Additionally, the <code>alt</code> attribute must be specified |
1065 |
|
|
in many cases.</dd> |
1066 |
|
|
<dt>HTML <code>link</code> element</dt> |
1067 |
|
|
<dd>The <code>rel</code> attribute must be specified. |
1068 |
|
|
Note that the <code>rev</code> attribute is obsolete.</dd> |
1069 |
|
|
</dl> |
1070 |
wakaba |
1.3 |
</div> |
1071 |
|
|
|
1072 |
wakaba |
1.26 |
<div class="section " id="attribute-missing:data|type"><h3>For an <code>object</code> at least one of |
1073 |
|
|
<code>data</code> and <code>type</code> attributes must be |
1074 |
|
|
specified.</h3></div> |
1075 |
|
|
|
1076 |
|
|
<div class="section " id="attribute-missing:href|target"><h3>For a <code>base</code> element, at least one of |
1077 |
|
|
<code>href</code> and <code>target</code> attributes must be |
1078 |
|
|
specified.</h3></div> |
1079 |
|
|
|
1080 |
|
|
<div class="section " id="attribute-missing:name|http-equiv"><h3>For a <code>meta</code> element with the |
1081 |
|
|
<code>content</code> attribute specified, exactly one of |
1082 |
|
|
<code>name</code> and <code>http-equiv</code> attributes must be |
1083 |
|
|
specified.</h3></div> |
1084 |
|
|
|
1085 |
|
|
<div class="section " id="attribute-missing:name|http-equiv|charset"><h3>For a <code>meta</code> element, exactly one of |
1086 |
|
|
<code>name</code>, <code>http-equiv</code>, and <code>charset</code> |
1087 |
|
|
attributes must be specified.</h3></div> |
1088 |
|
|
|
1089 |
|
|
<div class="section " id="attribute-not-allowed"><h3>Attribute |
1090 |
wakaba |
1.8 |
<code><var>{local-name}</var></code> is not allowed for |
1091 |
|
|
<code><var>{element-local-name}</var></code> element.</h3> |
1092 |
|
|
<p>An attribute is specified where it is not allowed. |
1093 |
|
|
The document is non-conforming.</p> |
1094 |
|
|
|
1095 |
|
|
<dl> |
1096 |
|
|
<dt>HTML <code>meta</code> element</dt> |
1097 |
|
|
<dd>For HTML <code>meta</code> element, <em>only one</em> of |
1098 |
|
|
<code>name</code>, <code>http-equiv</code>, or <code>charset</code> |
1099 |
|
|
attribute is allowed.</dd> |
1100 |
|
|
</dl> |
1101 |
|
|
</div> |
1102 |
|
|
|
1103 |
wakaba |
1.26 |
<div class="section " id="attribute-not-allowed:ismap"><h3>The <code>ismap</code> attribute may only be |
1104 |
|
|
used for the image contained in an <code>a</code> element.</h3></div> |
1105 |
|
|
|
1106 |
|
|
<div class="section " id="attribute-not-defined"><h3>This attribute is not defined.</h3></div> |
1107 |
|
|
|
1108 |
wakaba |
1.3 |
<div class="section attribute-error" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute is not |
1109 |
|
|
allowed in HTML document.</h3> |
1110 |
|
|
<p>The <code>xml:lang</code> attribute is not allowed in |
1111 |
|
|
HTML document. The document is non-conforming.</p> |
1112 |
|
|
|
1113 |
wakaba |
1.9 |
<p>Use of the <code>xml:lang</code> attribute is conforming |
1114 |
|
|
<em>only</em> in XML documents.</p> |
1115 |
wakaba |
1.3 |
|
1116 |
|
|
<p>To specify natural language information in HTML document, |
1117 |
|
|
use <code>lang</code> attribute instead.</p> |
1118 |
wakaba |
1.6 |
|
1119 |
|
|
<p>XHTML 1.0 Appendix C was encouraged to specify both |
1120 |
|
|
<code>lang</code> and <code>xml:lang</code> attributes with |
1121 |
|
|
the same value. Such a duplication has <em>no effect</em> in practice. |
1122 |
|
|
Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in |
1123 |
|
|
XML).</p> |
1124 |
|
|
|
1125 |
wakaba |
1.3 |
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
1126 |
|
|
from an HTML document? --> |
1127 |
|
|
</div> |
1128 |
|
|
|
1129 |
wakaba |
1.26 |
<div class="section " id="in-XML:charset"><h3>The <code>charset</code> attribute is not |
1130 |
wakaba |
1.3 |
allowed in XML document.</h3> |
1131 |
|
|
<p>The <code>charset</code> attribute of a |
1132 |
|
|
<code>meta</code> element is not allowed in XML document. |
1133 |
|
|
The document is non-conforming.</p> |
1134 |
|
|
|
1135 |
|
|
<p>To specify the character encoding used for serialization, |
1136 |
|
|
if necessary, use XML declaration instead: |
1137 |
|
|
<pre class="xml example"> |
1138 |
wakaba |
1.21 |
<code><?xml version="1.0" encoding="<var>encoding-name</var>"?></code></pre> |
1139 |
wakaba |
1.3 |
</p> |
1140 |
|
|
</div> |
1141 |
|
|
|
1142 |
wakaba |
1.26 |
<div class="section " id="in-XML:lang"><h3>The <code>lang</code> attribute is not |
1143 |
wakaba |
1.3 |
allowed in XML document.</h3> |
1144 |
|
|
<p>The HTML <code>lang</code> attribute is not allowed in |
1145 |
|
|
XML document. The document is non-conforming.</p> |
1146 |
|
|
|
1147 |
|
|
<p>The <code>lang</code> attribute in <code>null</code> |
1148 |
wakaba |
1.9 |
namespace for HTML elements is conforming <em>only</em> in |
1149 |
|
|
HTML documents.</p> |
1150 |
wakaba |
1.3 |
|
1151 |
|
|
<p>To specify natural language information in XML document, |
1152 |
|
|
use <code>xml:lang</code> attribute instead.</p> |
1153 |
|
|
</div> |
1154 |
|
|
|
1155 |
wakaba |
1.26 |
<div class="section " id="in-XML:noscript"><h3>A <code>noscript</code> element cannot be |
1156 |
|
|
used in XML document.</h3></div> |
1157 |
|
|
|
1158 |
|
|
<div class="section " id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute |
1159 |
wakaba |
1.3 |
in the <code>null</code> namespace is not allowed in |
1160 |
|
|
XHTML document. The document is non-conforming.</h3> |
1161 |
|
|
<p>The <code>xmlns</code> attribute in the <code>null</code> |
1162 |
|
|
namespace is not allowed in XHTML document.</p> |
1163 |
|
|
|
1164 |
wakaba |
1.9 |
<p>This error should not occur in conformance-checking of |
1165 |
wakaba |
1.3 |
static documents.</p> |
1166 |
|
|
</div> |
1167 |
|
|
|
1168 |
|
|
</section> |
1169 |
|
|
|
1170 |
wakaba |
1.2 |
<section id="attribute-value-errors"> |
1171 |
|
|
<h2>Attribute Value Errors</h2> |
1172 |
|
|
|
1173 |
wakaba |
1.26 |
<div class="section " id="boolean:invalid"><h3>Attribute value <code><var>{@}</var></code> |
1174 |
|
|
is not allowed. It must be an empty string or a string |
1175 |
|
|
<code><var>{local-name}</var></code>.</h3></div> |
1176 |
|
|
|
1177 |
|
|
<div class="section " id="char:syntax-error"><h3>The attribute value must be exactly one |
1178 |
|
|
character.</h3></div> |
1179 |
|
|
|
1180 |
|
|
<div class="section " id="charref-in-charset"><h3>A character reference cannot be used to |
1181 |
|
|
represent a character encoding name.</h3></div> |
1182 |
|
|
|
1183 |
|
|
<div class="section " id="charset:not-preferred"><h3>Character encoding name |
1184 |
|
|
<code><var>{value}</var></code> is not the preferred name of that |
1185 |
|
|
character encoding.</h3></div> |
1186 |
|
|
|
1187 |
|
|
<div class="section " id="charset:not-registered"><h3>Character encoding name |
1188 |
|
|
<code><var>{value}</var></code> is not a registered name.</h3> |
1189 |
wakaba |
1.16 |
<p>The specified character encoding name is not registered to |
1190 |
|
|
<abbr>IANA</abbr>. Use of registered character encoding name |
1191 |
|
|
is a good practice to facilitate interoperability.</p> |
1192 |
|
|
|
1193 |
|
|
<dl class="switch"> |
1194 |
|
|
<dt><code>EUC-TW</code></dt> |
1195 |
|
|
<dd><code>EUC-TW</code> is not registered. Unfortunately, there |
1196 |
|
|
is no registered name for that character encoding. Use |
1197 |
|
|
Big5 encoding with character encoding name <code>Big5</code> |
1198 |
|
|
if it is enough to represent the document.</dd> |
1199 |
|
|
<dt><code>ISO-2022-JP-1</code></dt> |
1200 |
|
|
<dd><code>ISO-2022-JP-1</code> is not registered, nevertheless |
1201 |
|
|
this character encoding name is documented in |
1202 |
|
|
<a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>. Use |
1203 |
|
|
<code>ISO-2022-JP-2</code> instead, since that character encoding |
1204 |
|
|
is a superset of ISO-2022-JP-1.</dd> |
1205 |
|
|
<dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt> |
1206 |
|
|
<dd>These names are not registered and obsoleted in favor of |
1207 |
|
|
<code>ISO-2022-JP-2004</code> and |
1208 |
|
|
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1209 |
|
|
<dt><code>ISO-2022-JP-2003</code>, |
1210 |
|
|
<code>ISO-2022-JP-2003-plane1</code></dt> |
1211 |
|
|
<dd>These names are not registered and corrected to |
1212 |
|
|
<code>ISO-2022-JP-2004</code> and |
1213 |
|
|
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1214 |
|
|
<dt><code>ISO-2022-JP-2004</code>, |
1215 |
|
|
<code>ISO-2022-JP-2004-plane1</code></dt> |
1216 |
|
|
<dd>These names are not registered. Unfortunately, there is |
1217 |
|
|
no registered name for these character encodings.</dd> |
1218 |
|
|
<dt><code>UTF-8N</code></dt> |
1219 |
|
|
<dd><code>UTF-8N</code> is not registered. Character encoding |
1220 |
|
|
name <code>UTF-8</code> represents UTF-8 encoding with or |
1221 |
|
|
without <abbr>BOM</abbr>.</dd> |
1222 |
|
|
</dl> |
1223 |
|
|
|
1224 |
|
|
<p><strong>WARNING</strong>: This error might be raised for |
1225 |
|
|
a registered character encoding name, since the character encoding |
1226 |
|
|
name database of the conformance checker is not complete yet.</p> |
1227 |
|
|
</div> |
1228 |
|
|
|
1229 |
wakaba |
1.26 |
<div class="section " id="charset:private"><h3>Character encoding name |
1230 |
|
|
<code><var>{value}</var></code> is a private name.</h3> |
1231 |
wakaba |
1.16 |
<p>The specified character encoding name is a private name and |
1232 |
|
|
not registered to <abbr>IANA</abbr>. Use of registered character |
1233 |
|
|
encoding name is a good practice to facilitate interoperability.</p> |
1234 |
|
|
|
1235 |
|
|
<dl class="switch"> |
1236 |
|
|
<dt><code>x-euc-jp</code></dt> |
1237 |
|
|
<dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr> |
1238 |
|
|
character encoding.</dd> |
1239 |
|
|
<dt><code>x-sjis</code></dt> |
1240 |
|
|
<dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of |
1241 |
|
|
<abbr>JIS</abbr> coded character set, or <code>Windows-31J</code> |
1242 |
|
|
for Microsoft standard character set as implemented by |
1243 |
|
|
Microsoft Windows.</dd> |
1244 |
|
|
</dl> |
1245 |
|
|
</div> |
1246 |
|
|
|
1247 |
wakaba |
1.26 |
<div class="section " id="charset:syntax-error"><h3>The specified value <code><var>{value}</var></code> |
1248 |
|
|
is syntactically not a character encoding name.</h3> |
1249 |
wakaba |
1.16 |
<p>The attribute value must be a character encoding name. However, |
1250 |
|
|
the specified value is not a character encoding name syntactically. |
1251 |
|
|
The document is non‐conforming.</p> |
1252 |
|
|
<p>Character encoding name is a string of <abbr>ASCII</abbr> |
1253 |
|
|
printable characters, up to 40 characters.</p> |
1254 |
|
|
</div> |
1255 |
|
|
|
1256 |
wakaba |
1.26 |
<div class="section " id="color:syntax-error"><h3>The specified value is not a color |
1257 |
|
|
name or hexadecimal color number.</h3></div> |
1258 |
|
|
|
1259 |
|
|
<div class="section " id="coords:number-not-3"><h3>The <code>coords</code> attribute have to |
1260 |
|
|
contain three (3) numbers (specified: |
1261 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1262 |
|
|
|
1263 |
|
|
<div class="section " id="coords:number-not-4"><h3>The <code>coords</code> attribute have to |
1264 |
|
|
contain four (4) numbers (specified: |
1265 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1266 |
|
|
|
1267 |
|
|
<div class="section " id="coords:number-lt-6"><h3>The <code>coords</code> attribute have to |
1268 |
|
|
contain more than or equal to six (6) numbers (specified: |
1269 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1270 |
|
|
|
1271 |
|
|
<div class="section " id="coords:number-not-even"><h3>The <code>coords</code> attribute have to |
1272 |
|
|
contain even number of numbers (specified: |
1273 |
|
|
<code><var>{text}</var></code>).</h3></div> |
1274 |
|
|
|
1275 |
|
|
<div class="section " id="coords:out-of-range"><h3>The specified value <code><var>{value}</var></code> |
1276 |
|
|
is out of range.</h3></div> |
1277 |
|
|
|
1278 |
|
|
<div class="section " id="coords:syntax-error"><h3>The specified value is not valid.</h3></div> |
1279 |
|
|
|
1280 |
|
|
<div class="section " id="datetime:bad-year"><h3>Year number is out of range.</h3></div> |
1281 |
|
|
|
1282 |
|
|
<div class="section " id="datetime:bad-month"><h3>Month number is out of range.</h3></div> |
1283 |
|
|
|
1284 |
|
|
<div class="section " id="datetime:bad-day"><h3>Day number is out of range.</h3></div> |
1285 |
|
|
|
1286 |
|
|
<div class="section " id="datetime:bad-hour"><h3>Hour number is out of range.</h3></div> |
1287 |
|
|
|
1288 |
|
|
<div class="section " id="datetime:bad-minute"><h3>Minute number is out of range.</h3></div> |
1289 |
|
|
|
1290 |
|
|
<div class="section " id="datetime:bad-second"><h3>Second number is out of range.</h3></div> |
1291 |
|
|
|
1292 |
|
|
<div class="section " id="datetime:bad-timezone-hour"><h3>Hour number of the timezone component is out of |
1293 |
|
|
range.</h3></div> |
1294 |
|
|
|
1295 |
|
|
<div class="section " id="datetime:bad-timezone-minute"><h3>Minute number of the timezone component is out of |
1296 |
|
|
range.</h3></div> |
1297 |
|
|
|
1298 |
|
|
<div class="section " id="datetime:syntax-error"><h3>The attribute value is not a datetime.</h3></div> |
1299 |
|
|
|
1300 |
|
|
<div class="section " id="dateortime:syntax-error"><h3>The attribute value is not a date or |
1301 |
|
|
time.</h3></div> |
1302 |
|
|
|
1303 |
|
|
<div class="section " id="enumerated:invalid"><h3>This attribute only allow a limited set of |
1304 |
wakaba |
1.6 |
values and the specified value <code><var>{@}</var></code> is not one |
1305 |
wakaba |
1.8 |
of them.</h3> |
1306 |
|
|
<p>For this attribute only several values are allowed and the |
1307 |
|
|
value of the attribute is not one of them. The document |
1308 |
|
|
is non-conforming.</p> |
1309 |
|
|
|
1310 |
|
|
<dl> |
1311 |
|
|
<dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt> |
1312 |
wakaba |
1.14 |
<dd><p>Only values <code>Default-Style</code> and <code>Refresh</code> |
1313 |
|
|
are allowed.</p> |
1314 |
wakaba |
1.8 |
<p>Value <code>Content-Type</code> is obsolete; for charset |
1315 |
|
|
declaration, the <code>charset</code> attribute can be used as: |
1316 |
|
|
<pre class="html example"> |
1317 |
wakaba |
1.21 |
<code><meta charset="<var>charset-name</var>"></code></pre> |
1318 |
wakaba |
1.8 |
... where <var>charset-name</var> is a name of the character encoding |
1319 |
|
|
of the document, such as <code>utf-8</code>.</p> |
1320 |
|
|
<p>Values <code>Content-Style-Type</code> and |
1321 |
|
|
<code>Content-Script-Type</code> are currently not allowed.</p> |
1322 |
|
|
<p>Value <code>Keywords</code> is not allowed. Use |
1323 |
|
|
<code>name</code> attribute instead of <code>http-equiv</code> |
1324 |
|
|
attribute.</p> |
1325 |
|
|
<p>Values <code>Expires</code>, <code>Pragma</code>, |
1326 |
|
|
and <code>Cache-Control</code> are not allowed; |
1327 |
|
|
use <em>real</em> HTTP header fields for cache control.</p></dd> |
1328 |
|
|
</dl> |
1329 |
|
|
</div> |
1330 |
wakaba |
1.2 |
|
1331 |
wakaba |
1.15 |
<div class="section attribute-value-error" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax |
1332 |
wakaba |
1.21 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1333 |
wakaba |
1.13 |
is obsolete.</h3> |
1334 |
wakaba |
1.15 |
<p>Old long character encoding declaration syntax |
1335 |
wakaba |
1.21 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1336 |
wakaba |
1.13 |
is in use. The document is non‐conforming.</p> |
1337 |
|
|
|
1338 |
wakaba |
1.15 |
<p>The new character encoding declaration syntax is: |
1339 |
wakaba |
1.14 |
<pre class="html example"> |
1340 |
wakaba |
1.21 |
<code><meta charset="<var>charset-name</var>"></code></pre> |
1341 |
wakaba |
1.13 |
</p> |
1342 |
|
|
</div> |
1343 |
|
|
|
1344 |
wakaba |
1.26 |
<div class="section " id="enumerated:non-conforming"><h3>Attribute value <code><var>{@}</var></code> |
1345 |
|
|
is not allowed.</h3></div> |
1346 |
|
|
|
1347 |
|
|
<div class="section " id="duplicate-http-equiv"><h3>There is another pragma |
1348 |
|
|
<code><var>{value}</var></code>.</h3></div> |
1349 |
|
|
|
1350 |
wakaba |
1.3 |
<div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been |
1351 |
|
|
assigned to another element.</h3></div> |
1352 |
|
|
|
1353 |
wakaba |
1.26 |
<div class="section " id="duplicate-token"><h3>The token <code><var>{value}</var></code> |
1354 |
|
|
appears in the attribute value twice.</h3></div> |
1355 |
|
|
|
1356 |
|
|
<div class="section " id="empty-attribute-value"><h3>The attribute value must not be empty.</h3></div> |
1357 |
|
|
|
1358 |
|
|
<div class="section " id="float:out-of-range"><h3>The specified value is out of range.</h3></div> |
1359 |
|
|
|
1360 |
|
|
<div class="section " id="float:syntax-error"><h3>The attribute value is not a real |
1361 |
|
|
number.</h3></div> |
1362 |
|
|
|
1363 |
|
|
<div class="section " id="fragment-points-itself"><h3>A fragment identifier references the element |
1364 |
|
|
itself.</h3></div> |
1365 |
|
|
|
1366 |
|
|
<div class="section " id="fragment-points-nothing"><h3>A fragment identifier references no |
1367 |
|
|
node.</h3></div> |
1368 |
|
|
|
1369 |
|
|
<div class="section " id="hashref:syntax-error"><h3>A hash−name reference must start with a |
1370 |
|
|
<code>#</code> character.</h3></div> |
1371 |
|
|
|
1372 |
|
|
<div class="section " id="id-ne-name"><h3>The <code>id</code> attribute value is |
1373 |
|
|
different from the <code>name</code> attribute value.</h3></div> |
1374 |
|
|
|
1375 |
|
|
<div class="section " id="integer:syntax-error"><h3>The attribute value is not an integer.</h3></div> |
1376 |
|
|
|
1377 |
|
|
<div class="section " id="link-type:bad-context"><h3>The link type <code><var>{value}</var></code> |
1378 |
wakaba |
1.4 |
cannot be specified for this element.</h3> |
1379 |
|
|
<p>The specified link type cannot be used for the element. |
1380 |
|
|
The document is non-conforming.</p> |
1381 |
|
|
|
1382 |
|
|
<p>Link types are associated with limited set of elements. |
1383 |
|
|
They cannot be used with other elements.</p> |
1384 |
|
|
|
1385 |
|
|
<p>For example, link type <code>bookmark</code> |
1386 |
|
|
can be used with <code>a</code> or <code>area</code> element, |
1387 |
|
|
while it cannot be used with <code>link</code> element.</p> |
1388 |
|
|
</div> |
1389 |
|
|
|
1390 |
wakaba |
1.26 |
<div class="section attribute-value-error" id="invalid-attribute-value"><h3>Attribute value <code><var>{@}</var></code> |
1391 |
|
|
is not an allowed value.</h3></div> |
1392 |
|
|
|
1393 |
|
|
<div class="section " id="length:syntax-error"><h3>The attribute value is not a length |
1394 |
|
|
value.</h3></div> |
1395 |
|
|
|
1396 |
|
|
<div class="section " id="link-type:non-conforming"><h3>The link type <code><var>{value}</var></code> |
1397 |
wakaba |
1.4 |
is non-conforming.</h3> |
1398 |
wakaba |
1.6 |
<p>The specified link type is non-conforming, and therefore |
1399 |
|
|
the document is non-conforming.</p> |
1400 |
|
|
|
1401 |
wakaba |
1.11 |
<dl class="switch"> |
1402 |
wakaba |
1.6 |
<dt>Link type <code>contents</code></dt> |
1403 |
|
|
<dd>Use link type <code>index</code>.</dd> |
1404 |
|
|
<dt>Link type <code>copyright</code></dt> |
1405 |
|
|
<dd>Use link type <code>license</code>.</dd> |
1406 |
|
|
<dt>Link type <code>home</code></dt> |
1407 |
|
|
<dd>Use link type <code>index</code>.</dd> |
1408 |
wakaba |
1.11 |
<dt>Link type <code>previous</code></dt> |
1409 |
|
|
<dd>Use link type <code>prev</code>.</dd> |
1410 |
wakaba |
1.6 |
<dt>Link type <code>start</code></dt> |
1411 |
|
|
<dd>Use link type <code>first</code>.</dd> |
1412 |
wakaba |
1.11 |
<dt>Link type <code>toc</code> or <code>top</code></dt> |
1413 |
wakaba |
1.6 |
<dd>Use link type <code>index</code>.</dd> |
1414 |
|
|
</dl> |
1415 |
|
|
</div> |
1416 |
|
|
|
1417 |
wakaba |
1.26 |
<div class="section " id="meta-content-type-syntax-error"><h3>The specified value is not a valid as a long |
1418 |
|
|
character encoding declaration.</h3></div> |
1419 |
|
|
|
1420 |
|
|
<div class="section " id="mismatched-charset-name"><h3>The specified character encoding name |
1421 |
|
|
<code><var>{value}</var></code> is different from the actual document |
1422 |
|
|
character encoding <code><var>{text}</var></code>.</h3> |
1423 |
wakaba |
1.16 |
<p>The specified character encoding name is different from |
1424 |
|
|
the character encoding of the document. The document |
1425 |
|
|
is non‐conforming.</p> |
1426 |
|
|
</div> |
1427 |
|
|
|
1428 |
wakaba |
1.26 |
<div class="section " id="mismatched-charset-name-not-checked"><h3>Whether the specified character encoding name |
1429 |
|
|
<code><var>{value}</var></code> matches to the actual character encoding |
1430 |
|
|
name cannot be checked since the input is not a byte stream.</h3></div> |
1431 |
|
|
|
1432 |
|
|
<div class="section " id="mode:syntax-error"><h3>The attribute value is not a valid mode |
1433 |
|
|
name.</h3></div> |
1434 |
|
|
|
1435 |
|
|
<div class="section " id="nninteger:out-of-range"><h3>The specified value is out of range.</h3></div> |
1436 |
|
|
|
1437 |
|
|
<div class="section " id="nninteger:syntax-error"><h3>The attribute value is not a non‐negative |
1438 |
|
|
integer.</h3></div> |
1439 |
|
|
|
1440 |
|
|
<div class="section " id="no-referenced-map"><h3>The <code>usemap</code> attribute references |
1441 |
|
|
no image map.</h3></div> |
1442 |
|
|
|
1443 |
|
|
<div class="section " id="no-referenced-menu"><h3>The <code>contextmenu</code> attribute references |
1444 |
|
|
no menu.</h3></div> |
1445 |
|
|
|
1446 |
|
|
<div class="section " id="refresh:syntax-error"><h3>the specified value is not a valid as part |
1447 |
|
|
of a <code>Refresh</code> pragma.</h3></div> |
1448 |
|
|
|
1449 |
|
|
<div class="section " id="repeat:syntax-error"><h3>The attribute value is not an integer or |
1450 |
|
|
a string <code>template</code>.</h3></div> |
1451 |
|
|
|
1452 |
wakaba |
1.6 |
<div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>Browsing context name |
1453 |
|
|
<code><var>{@}</var></code> is reserved.</h3> |
1454 |
|
|
<p>The specified browsing context name is reserved. |
1455 |
|
|
The document is non-conforming.</p> |
1456 |
wakaba |
1.4 |
|
1457 |
wakaba |
1.6 |
<p>Names of browsing contexts starting with <code>_</code> |
1458 |
|
|
(<code>U+005F</code> <code class="charname">LOW LINE</code>) |
1459 |
|
|
are reserved so that it must not be used.</p> |
1460 |
|
|
|
1461 |
|
|
<p>Old version of HTML, non-HTML markup languages, and |
1462 |
|
|
Web browsers define or implements special reserved |
1463 |
|
|
browsing context names <code>_blank</code>, |
1464 |
|
|
<code>_main</code>, and <code>_replace</code>. |
1465 |
|
|
However, they are <em>not</em> conforming attribute values.</p> |
1466 |
wakaba |
1.4 |
</div> |
1467 |
|
|
|
1468 |
wakaba |
1.26 |
<div class="section " id="Reserved-Prefixes-and-Namespace-Names:Name"><h3>Namespace name <code><var>{text}</var></code> |
1469 |
|
|
is reserved and cannot be used for an arbitrary prefix.</h3></div> |
1470 |
wakaba |
1.2 |
|
1471 |
wakaba |
1.26 |
<div class="section " id="Reserved-Prefixes-and-Namespace-Names:Prefix"><h3>Namespace prefix <code><var>{text}</var></code> |
1472 |
|
|
is reserved and cannot be used for an arbitrary namespace name.</h3></div> |
1473 |
wakaba |
1.4 |
|
1474 |
wakaba |
1.26 |
<div class="section " id="link-type:proposed"><h3>Link type <code><var>{value}</var></code> |
1475 |
wakaba |
1.4 |
is proposed but not accepted yet; it <em>should not</em> be |
1476 |
|
|
used until it has been accepted.</h3> |
1477 |
|
|
<p>The link type is in the <i>proposed</i> status; it |
1478 |
|
|
<em>should not</em> be used until it has been |
1479 |
|
|
accepted.</p> |
1480 |
|
|
|
1481 |
|
|
<p><strong>Warning</strong>: The data served to the |
1482 |
|
|
conforming checker might be out of date; it might have already |
1483 |
wakaba |
1.11 |
been accepted or rejected. The document might or might not be |
1484 |
|
|
conforming depending on the status. See WHATWG Wiki |
1485 |
wakaba |
1.4 |
for the latest information.</p> |
1486 |
|
|
</div> |
1487 |
|
|
|
1488 |
wakaba |
1.26 |
<div class="section " id="sizes:syntax-error"><h3>The specified value <code><var>{value}</var></code> |
1489 |
|
|
is not a valid value.</h3></div> |
1490 |
|
|
|
1491 |
|
|
<div class="section " id="space-in-ID"><h3>White space characters are not allowed |
1492 |
|
|
in the <code>id</code> attribute.</h3></div> |
1493 |
|
|
|
1494 |
|
|
<div class="section " id="template:not-template"><h3>The node referenced by the <code>template</code> |
1495 |
|
|
attribute is not a template.</h3></div> |
1496 |
|
|
|
1497 |
|
|
<div class="section " id="window-name:empty"><h3>Browsing context name must not be empty.</h3></div> |
1498 |
|
|
|
1499 |
|
|
<div class="section " id="window-name:reserved"><h3>Browsing context name |
1500 |
|
|
<code><var>{value}</var></code> is reserved.</h3></div> |
1501 |
|
|
|
1502 |
|
|
<div class="section " id="word-not-allowed"><h3>The word <code><var>{value}</var></code> is not |
1503 |
|
|
allowed in this attribute.</h3></div> |
1504 |
|
|
|
1505 |
wakaba |
1.4 |
</section> |
1506 |
|
|
|
1507 |
wakaba |
1.2 |
<section id="table-model-errors"> |
1508 |
|
|
<h2>Table Model Errors</h2> |
1509 |
|
|
|
1510 |
wakaba |
1.3 |
<div class="section table-model-error" id="table:colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute |
1511 |
|
|
results in creating a table column that does not contain |
1512 |
|
|
any cell anchored to it.</h3></div> |
1513 |
|
|
|
1514 |
wakaba |
1.2 |
<div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or |
1515 |
|
|
<code>th</code>) in the last row.</h3></div> |
1516 |
|
|
|
1517 |
wakaba |
1.6 |
<div class="section table-model-error" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute |
1518 |
|
|
results in creating a table row that does not contain |
1519 |
|
|
any cell anchored to it.</h3> |
1520 |
|
|
<p>The <code>rowspan</code> attribute value of the cell |
1521 |
|
|
is so specified that it extends a table in the row axis. |
1522 |
|
|
However, the extended row does not contain any cell by itself. |
1523 |
|
|
The document is non-conforming.</p> |
1524 |
|
|
|
1525 |
|
|
<p>For example, the table below is non-conforming: |
1526 |
wakaba |
1.14 |
<pre class="html bad example"> |
1527 |
wakaba |
1.6 |
<code><table> |
1528 |
|
|
<tbody> |
1529 |
|
|
<tr><td rowspan=2></td></tr> |
1530 |
|
|
</tbody> |
1531 |
|
|
</table></code></pre> |
1532 |
wakaba |
1.9 |
... since the second row contains only |
1533 |
|
|
a cell that spans between first and second rows.</p> |
1534 |
wakaba |
1.6 |
</div> |
1535 |
|
|
|
1536 |
wakaba |
1.2 |
</section> |
1537 |
|
|
|
1538 |
|
|
<section id="imt-warnings"> |
1539 |
wakaba |
1.26 |
<h2>Internet Media Type Errors</h2> |
1540 |
|
|
|
1541 |
|
|
<div class="section " id="IMT:syntax-error"><h3>The specified value is not an Internet Media |
1542 |
|
|
Type.</h3></div> |
1543 |
wakaba |
1.1 |
|
1544 |
wakaba |
1.6 |
<div class="section should" id="s:IMT:obsolete-subtype"><h3><code><var>{@}</var></code>: An <em>obsolete</em> |
1545 |
|
|
subtype is used.</h3></div> |
1546 |
wakaba |
1.2 |
|
1547 |
wakaba |
1.6 |
<div class="section should" id="s:IMT:private-subtype"><h3><code><var>{@}</var></code>: A private |
1548 |
|
|
(<code>x-</code> or <code>x.</code>) subtype is used.</h3></div> |
1549 |
wakaba |
1.2 |
|
1550 |
wakaba |
1.6 |
<div class="section should" id="s:IMT:unregistered-subtype"><h3><code><var>{@}</var></code>: The subtype is |
1551 |
|
|
not registered to IANA.</h3></div> |
1552 |
wakaba |
1.2 |
|
1553 |
|
|
</section> |
1554 |
|
|
|
1555 |
|
|
<section id="uri-errors"> |
1556 |
|
|
<h2>URI (or IRI) Errors</h2> |
1557 |
|
|
|
1558 |
wakaba |
1.6 |
<div class="section must" id="m:URI::syntax-error"><h3>The specified value is syntactically not an IRI |
1559 |
|
|
reference.</h3> |
1560 |
|
|
<p>The specified value does not satisfy the syntactical requirements |
1561 |
|
|
for IRI references. The document is non-conforming.</p> |
1562 |
|
|
|
1563 |
|
|
<p>Possible causes: |
1564 |
|
|
<ul> |
1565 |
|
|
<li>The string might contain one or more white space characters. |
1566 |
|
|
Especially, the <code> </code> (<code>U+0020</code> |
1567 |
|
|
<code class="charname">SPACE</code>) character cannot be |
1568 |
|
|
used in IRI references.</li> |
1569 |
|
|
</ul> |
1570 |
|
|
</p> |
1571 |
|
|
</div> |
1572 |
wakaba |
1.2 |
|
1573 |
|
|
</section> |
1574 |
|
|
|
1575 |
wakaba |
1.9 |
<section id="uri-shoulds"> |
1576 |
|
|
<h2>URI (or IRI) Should-level Errors</h2> |
1577 |
wakaba |
1.3 |
|
1578 |
wakaba |
1.9 |
<div class="section should" id="s:URI::dot-segment"><h3>A dot-segment (<code>.</code> or |
1579 |
|
|
<code>..</code>) occurs in an absolute reference.</h3> |
1580 |
wakaba |
1.3 |
<p>Dot-segment (<code>.</code> or <code>..</code>) should |
1581 |
|
|
not occur in an absolute reference.</p> |
1582 |
|
|
|
1583 |
|
|
<p>In relative references, dot-segments are used to represent |
1584 |
|
|
the current (<code>.</code>) or the parent (<code>..</code>) |
1585 |
|
|
hierarchy of the path. Though they are also allowed |
1586 |
|
|
in absolute references, it should be resolved to the |
1587 |
|
|
canonical form before it has been published.</p> |
1588 |
|
|
</div> |
1589 |
wakaba |
1.2 |
|
1590 |
wakaba |
1.9 |
<div class="section should" id="s:URI::empty-path"><h3>This IRI does not end with |
1591 |
|
|
a <code>/</code>.</h3></div> |
1592 |
wakaba |
1.1 |
|
1593 |
wakaba |
1.9 |
<div class="section should" id="s:URI::lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used |
1594 |
|
|
in percent-encoding.</h3> |
1595 |
wakaba |
1.5 |
<p>The hexadecimal digit in percent-encoding string in the IRI |
1596 |
wakaba |
1.4 |
is in lowercase. Though the IRI <em>is</em> conforming, |
1597 |
|
|
it should be in uppercase.</p> |
1598 |
|
|
</div> |
1599 |
|
|
|
1600 |
|
|
<div class="section should" id="s:URI::percent-encoded-unreserved"><h3>An unreserved character is |
1601 |
|
|
percent-encoded.</h3> |
1602 |
|
|
<p>An unreserved character is percent-encoded in the IRI. |
1603 |
|
|
Though it <em>is</em> conforming, it should be in the |
1604 |
|
|
decoded (or bare) form.</p> |
1605 |
|
|
</div> |
1606 |
|
|
|
1607 |
wakaba |
1.6 |
<div class="section should" id="s:URI::uppercase-scheme-name"><h3>URI scheme name is in uppercase.</h3> |
1608 |
|
|
<p>The scheme part of the IRI is written in uppercase letter.</p> |
1609 |
|
|
|
1610 |
|
|
<p>Uppercase scheme names are not required to be processed |
1611 |
|
|
correctly.</p> |
1612 |
|
|
<!-- @@ |
1613 |
|
|
RFC 3986 3.1. |
1614 |
|
|
> Although schemes are case- |
1615 |
|
|
insensitive, the canonical form is lowercase and documents that |
1616 |
|
|
specify schemes must do so with lowercase letters. |
1617 |
|
|
|
1618 |
|
|
> An implementation ... should only produce lowercase scheme names for |
1619 |
|
|
consistency. |
1620 |
|
|
--> |
1621 |
|
|
</div> |
1622 |
|
|
|
1623 |
wakaba |
1.1 |
</section> |
1624 |
|
|
|
1625 |
wakaba |
1.11 |
<section id="cache-manifest-errors"> |
1626 |
|
|
<h2>Cache Manifest Errors</h2> |
1627 |
|
|
|
1628 |
|
|
<div class="section must" id="m:not-manifest"><h3>This document is not a cache manifest.</h3> |
1629 |
|
|
<p>The specified document is <em>not</em> a cache manifest. |
1630 |
|
|
The document is non-conforming.</p> |
1631 |
|
|
|
1632 |
|
|
<p>An entity labeled as Internet media type |
1633 |
|
|
<code>text/cache-manifest</code> must contain a cache manifest.</p> |
1634 |
|
|
|
1635 |
|
|
<p>A cache manifest must start with a line whose content is |
1636 |
wakaba |
1.14 |
<code class="manifest example">CACHE MANIFEST</code> |
1637 |
|
|
(exactly one space character between |
1638 |
wakaba |
1.11 |
<code>CACHE</code> and <code>MANIFEST</code>).</p> |
1639 |
|
|
</div> |
1640 |
|
|
</section> |
1641 |
|
|
|
1642 |
wakaba |
1.17 |
<section id="information"> |
1643 |
|
|
<h2>Stability Information</h2> |
1644 |
|
|
|
1645 |
wakaba |
1.26 |
<div class="section " id="deprecated:attr"><h3>This attribute is deprecated.</h3></div> |
1646 |
|
|
|
1647 |
|
|
<div class="section " id="deprecated:element"><h3>This element is deprecated.</h3></div> |
1648 |
|
|
|
1649 |
|
|
<div class="section " id="status:cr:element"><h3>This element is in the |
1650 |
wakaba |
1.19 |
<strong>call for implementation</strong> stage.</h3> |
1651 |
|
|
<p>The element is in the call for implementation stage.</p> |
1652 |
wakaba |
1.17 |
|
1653 |
|
|
<p>Usually, using the element is safe. However, it is a new feature |
1654 |
|
|
so that it might not be implemented correctly. If it is found that |
1655 |
|
|
the feature is hard or impossible to implement, the feature |
1656 |
|
|
might be revised, or in some case it might be dropped.</p> |
1657 |
|
|
|
1658 |
wakaba |
1.20 |
<p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0 |
1659 |
|
|
(W3C Candidate Recommendation) belong to this class.</p> |
1660 |
wakaba |
1.17 |
</div> |
1661 |
|
|
|
1662 |
wakaba |
1.26 |
<div class="section " id="status:lc:element"><h3>This element is in the <strong>last |
1663 |
wakaba |
1.18 |
call for comments</strong> stage.</h3> |
1664 |
|
|
<p>The element is in the last call for comments stage.</p> |
1665 |
wakaba |
1.17 |
|
1666 |
|
|
<p>The element is relatively mature, though the standardization |
1667 |
|
|
is not done yet. It may be used for experiments. Since it is a new |
1668 |
|
|
feature, it might not be implemented correctly or at all. If it is |
1669 |
|
|
found that the feature is hard or impossible to implement, the feature |
1670 |
|
|
might be revised or might be dropped.</p> |
1671 |
|
|
|
1672 |
|
|
<p>Elements defined by Web Forms 2.0 as well as some elements |
1673 |
|
|
defined by HTML5 belong to this class.</p> |
1674 |
|
|
</div> |
1675 |
|
|
|
1676 |
wakaba |
1.26 |
<div class="section " id="status:wd:element"><h3>This element is documented in a <strong>working |
1677 |
wakaba |
1.17 |
draft</strong>.</h3> |
1678 |
|
|
<p>The element is documented in a working or editor's draft |
1679 |
|
|
and not yet completed.</p> |
1680 |
|
|
|
1681 |
|
|
<p>The element should not be used for any practical purpose. |
1682 |
|
|
The feature might be drastically changed later or might be |
1683 |
|
|
entirely removed.</p> |
1684 |
|
|
|
1685 |
|
|
<p>Most of new elements defined by HTML5 belong to this class.</p> |
1686 |
|
|
</div> |
1687 |
|
|
|
1688 |
wakaba |
1.26 |
<div class="section " id="status:non-standard:element"><h3>This element is <strong>not part of any |
1689 |
wakaba |
1.19 |
standard</strong> the conformance checker knows.</h3> |
1690 |
|
|
<p>The element is not part of any standard or draft the conformance |
1691 |
|
|
checker is aware of.</p> |
1692 |
wakaba |
1.17 |
|
1693 |
wakaba |
1.19 |
<p>The element should not be used for any practical purpose unless |
1694 |
|
|
there is really a standard that defines the element.</p> |
1695 |
wakaba |
1.17 |
</div> |
1696 |
wakaba |
1.26 |
|
1697 |
|
|
<div class="section " id="status:cr:attr"><h3>This attribute is in the |
1698 |
|
|
<strong>call for implementation</strong> stage.</h3> |
1699 |
|
|
<p>The attribute is in the call for implementation stage.</p> |
1700 |
|
|
|
1701 |
|
|
<p>Usually, using the attribute is safe. However, it is a new feature |
1702 |
|
|
so that it might not be implemented correctly. If it is found that |
1703 |
|
|
the feature is hard or impossible to implement, the feature |
1704 |
|
|
might be revised, or in some case it might be dropped.</p> |
1705 |
|
|
</div> |
1706 |
|
|
|
1707 |
|
|
<div class="section " id="status:lc:attr"><h3>This attribute is in the <strong>last |
1708 |
|
|
call for comments</strong> stage.</h3> |
1709 |
|
|
<p>The attribute is in the last call for comments stage.</p> |
1710 |
|
|
|
1711 |
|
|
<p>The attribute is relatively mature, though the standardization |
1712 |
|
|
is not done yet. It may be used for experiments. Since it is a new |
1713 |
|
|
feature, it might not be implemented correctly or at all. If it is |
1714 |
|
|
found that the feature is hard or impossible to implement, the feature |
1715 |
|
|
might be revised or might be dropped.</p> |
1716 |
|
|
</div> |
1717 |
|
|
|
1718 |
|
|
<div class="section " id="status:wd:attr"><h3>This attribute is documented in a <strong>working |
1719 |
|
|
draft</strong>.</h3> |
1720 |
|
|
<p>The attribute is documented in a working or editor's draft |
1721 |
|
|
and not yet completed.</p> |
1722 |
|
|
|
1723 |
|
|
<p>The attribute should not be used for any practical purpose. |
1724 |
|
|
The feature might be drastically changed later or might be |
1725 |
|
|
entirely removed.</p> |
1726 |
|
|
</div> |
1727 |
|
|
|
1728 |
|
|
<div class="section " id="status:non-standard:attr"><h3>This attribute is <strong>not part of any |
1729 |
|
|
standard</strong> the conformance checker knows.</h3> |
1730 |
|
|
<p>The attribute is not part of any standard or draft the conformance |
1731 |
|
|
checker is aware of.</p> |
1732 |
|
|
|
1733 |
|
|
<p>The attribute should not be used for any practical purpose unless |
1734 |
|
|
there is really a standard that defines the attribute.</p> |
1735 |
|
|
</div> |
1736 |
wakaba |
1.17 |
</section> |
1737 |
|
|
|
1738 |
wakaba |
1.1 |
<section id="unsupported-messages"> |
1739 |
|
|
<h2><i>Unsupported</i> Messages</h2> |
1740 |
|
|
|
1741 |
wakaba |
1.26 |
<div class="section " id="unknown-element"><h3>Conformance checking for element |
1742 |
wakaba |
1.9 |
<code><var>{local-name}</var></code> is not supported; <em>it might or |
1743 |
|
|
might not be conforming</em>.</h3> |
1744 |
|
|
<p>The conformant checker does not support the element. |
1745 |
wakaba |
1.1 |
It cannot determine whether the document is conforming or not.</p> |
1746 |
|
|
</div> |
1747 |
|
|
|
1748 |
wakaba |
1.26 |
<div class="section " id="unknown-attribute"><h3>Conformance checking for attribute |
1749 |
wakaba |
1.9 |
<code><var>{local-name}</var></code> of element |
1750 |
|
|
<code><var>{element-local-name}</var></code> is not supported; |
1751 |
|
|
<em>it might or might not be conforming</em>.</h3> |
1752 |
|
|
<p>The conformant checker does not support the attribute. |
1753 |
wakaba |
1.1 |
It cannot determine whether the document is conforming or not.</p> |
1754 |
|
|
</div> |
1755 |
|
|
|
1756 |
wakaba |
1.26 |
<div class="section " id="unknown-link-type"><h3>Link type <code><var>{value}</var></code> is not |
1757 |
wakaba |
1.4 |
standardized or registered at the time of the release of the conformance |
1758 |
wakaba |
1.9 |
checker; <em>it is non-conforming unless it now has been |
1759 |
wakaba |
1.4 |
registered</em>.</h3> |
1760 |
wakaba |
1.1 |
<p>The <code>rel</code> attribute is defined as a list of link types. |
1761 |
|
|
Some common link types are defined in the HTML5 specification. |
1762 |
|
|
Additional link types can be registered to the WHATWG Wiki. |
1763 |
|
|
use of any other link type is non-conforming.</p> |
1764 |
|
|
|
1765 |
|
|
<p>The specified link type is not part of the standard or registry |
1766 |
|
|
when the database used by the conformance cheker is created. |
1767 |
|
|
The link type might have been added to the registry since then. |
1768 |
|
|
In such case it might be conforming. Otherwise, the |
1769 |
|
|
document is non-conforming.</p> |
1770 |
wakaba |
1.8 |
|
1771 |
|
|
<dl> |
1772 |
|
|
<dt>Link types <code>shortcut icon</code></dt> |
1773 |
|
|
<dd>Link type <code>shortcut</code> is not registered. |
1774 |
|
|
Use only <code>icon</code> for linking to so-called favicon.</dd> |
1775 |
|
|
</dl> |
1776 |
wakaba |
1.1 |
</div> |
1777 |
|
|
|
1778 |
wakaba |
1.26 |
<div class="section " id="event-handler"><h3>Conformance checking for event handler attribute |
1779 |
wakaba |
1.4 |
is not supported; <em>it might or might not be conforming.</em></h3></div> |
1780 |
|
|
|
1781 |
wakaba |
1.26 |
<div class="section " id="media-query"><h3>Conformance checking for media query |
1782 |
wakaba |
1.4 |
is not supported; <em>it might or might not be conforming.</em></h3></div> |
1783 |
|
|
|
1784 |
wakaba |
1.26 |
<div class="section " id="XML-script-lang"><h3>Conformance checking for script |
1785 |
|
|
language <code><var>{text}</var></code> is not supported; |
1786 |
wakaba |
1.4 |
<em>it might or might not be conforming.</em></h3></div> |
1787 |
|
|
|
1788 |
wakaba |
1.26 |
<div class="section " id="XML-style-lang"><h3>Conformance checking for style |
1789 |
|
|
language <code><var>{text}</var></code> is not supported; |
1790 |
wakaba |
1.4 |
<em>it might or might not be conforming.</em></h3></div> |
1791 |
|
|
|
1792 |
wakaba |
1.1 |
</section> |
1793 |
|
|
|
1794 |
wakaba |
1.3 |
|
1795 |
wakaba |
1.2 |
|
1796 |
wakaba |
1.21 |
|
1797 |
|
|
|
1798 |
|
|
|
1799 |
|
|
|
1800 |
|
|
|
1801 |
|
|
|
1802 |
|
|
|
1803 |
|
|
|
1804 |
|
|
|
1805 |
|
|
|
1806 |
|
|
|
1807 |
|
|
|
1808 |
|
|
|
1809 |
|
|
|
1810 |
|
|
|
1811 |
|
|
|
1812 |
|
|
|
1813 |
|
|
|
1814 |
|
|
|
1815 |
|
|
|
1816 |
|
|
|
1817 |
|
|
|
1818 |
|
|
|
1819 |
|
|
|
1820 |
|
|
|
1821 |
|
|
|
1822 |
|
|
|
1823 |
|
|
|
1824 |
|
|
|
1825 |
|
|
|
1826 |
|
|
|
1827 |
|
|
|
1828 |
|
|
|
1829 |
|
|
|
1830 |
|
|
|
1831 |
|
|
|
1832 |
|
|
|
1833 |
|
|
|
1834 |
|
|
|
1835 |
|
|
|
1836 |
|
|
|
1837 |
|
|
|
1838 |
|
|
|
1839 |
|
|
|
1840 |
|
|
|
1841 |
|
|
|
1842 |
|
|
|
1843 |
|
|
|
1844 |
|
|
|
1845 |
|
|
|
1846 |
|
|
|
1847 |
|
|
|
1848 |
|
|
|
1849 |
|
|
|
1850 |
|
|
|
1851 |
|
|
|
1852 |
|
|
|
1853 |
|
|
|
1854 |
|
|
|
1855 |
|
|
|
1856 |
|
|
|
1857 |
|
|
|
1858 |
|
|
|
1859 |
|
|
|
1860 |
|
|
|
1861 |
|
|
|
1862 |
|
|
|
1863 |
|
|
|
1864 |
|
|
|
1865 |
|
|
|
1866 |
|
|
|
1867 |
|
|
|
1868 |
|
|
|
1869 |
|
|
|
1870 |
|
|
|
1871 |
|
|
|
1872 |
|
|
|
1873 |
|
|
|
1874 |
|
|
|
1875 |
|
|
|
1876 |
|
|
|
1877 |
|
|
|
1878 |
|
|
|
1879 |
|
|
|
1880 |
|
|
|
1881 |
|
|
|
1882 |
|
|
|
1883 |
|
|
|
1884 |
|
|
|
1885 |
|
|
|
1886 |
|
|
|
1887 |
|
|
|
1888 |
|
|
|
1889 |
|
|
|
1890 |
|
|
|
1891 |
|
|
|
1892 |
|
|
|
1893 |
|
|
|
1894 |
|
|
|
1895 |
|
|
|
1896 |
|
|
|
1897 |
|
|
|
1898 |
wakaba |
1.23 |
|
1899 |
|
|
|
1900 |
|
|
|
1901 |
|
|
|
1902 |
|
|
|
1903 |
|
|
|
1904 |
|
|
|
1905 |
|
|
|
1906 |
|
|
|
1907 |
|
|
|
1908 |
|
|
|
1909 |
|
|
|
1910 |
|
|
|
1911 |
|
|
|
1912 |
|
|
|
1913 |
|
|
|
1914 |
|
|
|
1915 |
|
|
|
1916 |
|
|
|
1917 |
|
|
|
1918 |
|
|
|
1919 |
|
|
|
1920 |
|
|
|
1921 |
|
|
|
1922 |
wakaba |
1.24 |
|
1923 |
|
|
|
1924 |
|
|
|
1925 |
|
|
|
1926 |
|
|
|
1927 |
|
|
|
1928 |
|
|
|
1929 |
|
|
|
1930 |
|
|
|
1931 |
|
|
|
1932 |
|
|
|
1933 |
|
|
|
1934 |
|
|
|
1935 |
|
|
|
1936 |
|
|
|
1937 |
|
|
|
1938 |
|
|
|
1939 |
|
|
|
1940 |
|
|
|
1941 |
|
|
|
1942 |
|
|
|
1943 |
|
|
|
1944 |
|
|
|
1945 |
|
|
|
1946 |
|
|
|
1947 |
|
|
|
1948 |
|
|
|
1949 |
|
|
|
1950 |
|
|
|
1951 |
|
|
|
1952 |
|
|
|
1953 |
|
|
|
1954 |
|
|
|
1955 |
|
|
|
1956 |
|
|
|
1957 |
|
|
|
1958 |
|
|
|
1959 |
|
|
|
1960 |
|
|
|
1961 |
|
|
|
1962 |
|
|
|
1963 |
|
|
|
1964 |
|
|
|
1965 |
wakaba |
1.23 |
|
1966 |
|
|
|
1967 |
|
|
|
1968 |
|
|
|
1969 |
|
|
|
1970 |
|
|
|
1971 |
|
|
|
1972 |
|
|
|
1973 |
|
|
|
1974 |
|
|
|
1975 |
|
|
|
1976 |
|
|
|
1977 |
|
|
|
1978 |
|
|
|
1979 |
|
|
|
1980 |
|
|
|
1981 |
|
|
|
1982 |
|
|
|
1983 |
|
|
|
1984 |
|
|
|
1985 |
|
|
|
1986 |
|
|
|
1987 |
|
|
|
1988 |
|
|
|
1989 |
|
|
|
1990 |
wakaba |
1.12 |
<section id="levels"> |
1991 |
|
|
<h2>Error Levels</h2> |
1992 |
|
|
|
1993 |
|
|
<table id="levels-table"> |
1994 |
|
|
<thead> |
1995 |
|
|
<tr><th scope="col">Level</th> |
1996 |
|
|
<th scope="col">Conforming?</th> |
1997 |
|
|
<th scope="col">Description</th> |
1998 |
|
|
</tr> |
1999 |
|
|
</thead> |
2000 |
|
|
<tbody> |
2001 |
|
|
<tr class="level-m" id="level-m"> |
2002 |
|
|
<th scope="row"><em class="rfc2119">MUST</em>‐level error</th> |
2003 |
|
|
<td>Non‐conforming.</td> |
2004 |
|
|
<td>A violation to a hard requirement of the specification. |
2005 |
|
|
The document is non‐conforming.</td> |
2006 |
|
|
</tr> |
2007 |
|
|
<tr class="level-s" id="level-s"> |
2008 |
|
|
<th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th> |
2009 |
|
|
<td>Non‐conforming, but <em>in some case</em> |
2010 |
|
|
conforming.</td> |
2011 |
|
|
<td>A violation to a requirement of the specification. |
2012 |
|
|
The violation might be legitimize in some case. Otherwise, |
2013 |
|
|
the document is non‐conforming.</td> |
2014 |
|
|
</tr> |
2015 |
|
|
<tr class="level-w" id="level-w"> |
2016 |
|
|
<th scope="row">Warning</th> |
2017 |
|
|
<td>Conforming.</td> |
2018 |
|
|
<td>A warning is an advice from the conformance checker to avoid |
2019 |
|
|
to solve a problem in a confusing or possibly wrong way. |
2020 |
|
|
It does not affect to the conformance of the document, and |
2021 |
|
|
may sometimes be inappropriate.</td> |
2022 |
|
|
</tr> |
2023 |
wakaba |
1.17 |
<tr class="level-i" id="level-i"> |
2024 |
|
|
<th scope="row">Information</th> |
2025 |
|
|
<td>Conforming.</td> |
2026 |
|
|
<td>An informational message just provides an additional information |
2027 |
|
|
on the feature used in the document or the status of the retrieval |
2028 |
|
|
or so on. |
2029 |
|
|
It does not affect to the conformance of the document.</td> |
2030 |
|
|
</tr> |
2031 |
|
|
<tr class="level-u" id="level-u"> |
2032 |
wakaba |
1.12 |
<th scope="row">Not supported</th> |
2033 |
|
|
<td><em>Unknown</em>.</td> |
2034 |
|
|
<td>Some feature that is not supported by the conformance checker |
2035 |
|
|
is used in the document.</td> |
2036 |
|
|
</tr> |
2037 |
|
|
</tbody> |
2038 |
|
|
</table> |
2039 |
|
|
</section> |
2040 |
|
|
|
2041 |
wakaba |
1.1 |
<section id="license"> |
2042 |
|
|
<h2>License of This Document</h2> |
2043 |
|
|
|
2044 |
wakaba |
1.19 |
<p>Copyright <time>2007</time>‐<time>2008</time> |
2045 |
wakaba |
1.11 |
<a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a> |
2046 |
|
|
<code class="mail"><<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></code>.</p> |
2047 |
|
|
|
2048 |
wakaba |
1.9 |
<p>This document is free software; you can redistribute it |
2049 |
wakaba |
1.1 |
and/or modify it under the same terms as Perl itself.</p> |
2050 |
|
|
</section> |
2051 |
|
|
|
2052 |
wakaba |
1.26 |
<!-- $Date: 2008/08/15 08:36:41 $ --> |
2053 |
wakaba |
1.1 |
</body> |
2054 |
|
|
</html> |