1 |
<!DOCTYPE html> |
2 |
<html xmlns="http://www.w3.org/1999/xhtml" |
3 |
xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" |
4 |
id="error-description"> |
5 |
<head> |
6 |
<title xml:lang="en">Description of Errors — |
7 |
Web Document Conformance Checker (BETA)</title> |
8 |
<link rel="stylesheet" href="cc-style"/> |
9 |
<link rel="license" href="#license"/> |
10 |
</head> |
11 |
<body> |
12 |
<h1>Description of Errors</h1> |
13 |
|
14 |
<section id="character-encoding-layer"> |
15 |
<h2>Character Encoding Layer Errors</h2> |
16 |
|
17 |
<d:item name="illegal-octets-error" class="error-category-charset" level="m"> |
18 |
<d:message xml:lang="en">An illegal octet in the input stream.</d:message> |
19 |
</d:item> |
20 |
</section> |
21 |
|
22 |
<section id="html5-character-encoding"> |
23 |
<h2>HTML5 Character Encoding Errors</h2> |
24 |
|
25 |
<d:item name="disallowed character encoding" |
26 |
modules="ContentChecker"> |
27 |
<d:message xml:lang="en">Character encoding <code><var>{text}</var></code> |
28 |
is not allowed for <abbr>HTML</abbr> document.</d:message> |
29 |
<d:desc xml:lang="en"> |
30 |
<p>The character encoding used for the document is not allowed |
31 |
for <abbr>HTML</abbr> document. The document is non‐conforming.</p> |
32 |
</d:desc> |
33 |
</d:item> |
34 |
|
35 |
<d:item name="bad character encoding" |
36 |
modules="ContentChecker"> |
37 |
<d:message xml:lang="en">Character encoding <code><var>{text}</var></code> |
38 |
should not be used for <abbr>HTML</abbr> document.</d:message> |
39 |
<d:desc xml:lang="en"> |
40 |
<p>The character encoding used for the document is not recommended |
41 |
for <abbr>HTML</abbr> document. The document is non‐conforming |
42 |
unless there is any good reason to use that encoding.</p> |
43 |
</d:desc> |
44 |
</d:item> |
45 |
|
46 |
<d:item name="non-utf-8 character encoding" |
47 |
modules="ContentChecker"> |
48 |
<d:message xml:lang="en">Use of UTF-8 is encouraged (this document |
49 |
is encoded in <code><var>{text}</var></code>).</d:message> |
50 |
<d:desc xml:lang="en"> |
51 |
<p>Use of UTF-8 as the character encoding of the document is encouraged, |
52 |
though the use of another character encoding is still conforming.</p> |
53 |
</d:desc> |
54 |
</d:item> |
55 |
|
56 |
<d:item name="character encoding unchecked" |
57 |
modules="ContentChecker"> |
58 |
<d:message xml:lang="en">Conformance for character encoding requirements |
59 |
cannot be checked, since the input is not a byte stream.</d:message> |
60 |
<d:desc xml:lang="en"> |
61 |
<p>The conformance checker cannot detect whether the input document |
62 |
met the requirements on character encoding, since the document |
63 |
is not inputed as a serialized byte sequence. The document is |
64 |
not conforming if it is not encoded in an appropriate character |
65 |
encoding with appropriate labeling.</p> |
66 |
</d:desc> |
67 |
</d:item> |
68 |
|
69 |
<d:item name="no character encoding declaration" |
70 |
modules="ContentChecker"> |
71 |
<d:message xml:lang="en">There is no character encoding |
72 |
declaration.</d:message> |
73 |
<d:desc xml:lang="en"> |
74 |
<p>The document does not contain a character encoding |
75 |
declaration. Unless the character encoding is explicitly |
76 |
specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, |
77 |
or is implied by <abbr>BOM</abbr>, there must be a character |
78 |
encoding declaration. The document is non‐conforming.</p> |
79 |
|
80 |
<p>The long character encoding declaration syntax |
81 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
82 |
is obsolete. The new syntax is:</p> |
83 |
<pre class="html example"><code><meta charset="<var>charset-name</var>"></code></pre> |
84 |
|
85 |
<p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr> |
86 |
declaration has no effect for <abbr>HTML</abbr> document.</p> |
87 |
</d:desc> |
88 |
</d:item> |
89 |
|
90 |
<d:item name="non ascii superset" |
91 |
modules="ContentChecker"> |
92 |
<d:message xml:lang="en">No character encoding metadata is found |
93 |
in lower‐level protocol nor is there <abbr>BOM</abbr>, while |
94 |
character encoding <code><var>{text}</var></code> |
95 |
is not a superset of <abbr>ASCII</abbr>.</d:message> |
96 |
<d:desc xml:lang="en"> |
97 |
<p>The document is not labeled with character encoding name |
98 |
in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and |
99 |
the document is not begin with <abbr>BOM</abbr>. In addition, |
100 |
the character encoding of the document is not a superset of |
101 |
<abbr>ASCII</abbr>. The document is non‐conforming.</p> |
102 |
|
103 |
<p>Unless there is a <abbr>BOM</abbr>, the character encoding |
104 |
for the document must be specified in e.g. <abbr>HTTP</abbr>‐level, |
105 |
as:</p> |
106 |
<pre class="http example"><code>Content-Type: text/html; charset=<var>charset-name</var></code></pre> |
107 |
|
108 |
<p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e. |
109 |
<code class="html example"><meta charset="<var>charset-name</var>"></code>, |
110 |
does not allow to omit <code>charset</code> parameter |
111 |
for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr> |
112 |
compatible encoding.</p> |
113 |
|
114 |
<p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>, |
115 |
and <code>ISO-2022-JP</code> are <em>not</em> a superset of |
116 |
<abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p> |
117 |
</d:desc> |
118 |
</d:item> |
119 |
|
120 |
<d:item name="sniffing:chardet" |
121 |
modules="HTML::Parser"> |
122 |
<d:message xml:lang="en">Character encoding of this document is sniffed |
123 |
as <code><var>{text}</var></code> (Sniffed because no explicit specification |
124 |
for the character encoding of this document is found in the transfer |
125 |
procotol headers).</d:message> |
126 |
</d:item> |
127 |
|
128 |
<d:item name="sniffing:default" |
129 |
modules="HTML::Parser"> |
130 |
<d:message xml:lang="en">Character encoding of this document is defaulted |
131 |
to <code><var>{text}</var></code> because no explicit specification |
132 |
for the character encoding of this document is found in the transfer |
133 |
procotol headers.</d:message> |
134 |
</d:item> |
135 |
|
136 |
<d:item name="chardecode:fallback" |
137 |
modules="HTML::Parser"> |
138 |
<d:message xml:lang="en">Since no decoder for the document character |
139 |
encoding is found, decoder for the character encoding |
140 |
<code><var>{text}</var></code> is used. Checking results might be |
141 |
<em>wrong</em>.</d:message> |
142 |
</d:item> |
143 |
|
144 |
<d:item name="chardecode:no error" |
145 |
modules="HTML::Parser"> |
146 |
<d:message xml:lang="en">Conformance error checking for the character |
147 |
encoding <code><var>{text}</var></code> is not supported.</d:message> |
148 |
</d:item> |
149 |
|
150 |
<d:item name="charset label:matching" |
151 |
modules="HTML::Parser"> |
152 |
<d:message xml:lang="en">Sniffed character encoding |
153 |
<code><var>{text}</var></code> is same as the character encoding specified |
154 |
in the character encoding declaration. This is <em>not</em> an |
155 |
error.</d:message> |
156 |
</d:item> |
157 |
|
158 |
<d:item name="charset label detected" |
159 |
class="format-charset warning" |
160 |
modules="HTML::Parser"> |
161 |
<d:message xml:lang="en">While parsing the document as |
162 |
<code><var>{text}</var></code>, a character encoding declaration specifying |
163 |
a different character encoding is found. The document |
164 |
is reparsed.</d:message> |
165 |
<d:desc xml:lang="en"> |
166 |
<p>While parsing a document in a character encoding, |
167 |
a character encoding declaration which declares the character |
168 |
encoding of the document as another character encoding is found. |
169 |
The occurence of this warning itself does not make the document |
170 |
non‐conforming. However, the failure of the first attempt to |
171 |
to detect the character encoding might be a result of non‐conformance |
172 |
of the document.</p> |
173 |
|
174 |
<p>The document will be reparsed from the beginning. Some error |
175 |
or warning might be reported again.</p> |
176 |
|
177 |
<p>These are suggestions to avoid this warning:</p> |
178 |
<ul> |
179 |
<li>Specify <code>charset</code> parameter in the <code>Content-Type</code> |
180 |
field in the <abbr>HTTP</abbr> header, as: |
181 |
<pre class="HTTP example"><code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li> |
182 |
<li>Put the character encoding declaration |
183 |
(<code class="html example"><meta charset="<var>charset-name</var>"></code>) |
184 |
just after <code class="html example"><head></code> start tag.</li> |
185 |
<li>Use <code>UTF-8</code>.</li> |
186 |
</ul> |
187 |
</d:desc> |
188 |
</d:item> |
189 |
|
190 |
<d:item name="NULL" |
191 |
modules="HTML::Parser"> |
192 |
<d:message xml:lang="en">The <code class="charname">NULL</code> character |
193 |
is not allowed.</d:message> |
194 |
</d:item> |
195 |
|
196 |
<d:item name="control char" |
197 |
modules="HTML::Parser"> |
198 |
<d:message xml:lang="en">Code point <code><var>{text}</var></code> is |
199 |
not allowed.</d:message> |
200 |
</d:item> |
201 |
|
202 |
</section> |
203 |
|
204 |
<section id="html5-tokenize-error"> |
205 |
<h2>HTML5 Parse Errors in Tokenization Stage</h2> |
206 |
|
207 |
<d:item name="after html" |
208 |
class="parse-error"> |
209 |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
210 |
is not allowed after the end tag <code></html></code>.</d:message> |
211 |
<d:desc xml:lang="en"> |
212 |
<p>The start or end tag of an element appears after the |
213 |
<code>html</code> element has been closed. The document is |
214 |
non-conforming.</p> |
215 |
|
216 |
<p>Any content of the document other than comments |
217 |
must be put into the <code>html</code> element.</p> |
218 |
</d:desc> |
219 |
</d:item> |
220 |
|
221 |
<d:item name="after body" |
222 |
class="parse-error"> |
223 |
<d:message xml:lang="en">Tag <code><<var>$0</var>></code> |
224 |
is not allowed after the end tag <code></body></code>.</d:message> |
225 |
<d:desc xml:lang="en"> |
226 |
<p>The start or end tag of an element appears after the |
227 |
<code>body</code> element has been closed. The document is |
228 |
non-conforming.</p> |
229 |
|
230 |
<p>Any content of the document other than <code>head</code> |
231 |
contents and comments must be put into the <code>body</code> |
232 |
element.</p> |
233 |
</d:desc> |
234 |
</d:item> |
235 |
|
236 |
<d:item name="bad attribute name" |
237 |
class="tokenize-error" |
238 |
modules="HTML::Parser"> |
239 |
<d:message xml:lang="en">Attribute name cannot contain characters |
240 |
<code>"</code>, <code>'</code>, and <code>=</code>.</d:message> |
241 |
</d:item> |
242 |
|
243 |
<d:item name="bad attribute value" |
244 |
class="tokenize-error" |
245 |
modules="HTML::Parser"> |
246 |
<d:message xml:lang="en">Attribute value must be quoted by <code>"</code> |
247 |
or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or |
248 |
<code>=</code> character.</d:message> |
249 |
</d:item> |
250 |
|
251 |
<d:item name="bare ero" |
252 |
class="tokenize-error" |
253 |
modules="HTML::Parser"> |
254 |
<d:message xml:lang="en">The <code>&</code> character must |
255 |
be escaped as <code class="html example">&amp;</code>.</d:message> |
256 |
<d:desc xml:lang="en"> |
257 |
<p>An <code>&</code> character which |
258 |
is not part of any reference appears in the input stream. |
259 |
The document is non‐conforming.</p> |
260 |
|
261 |
<p><em>Any <code>&</code> character in URI (or IRI) |
262 |
must be escaped as <code class="example">&amp;</code>.</em></p> |
263 |
|
264 |
<p>The <code>&</code> character must |
265 |
be the first character of a reference: |
266 |
<dl class="switch"> |
267 |
<dt>Named entity reference</dt> |
268 |
<dd><pre class="html example"><code>&<var>entity-name</var>;</code></pre> |
269 |
where <var>entity-name</var> is the name of the |
270 |
character entity to be referenced.</dd> |
271 |
<dt>Numeric character reference</dt> |
272 |
<dd><pre class="html example"><code>&#<var>d</var>;</code></pre> |
273 |
where <var>d</var> is the decimal representation of |
274 |
the code position of the character to be referenced.</dd> |
275 |
<dt>Hexadecimal character reference</dt> |
276 |
<dd><pre class="html example"><code>&#x<var>h</var>;</code></pre> |
277 |
where <var>h</var> is the hexadecimal representation |
278 |
of the code position of the character to be referenced.</dd> |
279 |
</dl> |
280 |
</p> |
281 |
|
282 |
<p>To represent <code>&</code> as a data character, use |
283 |
named entity reference: |
284 |
<pre class="html example"><code>&amp;</code></pre> |
285 |
</p> |
286 |
</d:desc> |
287 |
</d:item> |
288 |
|
289 |
<d:item name="bare etago" |
290 |
class="tokenize-error" |
291 |
modules="HTML::Parser"> |
292 |
<d:message xml:lang="en">A <code></</code> string is not followed |
293 |
by a tag name.</d:message><!-- </ EOF --> |
294 |
<d:desc xml:lang="en"> |
295 |
<p>There is a <code><</code> (<code>U+003C</code> |
296 |
<code class="charname">LESS-THAN SIGN</code>) character |
297 |
immediately followed by a <code>/</code> (<code>U+005F</code> |
298 |
<code>SOLIDUS</code>) character, which is not part |
299 |
of any end tag, in the input stream. The document |
300 |
is non-conforming.</p> |
301 |
|
302 |
<p>The <code></</code> sequence immediately followed |
303 |
by an <abbr title="End of file pseudo-character">EOF</abbr> is |
304 |
interpreted as a string data of <code></</code>.</p> |
305 |
|
306 |
<p>The <code></</code> sequence as string data must |
307 |
be escaped as: |
308 |
<pre class="html example"><code>&lt;/</code></pre> |
309 |
</p> |
310 |
</d:desc> |
311 |
</d:item> |
312 |
|
313 |
<d:item name="bare stago" |
314 |
class="tokenize-error" |
315 |
modules="HTML::Parser"> |
316 |
<d:message xml:lang="en">A <code><</code> character is not followed |
317 |
by tag name or by a <code>!</code> character.</d:message> |
318 |
<d:desc xml:lang="en"> |
319 |
<p>A <code><</code> (<code>U+003C</code> |
320 |
<code class="charname">LESS-THAN SIGN</code>) character which is not part |
321 |
of any markup appears in the input stream.</p> |
322 |
|
323 |
<p>The <code><</code> character as a data character must |
324 |
be escaped as: |
325 |
<pre class="html example"><code>&lt;</code></pre> |
326 |
</p> |
327 |
</d:desc> |
328 |
</d:item> |
329 |
|
330 |
<d:item name="bare nero" |
331 |
class="tokenize-error" |
332 |
modules="HTML::Parser"> |
333 |
<d:message xml:lang="en">The decimal representation of the code position |
334 |
of a character must be specified after <code>&#</code>.</d:message> |
335 |
<d:desc xml:lang="en"> |
336 |
<p>An <code>&</code> (<code>U+0026</code> |
337 |
<code class="charname">AMPERSAND</code>) character immediately |
338 |
followed by a <code>#</code> (<code>U+0023</code> |
339 |
<code>NUMBER SIGN</code>) character which |
340 |
is not part of any reference appears in the input stream. |
341 |
The document is non-conforming.</p> |
342 |
|
343 |
<p>The string <code>&#</code> must be the first two characters |
344 |
of a reference: |
345 |
<dl class="switch"> |
346 |
<dt>Numeric character reference</dt> |
347 |
<dd><pre class="html example"><code>&#<var>d</var>;</code></pre> |
348 |
where <var>d</var> is the decimal representation of |
349 |
the code point of the character to be referenced.</dd> |
350 |
<dt>Hexadecimal character reference</dt> |
351 |
<dd><pre class="html example"><code>&#x<var>h</var>;</code></pre> |
352 |
where <var>h</var> is the hexadecimal representation |
353 |
of the code point of the character to be referenced.</dd> |
354 |
</dl> |
355 |
</p> |
356 |
|
357 |
<p>To represent <code>&#</code> as data characters, use |
358 |
a named entity reference for the <code>&</code> character: |
359 |
<pre class="html example"><code>&amp;#</code></pre> |
360 |
</p> |
361 |
</d:desc> |
362 |
</d:item> |
363 |
|
364 |
<d:item name="bare hcro" |
365 |
class="tokenize-error" |
366 |
modules="HTML::Parser"> |
367 |
<d:message xml:lang="en">The hexadecimal representation of the code position |
368 |
of a character must be specified after <code>&#x</code>.</d:message> |
369 |
<d:desc xml:lang="en"> |
370 |
<p>The string <code>&#x</code> or <code>&#X</code> which |
371 |
is not part of any reference appears in the input stream. |
372 |
The document is non-conforming.</p> |
373 |
|
374 |
<p>The string <code>&#x</code> or <code>&#X</code> must |
375 |
be the first three characters of a hexadecimal reference: |
376 |
<pre class="html example"><code>&#x<var>h</var>;</code></pre> |
377 |
where <var>h</var> is the hexadecimal representation |
378 |
of the code point of the character to be referenced.</p> |
379 |
|
380 |
<p>To represent <code>&#x</code> as data characters, use |
381 |
a named entity reference for the <code>&</code> character: |
382 |
<pre class="html example"><code>&amp;#x</code></pre> |
383 |
</p> |
384 |
</d:desc> |
385 |
</d:item> |
386 |
|
387 |
<d:item name="bogus comment" |
388 |
class="tokenize-error" |
389 |
modules="HTML::Parser"> |
390 |
<d:message xml:lang="en">String <code><!</code> is not followed |
391 |
by <code>--</code>.</d:message> |
392 |
<d:desc xml:lang="en"> |
393 |
<p>There is a <code><</code> (<code>U+003C</code> |
394 |
<code class="charname">LESS-THAN SIGN</code>) character |
395 |
followed by a <code>!</code> (<code>U+0021</code> |
396 |
<code class="charname">EXCLAMATION MARK</code>) character, |
397 |
which is not followed by a <code>--</code> or |
398 |
<code>!DOCTYPE</code>. The document is non-conforming.</p> |
399 |
|
400 |
<dl class="switch"> |
401 |
<dt>Comments</dt> |
402 |
<dd>In HTML document, comments must be introduced by |
403 |
<code class="example"><!--</code> (<code><!</code> |
404 |
<em>immediately</em> followed |
405 |
by <em>two</em> <code>-</code>s) and must be terminated by |
406 |
<code class="example">--></code>. |
407 |
Strings <code><!</code> not followed |
408 |
by <code>--</code> and <code><!-</code> not followed by |
409 |
<code>-</code> are not valid open delimiters for comments.</dd> |
410 |
<dt>Marked sections, including <code>CDATA</code> sections</dt> |
411 |
<dd>Marked sections are not allowed in HTML document.</dd> |
412 |
<dt>Markup declarations</dt> |
413 |
<dd>Markup declarations, except for <code>DOCTYPE</code> |
414 |
and comment declarations, are not allowed in HTML document.</dd> |
415 |
<dt>String <code><!</code></dt> |
416 |
<dd>String <code><!</code> must be escaped as |
417 |
<code class="example">&lt;!</code>.</dd> |
418 |
</dl> |
419 |
</d:desc> |
420 |
</d:item> |
421 |
|
422 |
<d:item name="bogus end tag" |
423 |
class="tokenize-error" |
424 |
modules="HTML::Parser"> |
425 |
<d:message xml:lang="en">String <code></</code> is not followed |
426 |
by tag name.</d:message><!-- </ non-name-start-char-non-EOF --> |
427 |
<d:desc xml:lang="en"> |
428 |
<p>There is a <code><</code> (<code>U+003C</code> |
429 |
<code class="charname">LESS-THAN SIGN</code>) character |
430 |
immediately followed by a <code>/</code> (<code>U+005F</code> |
431 |
<code>SOLIDUS</code>) character, which is not part |
432 |
of any end tag, in the input stream. The document |
433 |
is non-conforming.</p> |
434 |
|
435 |
<p>The <code></</code> sequence not followed by a |
436 |
tag name is parsed as an opening of bogus comment.</p> |
437 |
|
438 |
<p>The <code></</code> sequence as string data must |
439 |
be escaped as: |
440 |
<pre class="html example"><code>&lt;/</code></pre> |
441 |
</p> |
442 |
</d:desc> |
443 |
</d:item> |
444 |
|
445 |
<d:item name="C1 character reference" |
446 |
class="tokenize-error" |
447 |
modules="HTML::Parser"> |
448 |
<d:message xml:lang="en">Character reference to |
449 |
<code><var>{text}</var></code> is not allowed.</d:message> |
450 |
</d:item> |
451 |
|
452 |
<d:item name="CR character reference" |
453 |
class="tokenize-error" |
454 |
modules="HTML::Parser"> |
455 |
<d:message xml:lang="en">Character reference to |
456 |
<code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>) |
457 |
is not allowed.</d:message> |
458 |
</d:item> |
459 |
|
460 |
<d:item name="dash in comment" |
461 |
class="tokenize-error" |
462 |
modules="HTML::Parser"> |
463 |
<d:message xml:lang="en">There is a <code>--</code> sequence |
464 |
in a comment.</d:message> |
465 |
<d:desc xml:lang="en"> |
466 |
<p>There is a <code>-</code> (<code>U+002D</code> |
467 |
<code class="charname">HYPHEN-MINUS</code>) character |
468 |
at the end of the comment or a <code>--</code> sequence |
469 |
in the comment. The document is non-conforming.</p> |
470 |
|
471 |
<p>Comments cannot contain a string <code>--</code>, as in XML. |
472 |
Unlike SGML, there cannot be more than one comments |
473 |
(where <i>comment</i> is an SGML term) in the comment |
474 |
declaration.</p> |
475 |
</d:desc> |
476 |
</d:item> |
477 |
|
478 |
<d:item name="duplicate attribute" |
479 |
class="tokenize-error" |
480 |
modules="HTML::Parser"> |
481 |
<d:message xml:lang="en">There are two attributes with name |
482 |
<code><var>{text}</var></code>.</d:message> |
483 |
<d:desc xml:lang="en"> |
484 |
<p>There are more than one attributes with the same |
485 |
name in a tag. The document is non-conforming.</p> |
486 |
|
487 |
<p>The <code>motion</code> attribute is not part of the HTML standard. |
488 |
Use <code>img</code> element with animation GIF instead.</p> |
489 |
</d:desc> |
490 |
</d:item> |
491 |
|
492 |
<d:item name="empty start tag" |
493 |
class="tokenize-error" |
494 |
modules="HTML::Parser"> |
495 |
<d:message xml:lang="en">Empty start tag (<code><></code>) is not |
496 |
allowed.</d:message> |
497 |
</d:item> |
498 |
|
499 |
<d:item name="empty end tag" |
500 |
class="tokenize-error" |
501 |
modules="HTML::Parser"> |
502 |
<d:message xml:lang="en">Empty end tag (<code></></code>) is not |
503 |
allowed.</d:message> |
504 |
</d:item> |
505 |
|
506 |
<d:item name="end tag attribute" |
507 |
class="tokenize-error" |
508 |
modules="HTML::Parser"> |
509 |
<d:message xml:lang="en">End tag cannot have attributes.</d:message> |
510 |
</d:item> |
511 |
|
512 |
<d:item name="invalid character reference" |
513 |
class="tokenize-error" |
514 |
modules="HTML::Parser"> |
515 |
<d:message xml:lang="en">Character reference to |
516 |
<code><var>{text}</var></code> is not allowed.</d:message> |
517 |
</d:item> |
518 |
|
519 |
<d:item name="nestc" |
520 |
class="tokenize-error" |
521 |
modules="HTML::Parser"> |
522 |
<d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be |
523 |
used for this element.</d:message> |
524 |
<d:desc xml:lang="en"> |
525 |
<p>Polytheistic slash (<code>/></code>) must not be used |
526 |
for the element. The document is non-conforming.</p> |
527 |
|
528 |
<p>The polytheistic slash can only be |
529 |
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
530 |
<code>hr</code>, <code>br</code>, <code>img</code>, |
531 |
<code>embed</code>, <code>param</code>, <code>area</code>, |
532 |
<code>col</code>, and <code>input</code> elements.</p> |
533 |
|
534 |
<dl class="switch"> |
535 |
<dt><code><script/></code></dt> |
536 |
<dd><p>The polytheistic slash cannot be used for <code>script</code> |
537 |
element. Even for an empty <code>script</code> element, |
538 |
there must be an explicit end tag |
539 |
<code class="html example"></script></code>.</p> |
540 |
|
541 |
<p><strong>NOTE</strong>: Though some user agents interpret |
542 |
polytheistic slash for <code>script</code> element as the |
543 |
closing of the element, such usage is not allowed under |
544 |
the current standard.</p></dd> |
545 |
<dt><code><basefont/></code>, <code><bgsound/></code>, |
546 |
<code><frame/></code>, <code><keygen/></code>, |
547 |
<code><spacer/></code>, <code><wbr/></code></dt> |
548 |
<dd>These elements are themselves non-conforming.</dd> |
549 |
<!-- isindex, image --> |
550 |
<dt><code><command/></code>, <code><event-source/></code>, |
551 |
<code><nest/></code>, or <code><source/></code></dt> |
552 |
<dd>Future revision of HTML5 parsing algorithm is expected |
553 |
to allow polytheistic slash for these elements.</dd> |
554 |
<dt><code><a/></code>, <code><p/></code></dt> |
555 |
<dd>These elements are not always empty and therefore |
556 |
polytheistic slash is not allowed. Use explicit end tag |
557 |
to represent empty element as: |
558 |
<pre class="example html"><code><p></p></code></pre> |
559 |
</dd> |
560 |
</dl> |
561 |
|
562 |
<p>Note that, unlike in XML, the polytheistic slash has |
563 |
no effect in HTML.</p> |
564 |
</d:desc> |
565 |
</d:item> |
566 |
|
567 |
<d:item name="no DOCTYPE name" |
568 |
class="tokenize-error" |
569 |
modules="HTML::Parser"> |
570 |
<d:message xml:lang="en">After the string <code><!DOCTYPE </code>, the |
571 |
document type name must be specified.</d:message> |
572 |
</d:item> |
573 |
|
574 |
<d:item name="no PUBLIC literal" |
575 |
class="tokenize-error" |
576 |
modules="HTML::Parser"> |
577 |
<d:message xml:lang="en">After the keyword <code>PUBLIC</code>, no |
578 |
oublic identifier is specified.</d:message> |
579 |
</d:item> |
580 |
|
581 |
<d:item name="no refc" |
582 |
class="tokenize-error" |
583 |
modules="HTML::Parser"> |
584 |
<d:message xml:lang="en">Character reference must be closed by a |
585 |
<code>;</code> character.</d:message> |
586 |
</d:item> |
587 |
|
588 |
<d:item name="no space before DOCTYPE name" |
589 |
class="tokenize-error" |
590 |
modules="HTML::Parser"> |
591 |
<d:message xml:lang="en">After the string <code><!DOCTYPE</code>, there |
592 |
must be at least a white space character before the document type |
593 |
name.</d:message> |
594 |
</d:item> |
595 |
|
596 |
<d:item name="no space between attributes" |
597 |
class="tokenize-error" |
598 |
modules="HTML::Parser"> |
599 |
<d:message xml:lang="en">Attributes must be separeted by at least a |
600 |
white space character.</d:message> |
601 |
</d:item> |
602 |
|
603 |
<d:item name="no SYSTEM literal" |
604 |
class="tokenize-error" |
605 |
modules="HTML::Parser"> |
606 |
<d:message xml:lang="en">After the keyword <code>SYSTEM</code>, no |
607 |
system identifier is specified.</d:message> |
608 |
</d:item> |
609 |
|
610 |
<d:item name="pio" |
611 |
class="tokenize-error" |
612 |
modules="HTML::Parser"> |
613 |
<d:message xml:lang="en">Processing instruction |
614 |
(<code><?<var>...</var>></code>) is not allowed in HTML |
615 |
document.</d:message> |
616 |
<d:desc xml:lang="en"> |
617 |
<p>Processing instructions (<code><?<var>...</var>?></code>), |
618 |
including XML declaration (<code><?xml <var>...</var>?></code>) |
619 |
and XML style sheet <abbr title="processing instruction">PI</abbr> |
620 |
(<code><?xml-stylesheet <var>...</var>?></code>), are not allowed |
621 |
in the HTML syntax. The document is non-conforming.</p> |
622 |
|
623 |
<dl class="switch"> |
624 |
<dt><code><?xbl?></code> (<abbr>XBL</abbr> Association)</dt> |
625 |
<dd>An <abbr>XBL</abbr> binding cannot be associated by |
626 |
<abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr> |
627 |
document. Use <code>binding</code> property in <abbr>CSS</abbr> |
628 |
style sheet as: |
629 |
<pre class="html example"><code><style> |
630 |
p { |
631 |
binding: url(binding.xbl); |
632 |
} |
633 |
</style></code></pre> |
634 |
</dd> |
635 |
<dt><code><?xml?></code> (XML declaration)</dt> |
636 |
<dd>XML declaration is unnecessary for HTML documents.</dd> |
637 |
<dt><code><?xml-stylesheet?></code> (XML style sheet |
638 |
<abbr title="processing instruction">PI</abbr>)</dt> |
639 |
<dd>Use HTML <code>link</code> element with <code>rel</code> |
640 |
attribute set to <code>stylesheet</code> (or, |
641 |
<code>alternate stylesheet</code> for an alternate style |
642 |
sheet). |
643 |
<pre class="example html"><code><link rel=stylesheet href="path/to/stylesheet.css"></code></pre> |
644 |
</dd> |
645 |
<dt><code><?php?></code> or |
646 |
<code><? <var>... <abbr>PHP</abbr> code ...</var> ?></code> |
647 |
(<abbr>PHP</abbr> code)</dt> |
648 |
<dd>The conformance checker does <em>not</em> support |
649 |
checking for PHP source documents.</dd> |
650 |
<dt>Other processing instructions</dt> |
651 |
<dd>Processing instructions cannot be inserted in an HTML |
652 |
document. Use XML document or insert |
653 |
<code>ProcessingInstruction</code> node by scripting.</dd> |
654 |
</dl> |
655 |
|
656 |
<p>Web browsers will parse processing instructions as bogus |
657 |
comments. Some legacy Web browsers, such as IE:mac and |
658 |
some mobile Web browsers, will display processing instructions |
659 |
as string.</p> |
660 |
</d:desc> |
661 |
</d:item> |
662 |
|
663 |
<d:item name="string after DOCTYPE name" |
664 |
class="tokenize-error" |
665 |
modules="HTML::Parser"> |
666 |
<d:message xml:lang="en">There is a bogus string after the document type |
667 |
name.</d:message> |
668 |
</d:item> |
669 |
|
670 |
<d:item name="string after PUBLIC" |
671 |
class="tokenize-error" |
672 |
modules="HTML::Parser"> |
673 |
<d:message xml:lang="en">There is a bogus string after the keyword |
674 |
<code>PUBLIC</code>.</d:message> |
675 |
</d:item> |
676 |
|
677 |
<d:item name="string after PUBLIC literal" |
678 |
class="tokenize-error" |
679 |
modules="HTML::Parser"> |
680 |
<d:message xml:lang="en">There is a bogus string after the public |
681 |
identifier.</d:message> |
682 |
</d:item> |
683 |
|
684 |
<d:item name="string after SYSTEM" |
685 |
class="tokenize-error" |
686 |
modules="HTML::Parser"> |
687 |
<d:message xml:lang="en">There is a bogus string after the keyword |
688 |
<code>SYSTEM</code>.</d:message> |
689 |
</d:item> |
690 |
|
691 |
<d:item name="string after SYSTEM literal" |
692 |
class="tokenize-error" |
693 |
modules="HTML::Parser"> |
694 |
<d:message xml:lang="en">There is a bogus string after the system |
695 |
identifier.</d:message> |
696 |
</d:item> |
697 |
|
698 |
<d:item name="unclosed attribute value" |
699 |
class="tokenize-error" |
700 |
modules="HTML::Parser"> |
701 |
<d:message xml:lang="en">Attribute value is not closed by a quotation |
702 |
mark.</d:message> |
703 |
</d:item> |
704 |
|
705 |
<d:item name="unclosed comment" |
706 |
class="tokenize-error" |
707 |
modules="HTML::Parser"> |
708 |
<d:message xml:lang="en">Comment is not closed by a string |
709 |
<code>--></code>.</d:message> |
710 |
</d:item> |
711 |
|
712 |
<d:item name="unclosed DOCTYPE" |
713 |
class="tokenize-error" |
714 |
modules="HTML::Parser"> |
715 |
<d:message xml:lang="en">The <code>DOCTYPE</code> is not closed by a |
716 |
<code>></code> character.</d:message> |
717 |
</d:item> |
718 |
|
719 |
<d:item name="unclosed PUBLIC literal" |
720 |
class="tokenize-error" |
721 |
modules="HTML::Parser"> |
722 |
<d:message xml:lang="en">The public identifier literal is not closed by a |
723 |
quotation mark.</d:message> |
724 |
</d:item> |
725 |
|
726 |
<d:item name="unclosed SYSTEM literal" |
727 |
class="tokenize-error" |
728 |
modules="HTML::Parser"> |
729 |
<d:message xml:lang="en">The system identifier literal is not closed by a |
730 |
quotation mark.</d:message> |
731 |
</d:item> |
732 |
|
733 |
<d:item name="unclosed tag" |
734 |
class="tokenize-error" |
735 |
modules="HTML::Parser"> |
736 |
<d:message xml:lang="en">Tag is not closed by a <code>></code> |
737 |
character.</d:message> |
738 |
</d:item> |
739 |
|
740 |
</section> |
741 |
|
742 |
<section id="html5-parse-errors"> |
743 |
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
744 |
|
745 |
<d:item name="after body" |
746 |
class="parse-error" |
747 |
modules="HTML::Parser"> |
748 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> is |
749 |
not allowed after the <code>body</code> is closed.</d:message> |
750 |
</d:item> |
751 |
|
752 |
<d:item name="after body:/" |
753 |
class="parse-error" |
754 |
modules="HTML::Parser"> |
755 |
<d:message xml:lang="en">End tag <code></<var>{text}</var>></code> is |
756 |
not allowed after the <code>body</code> is closed.</d:message> |
757 |
</d:item> |
758 |
|
759 |
<d:item name="after body:#text" |
760 |
class="parse-error" |
761 |
modules="HTML::Parser"> |
762 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed |
763 |
after the <code>body</code> is closed.</d:message> |
764 |
</d:item> |
765 |
|
766 |
<d:item name="after frameset" |
767 |
class="parse-error" |
768 |
modules="HTML::Parser"> |
769 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> is |
770 |
not allowed after the <code>frameset</code> is closed.</d:message> |
771 |
</d:item> |
772 |
|
773 |
<d:item name="after frameset:/" |
774 |
class="parse-error" |
775 |
modules="HTML::Parser"> |
776 |
<d:message xml:lang="en">End tag <code></<var>{text}</var>></code> is |
777 |
not allowed after the <code>frameset</code> is closed.</d:message> |
778 |
</d:item> |
779 |
|
780 |
<d:item name="after frameset:#text" |
781 |
class="parse-error" |
782 |
modules="HTML::Parser"> |
783 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed |
784 |
after the <code>frame</code> is closed.</d:message> |
785 |
</d:item> |
786 |
|
787 |
<d:item name="after head" |
788 |
class="parse-error"> |
789 |
<d:message xml:lang="en">The <code><var>{text}</var></code> element cannot be |
790 |
inserted between <code>head</code> and <code>body</code> |
791 |
elements.</d:message> |
792 |
<d:desc xml:lang="en"> |
793 |
<p>A start tag appears after the <code>head</code> element is closed |
794 |
but before the <code>body</code> element is opened. |
795 |
The document is non-conforming.</p> |
796 |
</d:desc> |
797 |
</d:item> |
798 |
|
799 |
<d:item name="after html" |
800 |
class="parse-error" |
801 |
modules="HTML::Parser"> |
802 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> is |
803 |
not allowed after the <code>html</code> is closed.</d:message> |
804 |
</d:item> |
805 |
|
806 |
<d:item name="after html:/" |
807 |
class="parse-error" |
808 |
modules="HTML::Parser"> |
809 |
<d:message xml:lang="en">End tag <code></<var>{text}</var>></code> is |
810 |
not allowed after the <code>html</code> is closed.</d:message> |
811 |
</d:item> |
812 |
|
813 |
<d:item name="after html:#text" |
814 |
class="parse-error" |
815 |
modules="HTML::Parser"> |
816 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed |
817 |
after the <code>html</code> is closed.</d:message> |
818 |
</d:item> |
819 |
|
820 |
<d:item name="image" |
821 |
class="parse-error" |
822 |
modules="HTML::Parser"> |
823 |
<d:message xml:lang="en">The <code>image</code> element is |
824 |
obsolete.</d:message> |
825 |
</d:item> |
826 |
|
827 |
<d:item name="in a:a" |
828 |
class="parse-error" |
829 |
modules="HTML::Parser"> |
830 |
<d:message xml:lang="en">Anchor cannot be nested.</d:message> |
831 |
<d:desc xml:lang="en"> |
832 |
<p>HTML <code>a</code> elements cannot be nested. |
833 |
The document is non-conforming.</p> |
834 |
|
835 |
<p>In the HTML syntax, a start tag of the <code>a</code> |
836 |
implies the end tag of any opening <code>a</code> element.</p> |
837 |
</d:desc> |
838 |
</d:item> |
839 |
|
840 |
<d:item name="in body" |
841 |
class="parse-error" |
842 |
modules="HTML::Parser"> |
843 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> |
844 |
is not allowed in the <code>body</code> element.</d:message> |
845 |
<d:desc xml:lang="en"> |
846 |
<p>The start or end tag of an element, which |
847 |
cannot be a descendant of <code>body</code> element, appears |
848 |
in the input stream while the <code>body</code> element has been opened. |
849 |
The document is non-conforming.</p> |
850 |
</d:desc> |
851 |
</d:item> |
852 |
|
853 |
<d:item name="in body:#eof" |
854 |
class="parse-error" |
855 |
modules="HTML::Parser"> |
856 |
<d:message xml:lang="en">Some element is not closed before the end of |
857 |
file.</d:message> |
858 |
</d:item> |
859 |
|
860 |
<d:item name="in button:button" |
861 |
class="parse-error" |
862 |
modules="HTML::Parser"> |
863 |
<d:message xml:lang="en">The <code>button</code> element cannot be |
864 |
nested.</d:message> |
865 |
</d:item> |
866 |
|
867 |
<d:item name="in CDATA:#eof" |
868 |
class="parse-error" |
869 |
modules="HTML::Parser"> |
870 |
<d:message xml:lang="en">Element is not closed before the end of |
871 |
file.</d:message> |
872 |
</d:item> |
873 |
|
874 |
<d:item name="in form:form" |
875 |
class="parse-error" |
876 |
modules="HTML::Parser"> |
877 |
<d:message xml:lang="en">Start tag <code><form></code> is |
878 |
not allowed in a <code>form</code> element.</d:message> |
879 |
</d:item> |
880 |
|
881 |
<d:item name="in frameset" |
882 |
class="parse-error" |
883 |
modules="HTML::Parser"> |
884 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> is |
885 |
not allowed in a <code>framset</code> element.</d:message> |
886 |
</d:item> |
887 |
|
888 |
<d:item name="in frameset:/" |
889 |
class="parse-error" |
890 |
modules="HTML::Parser"> |
891 |
<d:message xml:lang="en">End tag <code></<var>{text}</var>></code> is |
892 |
not allowed in a <code>frameset</code> element.</d:message> |
893 |
</d:item> |
894 |
|
895 |
<d:item name="in frameset:#text" |
896 |
class="parse-error" |
897 |
modules="HTML::Parser"> |
898 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed |
899 |
in a <code>frameset</code> element.</d:message> |
900 |
</d:item> |
901 |
|
902 |
<d:item name="in head:head" |
903 |
class="parse-error" |
904 |
modules="HTML::Parser"> |
905 |
<d:message xml:lang="en">Start tag <code><head></code> |
906 |
is not allowed in the <code>head</code> element.</d:message> |
907 |
<d:desc xml:lang="en"> |
908 |
<p>There is a start tag <code><head></code> in the |
909 |
<code><head></code> element. The document is non-conforming.</p> |
910 |
|
911 |
<p>In an HTML document there must not be more than |
912 |
one <code>head</code> element, therefore no more than one |
913 |
start tag <code><head></code> can appear in the input stream.</p> |
914 |
</d:desc> |
915 |
</d:item> |
916 |
|
917 |
<d:item name="in html:#DOCTYPE" |
918 |
class="parse-error" |
919 |
modules="HTML::Parser"> |
920 |
<d:message xml:lang="en">A <code>DOCTYPE</code> appears after any |
921 |
element or data character has been seen.</d:message> |
922 |
<!-- <!DOCTYPE HTML><!DOCTYPE HTML> --> |
923 |
<!-- <html><!DOCTYPE HTML> --> |
924 |
<d:desc xml:lang="en"> |
925 |
<p>A <code>DOCTYPE</code> appears after any element or data character |
926 |
has been seen. The document is non-conforming.</p> |
927 |
|
928 |
<p>The <code>DOCTYPE</code> must be placed before any |
929 |
tag, reference, or data character. Only white space characters |
930 |
and comments can be inserted before the <code>DOCTYPE</code>.</p> |
931 |
</d:desc> |
932 |
</d:item> |
933 |
|
934 |
<d:item name="in nobr:nobr" |
935 |
class="parse-error" |
936 |
modules="HTML::Parser"> |
937 |
<d:message xml:lang="en">The <code>nobr</code> element cannot be |
938 |
nested.</d:message> |
939 |
</d:item> |
940 |
|
941 |
<d:item name="in noscript" |
942 |
class="parse-error" |
943 |
modules="HTML::Parser"> |
944 |
<d:message xml:lang="en">The <code><var>{text}</var></code> element is not |
945 |
allowed in a <code>noscript</code> element in the |
946 |
<code>head</code> element.</d:message> |
947 |
</d:item> |
948 |
|
949 |
<d:item name="in noscript:/" |
950 |
class="parse-error" |
951 |
modules="HTML::Parser"> |
952 |
<d:message xml:lang="en">An end tag <code></<var>{text}</var>></code> |
953 |
appers before the <code>noscript</code> element is closed.</d:message> |
954 |
</d:item> |
955 |
|
956 |
<d:item name="in noscript:#eof" |
957 |
class="parse-error" |
958 |
modules="HTML::Parser"> |
959 |
<d:message xml:lang="en">A <code>noscript</code> element is not closed |
960 |
before the end of file.</d:message> |
961 |
</d:item> |
962 |
|
963 |
<d:item name="in noscript:#text" |
964 |
class="parse-error" |
965 |
modules="HTML::Parser"> |
966 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed |
967 |
in a <code>noscript</code> element in the <code>head</code> |
968 |
element.</d:message> |
969 |
</d:item> |
970 |
|
971 |
<d:item name="in PCDATA:#eof" |
972 |
class="parse-error" |
973 |
modules="HTML::Parser"> |
974 |
<d:message xml:lang="en">Element is not closed before the end of |
975 |
file.</d:message> |
976 |
</d:item> |
977 |
|
978 |
<d:item name="in select" |
979 |
class="parse-error" |
980 |
modules="HTML::Parser"> |
981 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> |
982 |
is not allowed in a <code>select</code> element.</d:message> |
983 |
</d:item> |
984 |
|
985 |
<d:item name="in select:/" |
986 |
class="parse-error" |
987 |
modules="HTML::Parser"> |
988 |
<d:message xml:lang="en">End tag <code></<var>{text}</var>></code> |
989 |
is not allowed in a <code>select</code> element.</d:message> |
990 |
</d:item> |
991 |
|
992 |
<d:item name="in table" |
993 |
class="parse-error" |
994 |
modules="HTML::Parser"> |
995 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> |
996 |
is not allowed in a <code>table</code> element.</d:message> |
997 |
<d:desc xml:lang="en"> |
998 |
<p>The start or end tag of an element, which |
999 |
cannot be a child of <code>table</code> element, appears |
1000 |
in the input stream while the <code>table</code> element has been opened |
1001 |
but no other element has been opened. The document is non-conforming.</p> |
1002 |
|
1003 |
<p>In <code>table</code>, only table related elements |
1004 |
are allowed; any other element must be contained in |
1005 |
<code>td</code> or <code>th</code> element to form |
1006 |
a part of the table, or <code>caption</code> element to create |
1007 |
a table caption.</p> |
1008 |
</d:desc> |
1009 |
</d:item> |
1010 |
|
1011 |
<d:item name="in table:/" |
1012 |
class="parse-error" |
1013 |
modules="HTML::Parser"> |
1014 |
<d:message xml:lang="en">End tag <code></<var>{text}</var>></code> |
1015 |
is not allowed in a <code>table</code> element.</d:message> |
1016 |
</d:item> |
1017 |
|
1018 |
<d:item name="in table:#text" |
1019 |
class="parse-error" |
1020 |
modules="HTML::Parser"> |
1021 |
<d:message xml:lang="en">Non‐white‐space character is not allowed within |
1022 |
the <code>table</code> element, outside of the caption and cells.</d:message> |
1023 |
<d:desc xml:lang="en"> |
1024 |
<p>A non‐white‐space character appears in <code>table</code>. |
1025 |
The document is non-conforming.</p> |
1026 |
|
1027 |
<p>In <code>table</code>, only table related elements |
1028 |
are allowed; any other element and data character must be contained in |
1029 |
<code>td</code> or <code>th</code> element to form |
1030 |
a part of the table, or <code>caption</code> element to create |
1031 |
a table caption.</p> |
1032 |
</d:desc> |
1033 |
</d:item> |
1034 |
|
1035 |
<d:item name="isindex" |
1036 |
class="parse-error" |
1037 |
modules="HTML::Parser"> |
1038 |
<d:message xml:lang="en">The <code>isindex</code> element is |
1039 |
obsolete.</d:message> |
1040 |
</d:item> |
1041 |
|
1042 |
<d:item name="missing start tag:tr" |
1043 |
class="parse-error" |
1044 |
modules="HTML::Parser"> |
1045 |
<d:message xml:lang="en">Start tag of <code>tr</code> |
1046 |
element is missing.</d:message> |
1047 |
<d:desc> |
1048 |
<p>Start tag of a <code>tr</code> element, which is <em>not</em> |
1049 |
optional, is missing. The document is non-conforming.</p> |
1050 |
|
1051 |
<p>In a table section, a <code><tr></code> start tag |
1052 |
must occur before any <code><td></code> or |
1053 |
<code><th></code> start tag. Though the HTML5 parser |
1054 |
implies the <code><tr></code> start tag before |
1055 |
these start tags, it must be explicitly specified.</p> |
1056 |
</d:desc> |
1057 |
</d:item> |
1058 |
|
1059 |
<d:item name="no DOCTYPE" |
1060 |
class="parse-error" |
1061 |
modules="HTML::Parser"> |
1062 |
<d:message xml:lang="en">This document does not start with a |
1063 |
<code>DOCTYPE</code>.</d:message> |
1064 |
<d:desc> |
1065 |
<p>The document does not start with a <code>DOCTYPE</code>. |
1066 |
The document is non-conforming.</p> |
1067 |
|
1068 |
<p>An HTML document must start by a <code>DOCTYPE</code>: |
1069 |
<pre class="html example"><code><!DOCTYPE HTML></code></pre> |
1070 |
</p> |
1071 |
|
1072 |
<p>Only white space characters and comments are allowed |
1073 |
before the <code>DOCTYPE</code>. XML declaration is <em>not</em> |
1074 |
allowed in HTML document.</p> |
1075 |
</d:desc> |
1076 |
</d:item> |
1077 |
|
1078 |
<d:item name="not closed" |
1079 |
class="parse-error" |
1080 |
modules="HTML::Parser"> |
1081 |
<d:message xml:lang="en">Element <code><var>{text}</var></code> is not |
1082 |
closed.</d:message> |
1083 |
<d:desc> |
1084 |
<p>End tag of an element is not found before, for example, |
1085 |
an end tag of another element appears or |
1086 |
the end of the document. The document is non-conforming.</p> |
1087 |
|
1088 |
<p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>, |
1089 |
<code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>, |
1090 |
<code>ol</code>, <code>option</code>, <code>optgroup</code>, |
1091 |
<code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, |
1092 |
<code>tbody</code>, <code>td</code>, <code>tfoot</code>, |
1093 |
<code>th</code>, <code>thead</code>, <code>tr</code>, |
1094 |
<code>ul</code> end tag can be omitted in HTML documents. |
1095 |
For any element except for void element, there must be an explicit |
1096 |
end tag.</p> |
1097 |
|
1098 |
<dl class="switch"> |
1099 |
<dt>HTML <code>canvas</code> element</dt> |
1100 |
<dd>Though the element is void in earlier versions of Safari, |
1101 |
the <code>canvas</code> element is <em>no</em> longer |
1102 |
defined as empty. There must be an end tag |
1103 |
<code class="html example"></canvas></code>.</dd> |
1104 |
</dl> |
1105 |
|
1106 |
<p>Note that misnesting tags, such as |
1107 |
<code class="bad example"><a><b></a></b></code>, are not |
1108 |
allowed and they also cause this error.</p> |
1109 |
</d:desc> |
1110 |
</d:item> |
1111 |
|
1112 |
<d:item name="not first start tag" |
1113 |
class="parse-error" |
1114 |
modules="HTML::Parser"> |
1115 |
<d:message xml:lang="en">This <code><html></code> tag is not |
1116 |
the first start tag.</d:message> |
1117 |
<d:desc> |
1118 |
<p>There is a start tag of the <code>html</code> element |
1119 |
that it not the first start tag in the input stream. |
1120 |
The document is non-conforming.</p> |
1121 |
|
1122 |
<p>In an HTML document, there cannot be more than one |
1123 |
<code>html</code> element and therefore there cannot be |
1124 |
more than one <code><html></code> tag. In addition, |
1125 |
nothing can be placed before the <code><html></code> tag |
1126 |
except a <code>DOCTYPE</code>, white space characters, |
1127 |
and comments.</p> |
1128 |
</d:desc> |
1129 |
</d:item> |
1130 |
|
1131 |
<d:item name="not HTML5" |
1132 |
class="parse-error" |
1133 |
modules="HTML::Parser"> |
1134 |
<d:message xml:lang="en">This document is written in an old version of |
1135 |
HTML.</d:message> |
1136 |
<d:desc xml:lang="en"> |
1137 |
<p>The document contains a <code>DOCTYPE</code> declaration |
1138 |
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
1139 |
<code class="example html"><!DOCTYPE HTML></code>). |
1140 |
The document is non‐conforming.</p> |
1141 |
|
1142 |
<p>The document might or might not be conformant to |
1143 |
some version of HTML. However, conformance to any HTML |
1144 |
specification other than HTML5 provides for no practical |
1145 |
convenience, since Web borwsers will parse any |
1146 |
HTML document (roughly) as defined in HTML5.</p> |
1147 |
</d:desc> |
1148 |
</d:item> |
1149 |
|
1150 |
<d:item name="start tag not allowed" |
1151 |
class="parse-error" |
1152 |
modules="HTML::Parser"> |
1153 |
<d:message xml:lang="en">Start tag <code><<var>{text}</var>></code> is |
1154 |
not allowed here.</d:message> |
1155 |
</d:item> |
1156 |
|
1157 |
<d:item name="unmatched end tag" |
1158 |
class="parse-error" |
1159 |
modules="HTML::Parser"> |
1160 |
<d:message xml:lang="en">Element <code><var>{text}</var></code> is not |
1161 |
opened.</d:message> |
1162 |
<d:desc> |
1163 |
<p>An end tag appears though no element with the same name |
1164 |
has been opened. The document is non-conforming.</p> |
1165 |
|
1166 |
<p>For any end tag in HTML document, there must be a |
1167 |
corresponding start tag.</p> |
1168 |
|
1169 |
<dl class="switch"> |
1170 |
<dt>HTML <code>base</code>, <code>basefont</code>, |
1171 |
<code>bgsound</code>, <code>br</code>, <code>col</code>, |
1172 |
<code>embed</code>, <code>frame</code>, <code>hr</code>, |
1173 |
<code>image</code>, <code>img</code>, <code>input</code>, |
1174 |
<code>isindex</code>, <code>link</code>, <code>meta</code>, |
1175 |
<code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt> |
1176 |
<dd>End tag is not allowed for these elements, since |
1177 |
those content must always be empty. Remove end tag.</dd> |
1178 |
<!-- keygen --> |
1179 |
<!-- command, event-source, nest, source --> |
1180 |
</dl> |
1181 |
</d:desc> |
1182 |
</d:item> |
1183 |
|
1184 |
</section> |
1185 |
|
1186 |
<section id="element-content-model-errors"> |
1187 |
<h2>Element Content Model Errors</h2> |
1188 |
|
1189 |
<d:item name="basehref after URL attribute" |
1190 |
modules="ContentChecker::HTML"> |
1191 |
<d:message xml:lang="en">The <code>base</code> element with the |
1192 |
<code>href</code> attribute specified cannot be placed after |
1193 |
any attribute with a URL.</d:message> |
1194 |
</d:item> |
1195 |
|
1196 |
<d:item name="basetarget after hyperlink" |
1197 |
modules="ContentChecker::HTML"> |
1198 |
<d:message xml:lang="en">The <code>base</code> element with the |
1199 |
<code>target</code> attribute specified cannot be placed after |
1200 |
any element that defines a hyperlink.</d:message> |
1201 |
</d:item> |
1202 |
|
1203 |
<d:item name="character not allowed" |
1204 |
modules="ContentChecker::HTML RDFXML"> |
1205 |
<d:message xml:lang="en">Data character is not allowed in this |
1206 |
context.</d:message> |
1207 |
<d:desc xml:lang="en"> |
1208 |
<p>A data character appears where it is not allowed in this |
1209 |
context. The document is non-conforming.</p> |
1210 |
|
1211 |
<p>Possible causes: |
1212 |
<ul> |
1213 |
<li><p>A data character cannot be a child |
1214 |
of certain sectioning elements such as <code>body</code>, |
1215 |
<code>section</code>, and <code>blockquote</code>.</p> |
1216 |
|
1217 |
<p>Any inline-level content must be put |
1218 |
in e.g. paragraph element such as <code>p</code>.</p></li> |
1219 |
<li><p>Though some elements such as <code>div</code>, |
1220 |
<code>li</code>, and <code>td</code> allow |
1221 |
<em>either one</em> of block-level or inline-level content |
1222 |
is allowed. If there is a block-level content, |
1223 |
any inline-level content must be put |
1224 |
in e.g. paragraph element such as <code>p</code>.</p></li> |
1225 |
</ul> |
1226 |
</p> |
1227 |
</d:desc> |
1228 |
</d:item> |
1229 |
|
1230 |
<d:item name="character not allowed:empty" |
1231 |
modules="ContentChecker::HTML"> |
1232 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed in |
1233 |
an empty element.</d:message> |
1234 |
</d:item> |
1235 |
|
1236 |
<d:item name="character not allowed:atom|PersonConstruct" |
1237 |
modules="ContentChecker::HTML"> |
1238 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed in |
1239 |
Person construct.</d:message> |
1240 |
</d:item> |
1241 |
|
1242 |
<d:item name="character not allowed:atom|TextConstruct" |
1243 |
modules="ContentChecker::HTML"> |
1244 |
<d:message xml:lang="en">Non‐white‐space characters are not allowed in |
1245 |
Text construct.</d:message> |
1246 |
</d:item> |
1247 |
|
1248 |
<d:item name="child element missing" |
1249 |
modules="ContentChecker::HTML ContentChecker::Atom"> |
1250 |
<d:message xml:lang="en">There must be an element |
1251 |
<code><var>{text}</var></code> as a child of this element.</d:message> |
1252 |
<d:desc xml:lang="en"> |
1253 |
<p>The content model of the element is so defined that it |
1254 |
must contain a <code><var>$0</var></code> child element. |
1255 |
The document is non-conforming.</p> |
1256 |
|
1257 |
<dl class="switch"> |
1258 |
<dt>HTML <code>head</code> element</dt> |
1259 |
<dd>There must be a <code>title</code> child element.</dd> |
1260 |
<dt>HTML <code>html</code> element</dt> |
1261 |
<dd>There must be a <code>head</code> child element followed |
1262 |
by a <code>body</code> element.</dd> |
1263 |
<dt>HTML <code>tr</code> element</dt> |
1264 |
<dd><a href="#child-element-missing:td%7Cth">There must be |
1265 |
one or more <code>td</code> or <code>th</code> child element.</a></dd> |
1266 |
</dl> |
1267 |
</d:desc> |
1268 |
</d:item> |
1269 |
|
1270 |
<d:item name="child element missing:td|th" |
1271 |
class="content-model-error"> |
1272 |
<d:message xml:lang="en">There must be a <code>td</code> |
1273 |
or <code>th</code> element as a child of this element.</d:message> |
1274 |
<d:desc xml:lang="en"> |
1275 |
<p>The <code>tr</code> element must contain at least one |
1276 |
<code>td</code> or <code>th</code> child element. The document |
1277 |
is non-conforming.</p> |
1278 |
</d:desc> |
1279 |
</d:item> |
1280 |
|
1281 |
<d:item name="child element missing:atom" |
1282 |
modules="ContentChecker::HTML"> |
1283 |
<d:message xml:lang="en">There must be an element |
1284 |
<code><var>{text}</var></code> in the Atom namespace as a child of this |
1285 |
element.</d:message> |
1286 |
</d:item> |
1287 |
|
1288 |
<d:item name="child element missing:atom:link:alternate" |
1289 |
modules="ContentChecker::HTML"> |
1290 |
<d:message xml:lang="en">There must be an Atom <code>link</code> element |
1291 |
whose <code>rel</code> attribute is set to <code>alternate</code> as a |
1292 |
child of this element.</d:message> |
1293 |
</d:item> |
1294 |
|
1295 |
<d:item name="child element missing:atom:link:self" |
1296 |
modules="ContentChecker::HTML"> |
1297 |
<d:message xml:lang="en">There should be an Atom <code>link</code> element |
1298 |
whose <code>rel</code> attribute is set to <code>self</code> as a |
1299 |
child of this element.</d:message> |
1300 |
</d:item> |
1301 |
|
1302 |
<d:item name="element missing:hn" |
1303 |
modules="ContentChecker::HTML"> |
1304 |
<d:message xml:lang="en">There must be at least one |
1305 |
<code>h<var>n</var></code> element descendant.</d:message> |
1306 |
</d:item> |
1307 |
|
1308 |
<d:item name="element not allowed" |
1309 |
modules="ContentChecker::HTML ContentChecker::Atom RDFXML"> |
1310 |
<d:message xml:lang="en">This element is not allowed in this |
1311 |
context.</d:message> |
1312 |
<d:desc xml:lang="en"> |
1313 |
<p>An element appears where it is not allowed. The document |
1314 |
is non-conforming.</p> |
1315 |
|
1316 |
<p>Possible causes: |
1317 |
<dl class="switch"> |
1318 |
<dt>If the element with the error is an inline-level element, |
1319 |
such as <code>a</code>, <code>progress</code>, or <code>img</code></dt> |
1320 |
<dd><p>An inline-level element cannot be a child |
1321 |
of certain sectioning elements such as <code>body</code>, |
1322 |
<code>section</code>, and <code>blockquote</code>.</p> |
1323 |
|
1324 |
<p>Any inline-level content must be put |
1325 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
1326 |
<dt>If it is a block-level elements, such as <code>aside</code>, |
1327 |
<code>div</code>, <code>h<var>n</var></code>, |
1328 |
<code>p</code>, or <code>section</code></dt> |
1329 |
<dd><dl class="switch"> |
1330 |
<dt>If the parent element is <code>div</code>, |
1331 |
<code>li</code>, <code>td</code>, or <code>th</code></dt> |
1332 |
<!-- @@ TODO: more... --> |
1333 |
<!-- @@ TODO: <p><ul><li><p> --> |
1334 |
<dd><p>The parent element allows <em>either</em> |
1335 |
block-level or inline-level content. If there is a |
1336 |
block-level content, any inline-level content must be |
1337 |
put in e.g. paragraph element such as <code>p</code>.</p> |
1338 |
<p>For example, an HTML document fragment |
1339 |
<code class="html bad example"><div><p>Hello!</p> World!</div></code> |
1340 |
is non-conforming, since a word <q>World!</q> does not belong |
1341 |
to any paragraph. (If not part of any paragraph, what is |
1342 |
it!?) A conforming example would be: |
1343 |
<pre class="html example"><code><div><p>Hello!</p> <p>World!</p></div></code></pre> |
1344 |
</p></dd> |
1345 |
<dt>If the parent element does <em>not</em> allow |
1346 |
block-level elements as content</dt> |
1347 |
<dd>The element is not allowed to be inserted here. |
1348 |
For example, a <code>div</code> element cannot be |
1349 |
a child of an <code>h1</code> element.</dd> |
1350 |
</dl></dd> |
1351 |
<dt>If the element with the error is a <code>noscript</code> element</dt> |
1352 |
<dd>The <code>noscript</code> element is allowed only in the context |
1353 |
where a block-level or inline-level content is expected |
1354 |
and in the <code>head</code> element. |
1355 |
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
1356 |
or <code>select</code>.</dd> |
1357 |
<dt>If the element with the error is <code>blink</code>, |
1358 |
<code>center</code>, or <code>marquee</code> element</dt> |
1359 |
<dd>These elements are not part of the HTML standard. |
1360 |
Use CSS for styling control.</dd> |
1361 |
|
1362 |
<dt><code>button</code>, <code>datalist</code>, |
1363 |
<code>fieldset</code>, <code>form</code>, |
1364 |
<code>input</code>, <code>label</code>, |
1365 |
<code>optgroup</code>, <code>option</code>, <code>output</code>, |
1366 |
<code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>, |
1367 |
<code>textarea</code>, or <code>textarea</code> element</dt> |
1368 |
<!-- rbc, rtc ? --> |
1369 |
<dd>These elements are intentionally not supported by the conformance |
1370 |
checker <em>yet</em>.</dd> |
1371 |
</dl> |
1372 |
</p> |
1373 |
</d:desc> |
1374 |
</d:item> |
1375 |
|
1376 |
<d:item name="element not allowed:area" |
1377 |
modules="ContentChecker ContentChecker::HTML"> |
1378 |
<d:message xml:lang="en">An <code>area</code> element cannot be used |
1379 |
outside of a <code>map</code> element.</d:message> |
1380 |
</d:item> |
1381 |
|
1382 |
<d:item name="element not allowed:base" |
1383 |
modules="ContentChecker ContentChecker::HTML"> |
1384 |
<d:message xml:lang="en">There is another <code>base</code> |
1385 |
element.</d:message> |
1386 |
</d:item> |
1387 |
|
1388 |
<d:item name="element not allowed:datatemplate" |
1389 |
modules="ContentChecker ContentChecker::HTML"> |
1390 |
<d:message xml:lang="en">In a <code>datatemplate</code> element, only |
1391 |
<code>rule</code> elements are allowed.</d:message> |
1392 |
</d:item> |
1393 |
|
1394 |
<d:item name="element not allowed:details legend" |
1395 |
modules="ContentChecker::HTML"> |
1396 |
<d:message xml:lang="en">In a <code>details</code> element, only at the |
1397 |
beginning of the element a <code>lengend</code> element |
1398 |
may be used.</d:message> |
1399 |
</d:item> |
1400 |
|
1401 |
<d:item name="element not allowed:empty" |
1402 |
modules="ContentChecker::HTML ContentChecker::Atom"> |
1403 |
<d:message xml:lang="en">Elements are not allowed in an empty |
1404 |
element.</d:message> |
1405 |
</d:item> |
1406 |
|
1407 |
<d:item name="element not allowed:figure legend" |
1408 |
modules="ContentChecker::HTML"> |
1409 |
<d:message xml:lang="en">In a <code>figure</code> element, only at the |
1410 |
beginning or only at the end of the element a <code>lengend</code> element |
1411 |
may be used.</d:message> |
1412 |
</d:item> |
1413 |
|
1414 |
<d:item name="element not allowed:flow" |
1415 |
modules="ContentChecker::HTML"> |
1416 |
<d:message xml:lang="en">This element is not allowed where flow |
1417 |
content is expected.</d:message> |
1418 |
</d:item> |
1419 |
|
1420 |
<d:item name="element not allowed:flow style" |
1421 |
modules="ContentChecker::HTML"> |
1422 |
<d:message xml:lang="en">A <code>style</code> element without |
1423 |
<code>scoped</code> attribute is not allowed in this context.</d:message> |
1424 |
</d:item> |
1425 |
|
1426 |
<d:item name="element not allowed:head noscript" |
1427 |
modules="ContentChecker::HTML"> |
1428 |
<d:message xml:lang="en">This element is not allowed in a |
1429 |
<code>noscript</code> element in the <code>head</code> element.</d:message> |
1430 |
</d:item> |
1431 |
|
1432 |
<d:item name="element not allowed:head style" |
1433 |
modules="ContentChecker::HTML"> |
1434 |
<d:message xml:lang="en">A <code>style</code> element with |
1435 |
<code>scoped</code> attribute is not allowed in the <code>head</code> |
1436 |
element.</d:message> |
1437 |
</d:item> |
1438 |
|
1439 |
<d:item name="element not allowed:head title" |
1440 |
modules="ContentChecker ContentChecker::HTML"> |
1441 |
<d:message xml:lang="en">There is another <code>title</code> |
1442 |
element.</d:message> |
1443 |
</d:item> |
1444 |
|
1445 |
<d:item name="element not allowed:minus" |
1446 |
modules="ContentChecker ContentChecker::HTML"> |
1447 |
<d:message xml:lang="en">This element is not allowed in this |
1448 |
context.</d:message> |
1449 |
</d:item> |
1450 |
|
1451 |
<d:item name="element not allowed:meta charset" |
1452 |
modules="ContentChecker::HTML"> |
1453 |
<d:message xml:lang="en">The character encoding declaration must be the |
1454 |
first element in the <code>head</code> element.</d:message> |
1455 |
</d:item> |
1456 |
|
1457 |
<d:item name="element not allowed:metadata" |
1458 |
modules="ContentChecker::HTML"> |
1459 |
<d:message xml:lang="en">This element is not allowed where metadata |
1460 |
content is expected.</d:message> |
1461 |
</d:item> |
1462 |
|
1463 |
<d:item name="element not allowed:phrasing" |
1464 |
modules="ContentChecker::HTML"> |
1465 |
<d:message xml:lang="en">This element is not allowed where phrasing |
1466 |
content is expected.</d:message> |
1467 |
</d:item> |
1468 |
|
1469 |
<d:item name="element not allowed:root" |
1470 |
modules="ContentChecker"> |
1471 |
<d:message xml:lang="en">This element is not allowed as the root |
1472 |
element of a document.</d:message> |
1473 |
<d:desc xml:lang="en"> |
1474 |
<p>An element that is not allowed as the root element |
1475 |
is used as the root element of the document. The document is |
1476 |
non-conforming, as far as the conformance checker can tell.</p> |
1477 |
|
1478 |
<dl class="switch"> |
1479 |
<dt><code>html</code> element in an XHTML document</dt> |
1480 |
<dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code> |
1481 |
element must have an <code>xmlns</code> attribute as: |
1482 |
<pre class="xml example"><code><html xmlns="http://www.w3.org/1999/xhtml"></code></pre></p></dd> |
1483 |
<dt><code>rss</code> element</dt> |
1484 |
<dd><p>The document is written in some version of RSS.</p> |
1485 |
<p>The conformance checker does not support any version |
1486 |
of RSS. Use Atom 1.0 for feed documents.</p></dd> |
1487 |
<dt><code>feed</code> element</dt> |
1488 |
<dd><p>The Atom <code>feed</code> element must be |
1489 |
in the <code>http://www.w3.org/2005/Atom</code> |
1490 |
namespace as: |
1491 |
<pre class="xml example"><code><feed xmlns="http://www.w3.org/2005/Atom"></code></pre> |
1492 |
</p> |
1493 |
<p>The conformance checker does not support Atom 0.3. |
1494 |
Use Atom 1.0 for feed documents.</p></dd> |
1495 |
</dl> |
1496 |
</d:desc> |
1497 |
</d:item> |
1498 |
|
1499 |
<d:item name="element not allowed:root:xml" |
1500 |
modules="ContentChecker"> |
1501 |
<d:message xml:lang="en">This element is not allowed as the root element |
1502 |
of an XML document.</d:message> |
1503 |
</d:item> |
1504 |
|
1505 |
<d:item name="element not allowed:ruby base" |
1506 |
modules="ContentChecker"> |
1507 |
<d:message xml:lang="en">This element is not allowed in the <code>ruby</code> |
1508 |
element.</d:message> |
1509 |
</d:item> |
1510 |
|
1511 |
<d:item name="element not allowed:text" |
1512 |
modules="ContentChecker::HTML"> |
1513 |
<d:message xml:lang="en">This element is not allowed in this |
1514 |
context.</d:message> |
1515 |
</d:item> |
1516 |
|
1517 |
<d:item name="element not allowed:atom|content" |
1518 |
modules="ContentChecker::Atom"> |
1519 |
<d:message xml:lang="en">This element is not allowed in an Atom |
1520 |
<code>content</code> element.</d:message> |
1521 |
</d:item> |
1522 |
|
1523 |
<d:item name="element not allowed:atom|PersonConstruct" |
1524 |
modules="ContentChecker::Atom"> |
1525 |
<d:message xml:lang="en">This element is not allowed in Person |
1526 |
construct.</d:message> |
1527 |
</d:item> |
1528 |
|
1529 |
<d:item name="element not allowed:atom|TextConstruct" |
1530 |
modules="ContentChecker::Atom"> |
1531 |
<d:message xml:lang="en">This element is not allowed in Text |
1532 |
construct.</d:message> |
1533 |
</d:item> |
1534 |
|
1535 |
<d:item name="element not defined" |
1536 |
modules="ContentChecker"> |
1537 |
<d:message xml:lang="en">This element is not defined.</d:message> |
1538 |
</d:item> |
1539 |
|
1540 |
<d:item name="no significant content" |
1541 |
modules="ContentChecker::HTML"> |
1542 |
<d:message xml:lang="en">No significant content is contained |
1543 |
in this element.</d:message> |
1544 |
</d:item> |
1545 |
|
1546 |
<d:item name="no significant content before" |
1547 |
modules="ContentChecker::HTML"> |
1548 |
<d:message xml:lang="en">There is no significant content |
1549 |
before this element.</d:message> |
1550 |
</d:item> |
1551 |
|
1552 |
<d:item name="no significant content at the end" |
1553 |
modules="ContentChecker::HTML"> |
1554 |
<d:message xml:lang="en">No significant content is contained |
1555 |
at the end of this element.</d:message> |
1556 |
</d:item> |
1557 |
|
1558 |
<d:item name="ps element missing" |
1559 |
modules="ContentChecker::HTML"> |
1560 |
<d:message xml:lang="en">There is no <code><var>{text}</var></code> |
1561 |
element before this element.</d:message> |
1562 |
<d:desc xml:lang="en"> |
1563 |
<p>There must be an element before another element, but there |
1564 |
is not. The document is non-conforming.</p> |
1565 |
|
1566 |
<p>For example, there must be a <code>dt</code> element |
1567 |
before any <code>dd</code> element.</p> |
1568 |
</d:desc> |
1569 |
</d:item> |
1570 |
|
1571 |
<d:item name="rp:syntax error" |
1572 |
modules="ContentChecker::HTML"> |
1573 |
<d:message xml:lang="en">The content of a <code>rp</code> element must |
1574 |
be a parenthesis.</d:message> |
1575 |
</d:item> |
1576 |
|
1577 |
</section> |
1578 |
|
1579 |
<section id="attribute-errors"> |
1580 |
<h2>Attribute Errors</h2> |
1581 |
|
1582 |
<d:item name="attribute missing" |
1583 |
modules="ContentChecker::HTML"> |
1584 |
<d:message xml:lang="en">Required attribute <code><var>{text}</var></code> |
1585 |
is not specified.</d:message> |
1586 |
<d:desc> |
1587 |
<p>A required attribute is not specified. The document |
1588 |
is non-conforming.</p> |
1589 |
|
1590 |
<p>Some attribute is defined as <i>required</i>. |
1591 |
Without required attributes specified, user agents |
1592 |
cannot provide full functionality of the element to the user.</p> |
1593 |
|
1594 |
<dl class="switch"> |
1595 |
<dt>HTML <code>img</code> element</dt> |
1596 |
<dd>The <code>src</code> attribute must be specified. |
1597 |
Additionally, the <code>alt</code> attribute must be specified |
1598 |
in many cases.</dd> |
1599 |
<dt>HTML <code>link</code> element</dt> |
1600 |
<dd>The <code>rel</code> attribute must be specified. |
1601 |
Note that the <code>rev</code> attribute is obsolete.</dd> |
1602 |
</dl> |
1603 |
</d:desc> |
1604 |
</d:item> |
1605 |
|
1606 |
<d:item name="attribute missing:data|type" |
1607 |
modules="ContentChecker::HTML"> |
1608 |
<d:message xml:lang="en">For an <code>object</code> at least one of |
1609 |
<code>data</code> and <code>type</code> attributes must be |
1610 |
specified.</d:message> |
1611 |
</d:item> |
1612 |
|
1613 |
<d:item name="attribute missing:href|target" |
1614 |
modules="ContentChecker::HTML"> |
1615 |
<d:message xml:lang="en">For a <code>base</code> element, at least one of |
1616 |
<code>href</code> and <code>target</code> attributes must be |
1617 |
specified.</d:message> |
1618 |
</d:item> |
1619 |
|
1620 |
<d:item name="attribute missing:name|http-equiv" |
1621 |
modules="ContentChecker::HTML"> |
1622 |
<d:message xml:lang="en">For a <code>meta</code> element with the |
1623 |
<code>content</code> attribute specified, exactly one of |
1624 |
<code>name</code> and <code>http-equiv</code> attributes must be |
1625 |
specified.</d:message> |
1626 |
</d:item> |
1627 |
|
1628 |
<d:item name="attribute missing:name|http-equiv|charset" |
1629 |
modules="ContentChecker::HTML"> |
1630 |
<d:message xml:lang="en">For a <code>meta</code> element, exactly one of |
1631 |
<code>name</code>, <code>http-equiv</code>, and <code>charset</code> |
1632 |
attributes must be specified.</d:message> |
1633 |
</d:item> |
1634 |
|
1635 |
<d:item name="attribute not allowed" |
1636 |
modules="ContentChecker::HTML RDFXML"> |
1637 |
<d:message xml:lang="en">Attribute |
1638 |
<code><var>{local-name}</var></code> is not allowed for |
1639 |
<code><var>{element-local-name}</var></code> element.</d:message> |
1640 |
<d:desc xml:lang="en"> |
1641 |
<p>An attribute is specified where it is not allowed. |
1642 |
The document is non-conforming.</p> |
1643 |
|
1644 |
<dl> |
1645 |
<dt>HTML <code>meta</code> element</dt> |
1646 |
<dd>For HTML <code>meta</code> element, <em>only one</em> of |
1647 |
<code>name</code>, <code>http-equiv</code>, or <code>charset</code> |
1648 |
attribute is allowed.</dd> |
1649 |
</dl> |
1650 |
</d:desc> |
1651 |
</d:item> |
1652 |
|
1653 |
<d:item name="attribute not allowed:ismap" |
1654 |
modules="ContentChecker::HTML"> |
1655 |
<d:message xml:lang="en">The <code>ismap</code> attribute may only be |
1656 |
used for the image contained in an <code>a</code> element.</d:message> |
1657 |
</d:item> |
1658 |
|
1659 |
<d:item name="attribute not defined" |
1660 |
modules="ContentChecker"> |
1661 |
<d:message xml:lang="en">This attribute is not defined.</d:message> |
1662 |
</d:item> |
1663 |
|
1664 |
<d:item name="in HTML:xml:lang" |
1665 |
class="attribute-error" |
1666 |
modules="ContentChecker::XML"> |
1667 |
<d:message xml:lang="en">The <code>xml:lang</code> attribute is not |
1668 |
allowed in HTML document.</d:message> |
1669 |
<d:desc xml:lang="en"> |
1670 |
<p>The <code>xml:lang</code> attribute is not allowed in |
1671 |
HTML document. The document is non-conforming.</p> |
1672 |
|
1673 |
<p>Use of the <code>xml:lang</code> attribute is conforming |
1674 |
<em>only</em> in XML documents.</p> |
1675 |
|
1676 |
<p>To specify natural language information in HTML document, |
1677 |
use <code>lang</code> attribute instead.</p> |
1678 |
|
1679 |
<p>XHTML 1.0 Appendix C was encouraged to specify both |
1680 |
<code>lang</code> and <code>xml:lang</code> attributes with |
1681 |
the same value. Such a duplication has <em>no effect</em> in practice. |
1682 |
Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in |
1683 |
XML).</p> |
1684 |
|
1685 |
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
1686 |
from an HTML document? --> |
1687 |
</d:desc> |
1688 |
</d:item> |
1689 |
|
1690 |
<d:item name="in XML:charset" |
1691 |
modules="ContentChecker::HTML"> |
1692 |
<d:message xml:lang="en">The <code>charset</code> attribute is not |
1693 |
allowed in XML document.</d:message> |
1694 |
<d:desc> |
1695 |
<p>The <code>charset</code> attribute of a |
1696 |
<code>meta</code> element is not allowed in XML document. |
1697 |
The document is non-conforming.</p> |
1698 |
|
1699 |
<p>To specify the character encoding used for serialization, |
1700 |
if necessary, use XML declaration instead: |
1701 |
<pre class="xml example"><code><?xml version="1.0" encoding="<var>encoding-name</var>"?></code></pre> |
1702 |
</p> |
1703 |
</d:desc> |
1704 |
</d:item> |
1705 |
|
1706 |
<d:item name="in XML:lang" |
1707 |
modules="ContentChecker::HTML"> |
1708 |
<d:message xml:lang="en">The <code>lang</code> attribute is not |
1709 |
allowed in XML document.</d:message> |
1710 |
<d:desc> |
1711 |
<p>The HTML <code>lang</code> attribute is not allowed in |
1712 |
XML document. The document is non-conforming.</p> |
1713 |
|
1714 |
<p>The <code>lang</code> attribute in <code>null</code> |
1715 |
namespace for HTML elements is conforming <em>only</em> in |
1716 |
HTML documents.</p> |
1717 |
|
1718 |
<p>To specify natural language information in XML document, |
1719 |
use <code>xml:lang</code> attribute instead.</p> |
1720 |
</d:desc> |
1721 |
</d:item> |
1722 |
|
1723 |
<d:item name="in XML:noscript" |
1724 |
modules="ContentChecker::HTML"> |
1725 |
<d:message xml:lang="en">A <code>noscript</code> element cannot be |
1726 |
used in XML document.</d:message> |
1727 |
</d:item> |
1728 |
|
1729 |
<d:item name="in XML:xmlns" |
1730 |
modules="ContentChecker::HTML"> |
1731 |
<d:message xml:lang="en">The <code>xmlns</code> attribute |
1732 |
in the <code>null</code> namespace is not allowed in |
1733 |
XHTML document. The document is non-conforming.</d:message> |
1734 |
<d:desc> |
1735 |
<p>The <code>xmlns</code> attribute in the <code>null</code> |
1736 |
namespace is not allowed in XHTML document.</p> |
1737 |
|
1738 |
<p>This error should not occur in conformance-checking of |
1739 |
static documents.</p> |
1740 |
</d:desc> |
1741 |
</d:item> |
1742 |
|
1743 |
</section> |
1744 |
|
1745 |
<section id="attribute-value-errors"> |
1746 |
<h2>Attribute Value Errors</h2> |
1747 |
|
1748 |
<d:item name="boolean:invalid" |
1749 |
modules="ContentChecker::HTML"> |
1750 |
<d:message xml:lang="en">Attribute value <code><var>{@}</var></code> |
1751 |
is not allowed. It must be an empty string or a string |
1752 |
<code><var>{local-name}</var></code>.</d:message> |
1753 |
</d:item> |
1754 |
|
1755 |
<d:item name="char:syntax error" |
1756 |
modules="ContentChecker::HTML"> |
1757 |
<d:message xml:lang="en">The attribute value must be exactly one |
1758 |
character.</d:message> |
1759 |
</d:item> |
1760 |
|
1761 |
<d:item name="charref in charset" |
1762 |
modules="ContentChecker::HTML"> |
1763 |
<d:message xml:lang="en">A character reference cannot be used to |
1764 |
represent a character encoding name.</d:message> |
1765 |
</d:item> |
1766 |
|
1767 |
<d:item name="charset:not preferred" |
1768 |
modules="ContentChecker::HTML"> |
1769 |
<d:message xml:lang="en">Character encoding name |
1770 |
<code><var>{value}</var></code> is not the preferred name of that |
1771 |
character encoding.</d:message> |
1772 |
</d:item> |
1773 |
|
1774 |
<d:item name="charset:not registered" |
1775 |
modules="ContentChecker::HTML"> |
1776 |
<d:message xml:lang="en">Character encoding name |
1777 |
<code><var>{value}</var></code> is not a registered name.</d:message> |
1778 |
<d:desc xml:lang="en"> |
1779 |
<p>The specified character encoding name is not registered to |
1780 |
<abbr>IANA</abbr>. Use of registered character encoding name |
1781 |
is a good practice to facilitate interoperability.</p> |
1782 |
|
1783 |
<dl class="switch"> |
1784 |
<dt><code>EUC-TW</code></dt> |
1785 |
<dd><code>EUC-TW</code> is not registered. Unfortunately, there |
1786 |
is no registered name for that character encoding. Use |
1787 |
Big5 encoding with character encoding name <code>Big5</code> |
1788 |
if it is enough to represent the document.</dd> |
1789 |
<dt><code>ISO-2022-JP-1</code></dt> |
1790 |
<dd><code>ISO-2022-JP-1</code> is not registered, nevertheless |
1791 |
this character encoding name is documented in |
1792 |
<a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>. Use |
1793 |
<code>ISO-2022-JP-2</code> instead, since that character encoding |
1794 |
is a superset of ISO-2022-JP-1.</dd> |
1795 |
<dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt> |
1796 |
<dd>These names are not registered and obsoleted in favor of |
1797 |
<code>ISO-2022-JP-2004</code> and |
1798 |
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1799 |
<dt><code>ISO-2022-JP-2003</code>, |
1800 |
<code>ISO-2022-JP-2003-plane1</code></dt> |
1801 |
<dd>These names are not registered and corrected to |
1802 |
<code>ISO-2022-JP-2004</code> and |
1803 |
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1804 |
<dt><code>ISO-2022-JP-2004</code>, |
1805 |
<code>ISO-2022-JP-2004-plane1</code></dt> |
1806 |
<dd>These names are not registered. Unfortunately, there is |
1807 |
no registered name for these character encodings.</dd> |
1808 |
<dt><code>UTF-8N</code></dt> |
1809 |
<dd><code>UTF-8N</code> is not registered. Character encoding |
1810 |
name <code>UTF-8</code> represents UTF-8 encoding with or |
1811 |
without <abbr>BOM</abbr>.</dd> |
1812 |
</dl> |
1813 |
|
1814 |
<p><strong>WARNING</strong>: This error might be raised for |
1815 |
a registered character encoding name, since the character encoding |
1816 |
name database of the conformance checker is not complete yet.</p> |
1817 |
</d:desc> |
1818 |
</d:item> |
1819 |
|
1820 |
<d:item name="charset:private" |
1821 |
modules="ContentChecker::HTML"> |
1822 |
<d:message xml:lang="en">Character encoding name |
1823 |
<code><var>{value}</var></code> is a private name.</d:message> |
1824 |
<d:desc xml:lang="en"> |
1825 |
<p>The specified character encoding name is a private name and |
1826 |
not registered to <abbr>IANA</abbr>. Use of registered character |
1827 |
encoding name is a good practice to facilitate interoperability.</p> |
1828 |
|
1829 |
<dl class="switch"> |
1830 |
<dt><code>x-euc-jp</code></dt> |
1831 |
<dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr> |
1832 |
character encoding.</dd> |
1833 |
<dt><code>x-sjis</code></dt> |
1834 |
<dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of |
1835 |
<abbr>JIS</abbr> coded character set, or <code>Windows-31J</code> |
1836 |
for Microsoft standard character set as implemented by |
1837 |
Microsoft Windows.</dd> |
1838 |
</dl> |
1839 |
</d:desc> |
1840 |
</d:item> |
1841 |
|
1842 |
<d:item name="charset:syntax error" |
1843 |
modules="ContentChecker::HTML"> |
1844 |
<d:message xml:lang="en">The specified value <code><var>{value}</var></code> |
1845 |
is syntactically not a character encoding name.</d:message> |
1846 |
<d:desc xml:lang="en"> |
1847 |
<p>The attribute value must be a character encoding name. However, |
1848 |
the specified value is not a character encoding name syntactically. |
1849 |
The document is non‐conforming.</p> |
1850 |
<p>Character encoding name is a string of <abbr>ASCII</abbr> |
1851 |
printable characters, up to 40 characters.</p> |
1852 |
</d:desc> |
1853 |
</d:item> |
1854 |
|
1855 |
<d:item name="color:syntax error" |
1856 |
modules="ContentChecker::HTML"> |
1857 |
<d:message xml:lang="en">The specified value is not a color |
1858 |
name or hexadecimal color number.</d:message> |
1859 |
</d:item> |
1860 |
|
1861 |
<d:item name="coords:number not 3" |
1862 |
modules="ContentChecker::HTML"> |
1863 |
<d:message xml:lang="en">The <code>coords</code> attribute have to |
1864 |
contain three (3) numbers (specified: |
1865 |
<code><var>{text}</var></code>).</d:message> |
1866 |
</d:item> |
1867 |
|
1868 |
<d:item name="coords:number not 4" |
1869 |
modules="ContentChecker::HTML"> |
1870 |
<d:message xml:lang="en">The <code>coords</code> attribute have to |
1871 |
contain four (4) numbers (specified: |
1872 |
<code><var>{text}</var></code>).</d:message> |
1873 |
</d:item> |
1874 |
|
1875 |
<d:item name="coords:number lt 6" |
1876 |
modules="ContentChecker::HTML"> |
1877 |
<d:message xml:lang="en">The <code>coords</code> attribute have to |
1878 |
contain more than or equal to six (6) numbers (specified: |
1879 |
<code><var>{text}</var></code>).</d:message> |
1880 |
</d:item> |
1881 |
|
1882 |
<d:item name="coords:number not even" |
1883 |
modules="ContentChecker::HTML"> |
1884 |
<d:message xml:lang="en">The <code>coords</code> attribute have to |
1885 |
contain even number of numbers (specified: |
1886 |
<code><var>{text}</var></code>).</d:message> |
1887 |
</d:item> |
1888 |
|
1889 |
<d:item name="coords:out of range" |
1890 |
modules="ContentChecker::HTML"> |
1891 |
<d:message xml:lang="en">The specified value <code><var>{value}</var></code> |
1892 |
is out of range.</d:message> |
1893 |
</d:item> |
1894 |
|
1895 |
<d:item name="coords:syntax error" |
1896 |
modules="ContentChecker::HTML"> |
1897 |
<d:message xml:lang="en">The specified value is not valid.</d:message> |
1898 |
</d:item> |
1899 |
|
1900 |
<d:item name="datetime:bad year" |
1901 |
modules="ContentChecker::HTML"> |
1902 |
<d:message xml:lang="en">Year number is out of range.</d:message> |
1903 |
</d:item> |
1904 |
|
1905 |
<d:item name="datetime:bad month" |
1906 |
modules="ContentChecker::HTML"> |
1907 |
<d:message xml:lang="en">Month number is out of range.</d:message> |
1908 |
</d:item> |
1909 |
|
1910 |
<d:item name="datetime:bad day" |
1911 |
modules="ContentChecker::HTML"> |
1912 |
<d:message xml:lang="en">Day number is out of range.</d:message> |
1913 |
</d:item> |
1914 |
|
1915 |
<d:item name="datetime:bad hour" |
1916 |
modules="ContentChecker::HTML"> |
1917 |
<d:message xml:lang="en">Hour number is out of range.</d:message> |
1918 |
</d:item> |
1919 |
|
1920 |
<d:item name="datetime:bad minute" |
1921 |
modules="ContentChecker::HTML"> |
1922 |
<d:message xml:lang="en">Minute number is out of range.</d:message> |
1923 |
</d:item> |
1924 |
|
1925 |
<d:item name="datetime:bad second" |
1926 |
modules="ContentChecker::HTML"> |
1927 |
<d:message xml:lang="en">Second number is out of range.</d:message> |
1928 |
</d:item> |
1929 |
|
1930 |
<d:item name="datetime:bad timezone hour" |
1931 |
modules="ContentChecker::HTML"> |
1932 |
<d:message xml:lang="en">Hour number of the timezone component is out of |
1933 |
range.</d:message> |
1934 |
</d:item> |
1935 |
|
1936 |
<d:item name="datetime:bad timezone minute" |
1937 |
modules="ContentChecker::HTML"> |
1938 |
<d:message xml:lang="en">Minute number of the timezone component is out of |
1939 |
range.</d:message> |
1940 |
</d:item> |
1941 |
|
1942 |
<d:item name="datetime:syntax error" |
1943 |
modules="ContentChecker::HTML"> |
1944 |
<d:message xml:lang="en">The attribute value is not a datetime.</d:message> |
1945 |
</d:item> |
1946 |
|
1947 |
<d:item name="dateortime:syntax error" |
1948 |
modules="ContentChecker::HTML"> |
1949 |
<d:message xml:lang="en">The attribute value is not a date or |
1950 |
time.</d:message> |
1951 |
</d:item> |
1952 |
|
1953 |
<d:item name="enumerated:invalid" |
1954 |
modules="ContentChecker::HTML"> |
1955 |
<d:message xml:lang="en">This attribute only allow a limited set of |
1956 |
values and the specified value <code><var>{@}</var></code> is not one |
1957 |
of them.</d:message> |
1958 |
<d:desc xml:lang="en"> |
1959 |
<p>For this attribute only several values are allowed and the |
1960 |
value of the attribute is not one of them. The document |
1961 |
is non-conforming.</p> |
1962 |
|
1963 |
<dl> |
1964 |
<dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt> |
1965 |
<dd><p>Only values <code>Default-Style</code> and <code>Refresh</code> |
1966 |
are allowed.</p> |
1967 |
<p>Value <code>Content-Type</code> is obsolete; for charset |
1968 |
declaration, the <code>charset</code> attribute can be used as: |
1969 |
<pre class="html example"><code><meta charset="<var>charset-name</var>"></code></pre> |
1970 |
... where <var>charset-name</var> is a name of the character encoding |
1971 |
of the document, such as <code>utf-8</code>.</p> |
1972 |
<p>Values <code>Content-Style-Type</code> and |
1973 |
<code>Content-Script-Type</code> are currently not allowed.</p> |
1974 |
<p>Value <code>Keywords</code> is not allowed. Use |
1975 |
<code>name</code> attribute instead of <code>http-equiv</code> |
1976 |
attribute.</p> |
1977 |
<p>Values <code>Expires</code>, <code>Pragma</code>, |
1978 |
and <code>Cache-Control</code> are not allowed; |
1979 |
use <em>real</em> HTTP header fields for cache control.</p></dd> |
1980 |
</dl> |
1981 |
</d:desc> |
1982 |
</d:item> |
1983 |
|
1984 |
<d:item name="enumerated:invalid:http-equiv:content-type" |
1985 |
class="attribute-value-error"> |
1986 |
<d:message xml:lang="en">Character encoding declaration syntax |
1987 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1988 |
is obsolete.</d:message> |
1989 |
<d:desc xml:lang="en"> |
1990 |
<p>Old long character encoding declaration syntax |
1991 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1992 |
is in use. The document is non‐conforming.</p> |
1993 |
|
1994 |
<p>The new character encoding declaration syntax is: |
1995 |
<pre class="html example"><code><meta charset="<var>charset-name</var>"></code></pre> |
1996 |
</p> |
1997 |
</d:desc> |
1998 |
</d:item> |
1999 |
|
2000 |
<d:item name="enumerated:non-conforming" |
2001 |
modules="ContentChecker::HTML"> |
2002 |
<d:message xml:lang="en">Attribute value <code><var>{@}</var></code> |
2003 |
is not allowed.</d:message> |
2004 |
</d:item> |
2005 |
|
2006 |
<d:item name="duplicate http-equiv" |
2007 |
modules="ContentChecker::HTML"> |
2008 |
<d:message xml:lang="en">There is another pragma |
2009 |
<code><var>{value}</var></code>.</d:message> |
2010 |
</d:item> |
2011 |
|
2012 |
<d:item name="duplicate ID" |
2013 |
class="attribute-value-error" |
2014 |
modules="ContentChecker::XML ContentChecker::HTML"> |
2015 |
<d:message xml:lang="en">This identifier has already been |
2016 |
assigned to another element.</d:message> |
2017 |
<!-- @@ <id=a xml:id=a>? --> |
2018 |
</d:item> |
2019 |
|
2020 |
<d:item name="duplicate token" |
2021 |
modules="ContentChecker::HTML HTML::Table"> |
2022 |
<d:message xml:lang="en">The token <code><var>{value}</var></code> |
2023 |
appears in the attribute value twice.</d:message> |
2024 |
</d:item> |
2025 |
|
2026 |
<d:item name="empty attribute value" |
2027 |
modules="ContentChecker::HTML"> |
2028 |
<d:message xml:lang="en">The attribute value must not be empty.</d:message> |
2029 |
</d:item> |
2030 |
|
2031 |
<d:item name="float:out of range" |
2032 |
modules="ContentChecker::HTML"> |
2033 |
<d:message xml:lang="en">The specified value is out of range.</d:message> |
2034 |
</d:item> |
2035 |
|
2036 |
<d:item name="float:syntax error" |
2037 |
modules="ContentChecker::HTML"> |
2038 |
<d:message xml:lang="en">The attribute value is not a real |
2039 |
number.</d:message> |
2040 |
</d:item> |
2041 |
|
2042 |
<d:item name="fragment points itself" |
2043 |
modules="ContentChecker"> |
2044 |
<d:message xml:lang="en">A fragment identifier references the element |
2045 |
itself.</d:message> |
2046 |
</d:item> |
2047 |
|
2048 |
<d:item name="fragment points nothing" |
2049 |
modules="ContentChecker"> |
2050 |
<d:message xml:lang="en">A fragment identifier references no |
2051 |
node.</d:message> |
2052 |
</d:item> |
2053 |
|
2054 |
<d:item name="hashref:syntax error" |
2055 |
modules="ContentChecker::HTML"> |
2056 |
<d:message xml:lang="en">A hash−name reference must start with a |
2057 |
<code>#</code> character.</d:message> |
2058 |
</d:item> |
2059 |
|
2060 |
<d:item name="id ne name" |
2061 |
modules="ContentChecker::HTML"> |
2062 |
<d:message xml:lang="en">The <code>id</code> attribute value is |
2063 |
different from the <code>name</code> attribute value.</d:message> |
2064 |
</d:item> |
2065 |
|
2066 |
<d:item name="integer:syntax error" |
2067 |
modules="ContentChecker::HTML"> |
2068 |
<d:message xml:lang="en">The attribute value is not an integer.</d:message> |
2069 |
</d:item> |
2070 |
|
2071 |
<d:item name="link type:bad context" |
2072 |
modules="ContentChecker::HTML"> |
2073 |
<d:message xml:lang="en">The link type <code><var>{value}</var></code> |
2074 |
cannot be specified for this element.</d:message> |
2075 |
<d:desc xml:lang="en"> |
2076 |
<p>The specified link type cannot be used for the element. |
2077 |
The document is non-conforming.</p> |
2078 |
|
2079 |
<p>Link types are associated with limited set of elements. |
2080 |
They cannot be used with other elements.</p> |
2081 |
|
2082 |
<p>For example, link type <code>bookmark</code> |
2083 |
can be used with <code>a</code> or <code>area</code> element, |
2084 |
while it cannot be used with <code>link</code> element.</p> |
2085 |
</d:desc> |
2086 |
</d:item> |
2087 |
|
2088 |
<d:item name="invalid attribute value" |
2089 |
class="attribute-value-error" |
2090 |
modules="ContentChecker::XML ContentChecker::HTML ContentChecker::Atom"> |
2091 |
<d:message xml:lang="en">Attribute value <code><var>{@}</var></code> |
2092 |
is not an allowed value.</d:message> |
2093 |
</d:item> |
2094 |
|
2095 |
<d:item name="length:syntax error" |
2096 |
modules="ContentChecker::HTML"> |
2097 |
<d:message xml:lang="en">The attribute value is not a length |
2098 |
value.</d:message> |
2099 |
</d:item> |
2100 |
|
2101 |
<d:item name="link type:non-conforming" |
2102 |
modules="ContentChecker::HTML"> |
2103 |
<d:message xml:lang="en">The link type <code><var>{value}</var></code> |
2104 |
is non-conforming.</d:message> |
2105 |
<d:desc xml:lang="en"> |
2106 |
<p>The specified link type is non-conforming, and therefore |
2107 |
the document is non-conforming.</p> |
2108 |
|
2109 |
<dl class="switch"> |
2110 |
<dt>Link type <code>contents</code></dt> |
2111 |
<dd>Use link type <code>index</code>.</dd> |
2112 |
<dt>Link type <code>copyright</code></dt> |
2113 |
<dd>Use link type <code>license</code>.</dd> |
2114 |
<dt>Link type <code>home</code></dt> |
2115 |
<dd>Use link type <code>index</code>.</dd> |
2116 |
<dt>Link type <code>previous</code></dt> |
2117 |
<dd>Use link type <code>prev</code>.</dd> |
2118 |
<dt>Link type <code>start</code></dt> |
2119 |
<dd>Use link type <code>first</code>.</dd> |
2120 |
<dt>Link type <code>toc</code> or <code>top</code></dt> |
2121 |
<dd>Use link type <code>index</code>.</dd> |
2122 |
</dl> |
2123 |
</d:desc> |
2124 |
</d:item> |
2125 |
|
2126 |
<d:item name="meta content-type syntax error" |
2127 |
modules="ContentChecker::HTML"> |
2128 |
<d:message xml:lang="en">The specified value is not a valid as a long |
2129 |
character encoding declaration.</d:message> |
2130 |
</d:item> |
2131 |
|
2132 |
<d:item name="mismatched charset name" |
2133 |
modules="ContentChecker::HTML"> |
2134 |
<d:message xml:lang="en">The specified character encoding name |
2135 |
<code><var>{value}</var></code> is different from the actual document |
2136 |
character encoding <code><var>{text}</var></code>.</d:message> |
2137 |
<d:desc xml:lang="en"> |
2138 |
<p>The specified character encoding name is different from |
2139 |
the character encoding of the document. The document |
2140 |
is non‐conforming.</p> |
2141 |
</d:desc> |
2142 |
</d:item> |
2143 |
|
2144 |
<d:item name="mismatched charset name not checked" |
2145 |
mopdules="ContentChecker::HTML"> |
2146 |
<d:message xml:lang="en">Whether the specified character encoding name |
2147 |
<code><var>{value}</var></code> matches to the actual character encoding |
2148 |
name cannot be checked since the input is not a byte stream.</d:message> |
2149 |
</d:item> |
2150 |
|
2151 |
<d:item name="mode:syntax error" |
2152 |
modules="ContentChecker::HTML"> |
2153 |
<d:message xml:lang="en">The attribute value is not a valid mode |
2154 |
name.</d:message> |
2155 |
</d:item> |
2156 |
|
2157 |
<d:item name="nninteger:out of range" |
2158 |
modules="ContentChecker::HTML"> |
2159 |
<d:message xml:lang="en">The specified value is out of range.</d:message> |
2160 |
</d:item> |
2161 |
|
2162 |
<d:item name="nninteger:syntax error" |
2163 |
modules="ContentChecker::HTML"> |
2164 |
<d:message xml:lang="en">The attribute value is not a non‐negative |
2165 |
integer.</d:message> |
2166 |
</d:item> |
2167 |
|
2168 |
<d:item name="no referenced map" |
2169 |
modules="ContentChecker"> |
2170 |
<d:message xml:lang="en">The <code>usemap</code> attribute references |
2171 |
no image map.</d:message> |
2172 |
</d:item> |
2173 |
|
2174 |
<d:item name="no referenced menu" |
2175 |
modules="ContentChecker"> |
2176 |
<d:message xml:lang="en">The <code>contextmenu</code> attribute references |
2177 |
no menu.</d:message> |
2178 |
</d:item> |
2179 |
|
2180 |
<d:item name="no referenced header cell" |
2181 |
modules="ContentChecker"> |
2182 |
<d:message xml:lang="en">There is no table header cell whose <code>id</code> |
2183 |
is <code><var>{value}</var></code> in the same table.</d:message> |
2184 |
</d:item> |
2185 |
|
2186 |
<d:item name="refresh:syntax error" |
2187 |
modules="ContentChecker::HTML"> |
2188 |
<d:message xml:lang="en">the specified value is not a valid as part |
2189 |
of a <code>Refresh</code> pragma.</d:message> |
2190 |
</d:item> |
2191 |
|
2192 |
<d:item name="repeat:syntax error" |
2193 |
modules="ContentChecker::HTML"> |
2194 |
<d:message xml:lang="en">The attribute value is not an integer or |
2195 |
a string <code>template</code>.</d:message> |
2196 |
</d:item> |
2197 |
|
2198 |
<d:item name="reserved browsing context name" |
2199 |
class="attribute-value-error"> |
2200 |
<d:message xml:lang="en">Browsing context name |
2201 |
<code><var>{@}</var></code> is reserved.</d:message> |
2202 |
<d:desc xml:lang="en"> |
2203 |
<p>The specified browsing context name is reserved. |
2204 |
The document is non-conforming.</p> |
2205 |
|
2206 |
<p>Names of browsing contexts starting with <code>_</code> |
2207 |
(<code>U+005F</code> <code class="charname">LOW LINE</code>) |
2208 |
are reserved so that it must not be used.</p> |
2209 |
|
2210 |
<p>Old version of HTML, non-HTML markup languages, and |
2211 |
Web browsers define or implements special reserved |
2212 |
browsing context names <code>_blank</code>, |
2213 |
<code>_main</code>, and <code>_replace</code>. |
2214 |
However, they are <em>not</em> conforming attribute values.</p> |
2215 |
</d:desc> |
2216 |
</d:item> |
2217 |
|
2218 |
<d:item name="Reserved Prefixes and Namespace Names:Name" |
2219 |
modules="ContentChecker::XML"> |
2220 |
<d:message xml:lang="en">Namespace name <code><var>{text}</var></code> |
2221 |
is reserved and cannot be used for an arbitrary prefix.</d:message> |
2222 |
</d:item> |
2223 |
|
2224 |
<d:item name="Reserved Prefixes and Namespace Names:Prefix" |
2225 |
modules="ContentChecker::XML"> |
2226 |
<d:message xml:lang="en">Namespace prefix <code><var>{text}</var></code> |
2227 |
is reserved and cannot be used for an arbitrary namespace name.</d:message> |
2228 |
</d:item> |
2229 |
|
2230 |
<d:item name="link type:proposed" |
2231 |
modules="ContentChecker::HTML"> |
2232 |
<d:message xml:lang="en">Link type <code><var>{value}</var></code> |
2233 |
is proposed but not accepted yet; it <em>should not</em> be |
2234 |
used until it has been accepted.</d:message> |
2235 |
<d:desc> |
2236 |
<p>The link type is in the <i>proposed</i> status; it |
2237 |
<em>should not</em> be used until it has been |
2238 |
accepted.</p> |
2239 |
|
2240 |
<p><strong>Warning</strong>: The data served to the |
2241 |
conforming checker might be out of date; it might have already |
2242 |
been accepted or rejected. The document might or might not be |
2243 |
conforming depending on the status. See WHATWG Wiki |
2244 |
for the latest information.</p> |
2245 |
</d:desc> |
2246 |
</d:item> |
2247 |
|
2248 |
<d:item name="sizes:syntax error" |
2249 |
modules="ContentChecker::HTML"> |
2250 |
<d:message xml:lang="en">The specified value <code><var>{value}</var></code> |
2251 |
is not a valid value.</d:message> |
2252 |
</d:item> |
2253 |
|
2254 |
<d:item name="space in ID" |
2255 |
modules="ContentChecker::HTML"> |
2256 |
<d:message xml:lang="en">White space characters are not allowed |
2257 |
in the <code>id</code> attribute.</d:message> |
2258 |
</d:item> |
2259 |
|
2260 |
<d:item name="template:not template" |
2261 |
modules="ContentChecker ContentChecker::HTML"> |
2262 |
<d:message xml:lang="en">The node referenced by the <code>template</code> |
2263 |
attribute is not a template.</d:message> |
2264 |
</d:item> |
2265 |
|
2266 |
<d:item name="window name:empty" |
2267 |
modules="ContentChecker::HTML"> |
2268 |
<d:message xml:lang="en">Browsing context name must not be empty.</d:message> |
2269 |
</d:item> |
2270 |
|
2271 |
<d:item name="window name:reserved" |
2272 |
modules="ContentChecker::HTML"> |
2273 |
<d:message xml:lang="en">Browsing context name |
2274 |
<code><var>{value}</var></code> is reserved.</d:message> |
2275 |
</d:item> |
2276 |
|
2277 |
<d:item name="word not allowed" |
2278 |
modules="ContentChecker::HTML"> |
2279 |
<d:message xml:lang="en">The word <code><var>{value}</var></code> is not |
2280 |
allowed in this attribute.</d:message> |
2281 |
</d:item> |
2282 |
|
2283 |
<d:item name="XML 1.0 NCName:syntax error" |
2284 |
modules="RDFXML"> |
2285 |
<d:message xml:lang="en">The specified value is not a legal XML Namespaces |
2286 |
1.0 <code>NCName</code>.</d:message> |
2287 |
</d:item> |
2288 |
|
2289 |
</section> |
2290 |
|
2291 |
<section id="table-model-errors"> |
2292 |
<h2>Table Model Errors</h2> |
2293 |
|
2294 |
<d:item name="cell overlapping" |
2295 |
modules="HTML::Table"> |
2296 |
<d:message xml:lang="en">Cell slot (<var>{text}</var>) is filled by |
2297 |
multiple cells.</d:message> |
2298 |
</d:item> |
2299 |
|
2300 |
<d:item name="colspan creates column with no anchored cell" |
2301 |
modules="HTML::Table"> |
2302 |
<d:message xml:lang="en">This <code>colspan</code> attribute |
2303 |
results in creating a table column that does not contain |
2304 |
any cell anchored to it.</d:message> |
2305 |
</d:item> |
2306 |
|
2307 |
<d:item name="column with no anchored cell" |
2308 |
modules="HTML::Table"> |
2309 |
<d:message xml:lang="en">This column has no anchored cell.</d:message> |
2310 |
</d:item> |
2311 |
|
2312 |
<d:item name="table:no cell in last row" |
2313 |
class="table-model-error"> |
2314 |
<d:message xml:lang="en">The table has no cell (<code>td</code> or |
2315 |
<code>th</code>) in the last row.</d:message> |
2316 |
</d:item> |
2317 |
|
2318 |
<d:item name="table:rowspan extends table" |
2319 |
class="table-model-error"> |
2320 |
<d:message xml:lang="en">This <code>rowspan</code> attribute |
2321 |
results in creating a table row that does not contain |
2322 |
any cell anchored to it.</d:message> |
2323 |
<d:desc xml:lang="en"> |
2324 |
<p>The <code>rowspan</code> attribute value of the cell |
2325 |
is so specified that it extends a table in the row axis. |
2326 |
However, the extended row does not contain any cell by itself. |
2327 |
The document is non-conforming.</p> |
2328 |
|
2329 |
<p>For example, the table below is non-conforming: |
2330 |
<pre class="html bad example"><code><table> |
2331 |
<tbody> |
2332 |
<tr><td rowspan=2></td></tr> |
2333 |
</tbody> |
2334 |
</table></code></pre> |
2335 |
... since the second row contains only |
2336 |
a cell that spans between first and second rows.</p> |
2337 |
</d:desc> |
2338 |
</d:item> |
2339 |
|
2340 |
<d:item name="row with no anchored cell" |
2341 |
modules="HTML::Table"> |
2342 |
<d:message xml:lang="en">This row has no anchored cell.</d:message> |
2343 |
</d:item> |
2344 |
|
2345 |
<d:item name="rowspan creates row with no anchored cell" |
2346 |
modules="HTML::Table"> |
2347 |
<d:message xml:lang="en">This <code>rowspan</code> attribute |
2348 |
results in creating a table row that does not contain |
2349 |
any cell anchored to it.</d:message> |
2350 |
</d:item> |
2351 |
|
2352 |
|
2353 |
</section> |
2354 |
|
2355 |
<section id="imt-warnings"> |
2356 |
<h2>Internet Media Type Errors</h2> |
2357 |
|
2358 |
<d:item name="IMT:composite" |
2359 |
modules="ContentChecker::Atom"> |
2360 |
<d:message xml:lang="en">The specified media type is a composite |
2361 |
type, which is not allowed in this context.</d:message> |
2362 |
</d:item> |
2363 |
|
2364 |
<d:item name="IMT:syntax error" |
2365 |
modules="ContentChecker::HTML ContentChecker::Atom"> |
2366 |
<d:message xml:lang="en">The specified value is not an Internet Media |
2367 |
Type.</d:message> |
2368 |
</d:item> |
2369 |
|
2370 |
<d:item name="IMT:obsolete subtype" |
2371 |
class="should" level="s"> |
2372 |
<d:message xml:lang="en"><code><var>{@}</var></code>: An <em>obsolete</em> |
2373 |
subtype is used.</d:message> |
2374 |
<d:item xml:lang="en"> |
2375 |
<p>The specified Internet Media Type is registered with status |
2376 |
of <i>OBSOLETE</i>.</p><!-- @@ SHOULD NOT? --> |
2377 |
|
2378 |
<dl class="swtich"> |
2379 |
<dt>Media type <code>text/ecmascript</code></dt> |
2380 |
<dd>Media type <code>text/ecmascript</code> is obsoleted in |
2381 |
favor of <code>application/ecmascript</code>. Note that |
2382 |
<code>text/javascript</code> would be better alternative |
2383 |
for many cases.</dd> |
2384 |
<dt>Media type <code>text/javascript</code></dt> |
2385 |
<dd>Media type <code>text/javascript</code> is obsoleted by |
2386 |
<abbr>IETF</abbr> with backward incompatible alternate |
2387 |
<code>application/javascript</code> for architectural |
2388 |
purity.<!-- @@ ref? --> Realist may ignore this warning.</dd> |
2389 |
</dl> |
2390 |
</d:item> |
2391 |
</d:item> |
2392 |
|
2393 |
<d:item name="IMT:private subtype" |
2394 |
class="should" level="s"> |
2395 |
<d:message xml:lang="en"><code><var>{@}</var></code>: A private |
2396 |
(<code>x-</code> or <code>x.</code>) subtype is used.</d:message> |
2397 |
</d:item> |
2398 |
|
2399 |
<d:item name="IMT:unregistered subtype" |
2400 |
class="should" level="s"> |
2401 |
<d:message xml:lang="en"><code><var>{@}</var></code>: The subtype is |
2402 |
not registered to IANA.</d:message> |
2403 |
<!-- TODO: Unknown message?? --> |
2404 |
</d:item> |
2405 |
|
2406 |
<d:item name="not IMT" |
2407 |
modules="ContentChecker::Atom"> |
2408 |
<d:message xml:lang="en">A value that is not an Internet Media Type |
2409 |
is not allowed here.</d:message> |
2410 |
</d:item> |
2411 |
|
2412 |
</section> |
2413 |
|
2414 |
<section id="uri-errors"> |
2415 |
<h2>URL Errors</h2> |
2416 |
|
2417 |
<d:item name="syntax error:iri3987" |
2418 |
modules="URIChecker CacheManifest"> |
2419 |
<d:message xml:lang="en">The specified value is syntactically not an |
2420 |
IRI.</d:message> |
2421 |
</d:item> |
2422 |
|
2423 |
<d:item name="syntax error:iriref3987" |
2424 |
modules="URIChecker"> |
2425 |
<d:message xml:lang="en">The specified value is syntactically not an IRI |
2426 |
reference.</d:message> |
2427 |
<d:desc xml:lang="en"> |
2428 |
<p>The specified value does not satisfy the syntactical requirements |
2429 |
for IRI references. The document is non-conforming.</p> |
2430 |
|
2431 |
<p>Possible causes: |
2432 |
<ul> |
2433 |
<li>The string might contain one or more white space characters. |
2434 |
Especially, the <code> </code> (<code>U+0020</code> |
2435 |
<code class="charname">SPACE</code>) character cannot be |
2436 |
used in IRI references.</li> |
2437 |
</ul> |
2438 |
</p> |
2439 |
</d:desc> |
2440 |
</d:item> |
2441 |
|
2442 |
<d:item name="syntax error:rdfuriref" |
2443 |
modules="URIChecker"> |
2444 |
<d:message xml:lang="en">The specified value is syntactically not an RDF |
2445 |
URI reference.</d:message> |
2446 |
</d:item> |
2447 |
|
2448 |
<d:item name="syntax error:uri2396" |
2449 |
modules="URIChecker"> |
2450 |
<d:message xml:lang="en">The specified value is syntactically not a |
2451 |
URI according to RFC 2396.</d:message> |
2452 |
</d:item> |
2453 |
|
2454 |
<d:item name="syntax error:uri3986" |
2455 |
modules="URIChecker"> |
2456 |
<d:message xml:lang="en">The specified value is syntactically not a |
2457 |
URI.</d:message> |
2458 |
</d:item> |
2459 |
|
2460 |
<d:item name="URL:address format" |
2461 |
modules="URIChecker"> |
2462 |
<d:message xml:lang="en">URL host address format |
2463 |
<code><var>{value}</var></code> is not supported by the |
2464 |
conformance checker.</d:message> |
2465 |
</d:item> |
2466 |
|
2467 |
<d:item name="URL:default port" |
2468 |
modules="URIChecker"> |
2469 |
<d:message xml:lang="en">Default port number should be omitted.</d:message> |
2470 |
</d:item> |
2471 |
|
2472 |
<d:item name="URL:dot-segment" |
2473 |
modules="URIChecker"> |
2474 |
<d:message xml:lang="en">A dot-segment (<code>.</code> or |
2475 |
<code>..</code>) occurs in an absolute reference.</d:message> |
2476 |
<d:desc> |
2477 |
<p>Dot-segment (<code>.</code> or <code>..</code>) should |
2478 |
not occur in an absolute reference.</p> |
2479 |
|
2480 |
<p>In relative references, dot-segments are used to represent |
2481 |
the current (<code>.</code>) or the parent (<code>..</code>) |
2482 |
hierarchy of the path. Though they are also allowed |
2483 |
in absolute references, it should be resolved to the |
2484 |
canonical form before it has been published.</p> |
2485 |
</d:desc> |
2486 |
</d:item> |
2487 |
|
2488 |
<d:item name="URL:empty host" |
2489 |
modules="URIChecker"> |
2490 |
<d:message xml:lang="en">The host component of the URL is empty.</d:message> |
2491 |
</d:item> |
2492 |
|
2493 |
<d:item name="URL:empty path" |
2494 |
modules="URIChecker"> |
2495 |
<d:message xml:lang="en">The URL does not end with |
2496 |
a <code>/</code> character.</d:message> |
2497 |
<d:item xml:lang="en"> |
2498 |
<p>The IRI does not end with a <code>/</code>. If there is an |
2499 |
authority component in an IRI, a <code>/</code> should be present |
2500 |
instead of empty path component.</p> |
2501 |
|
2502 |
<p>For example, <code>http://www.example.com<strong>/</strong></code> |
2503 |
is preferred to <code>http://www.example.com</code>.</p> |
2504 |
</d:item> |
2505 |
</d:item> |
2506 |
|
2507 |
<d:item name="URL:empty port" |
2508 |
modules="URIChecker"> |
2509 |
<d:message xml:lang="en">The port component of the URL is empty.</d:message> |
2510 |
</d:item> |
2511 |
|
2512 |
<d:item name="URL fragment not allowed" |
2513 |
modules="CacheManifest"> |
2514 |
<d:message xml:lang="en">The fragment component of the URL is not |
2515 |
allowed.</d:message> |
2516 |
</d:item> |
2517 |
|
2518 |
<d:item name="URL:long host" |
2519 |
modules="URIChecker"> |
2520 |
<d:message xml:lang="en">The host component of the URL |
2521 |
is too long.</d:message> |
2522 |
</d:item> |
2523 |
|
2524 |
<d:item name="URL:lowercase hexadecimal digit" |
2525 |
modules="URIChecker"> |
2526 |
<d:message xml:lang="en">A lowercase hexadecimal digit is used |
2527 |
in percent-encoding.</d:message> |
2528 |
<d:desc xml:lang="en"> |
2529 |
<p>The hexadecimal digit in percent-encoding string in the IRI |
2530 |
is in lowercase. Though the IRI <em>is</em> conforming, |
2531 |
it should be in uppercase.</p> |
2532 |
</d:desc> |
2533 |
</d:item> |
2534 |
|
2535 |
<d:item name="URL:non-DNS host" |
2536 |
modules="URIChecker"> |
2537 |
<d:message xml:lang="en">The host component of the URL |
2538 |
is not a DNS host name.</d:message> |
2539 |
</d:item> |
2540 |
|
2541 |
<d:item name="URL:non UTF-8 host" |
2542 |
modules="URIChecker"> |
2543 |
<d:message xml:lang="en">The host component of the URL |
2544 |
is not encoded in UTF-8.</d:message> |
2545 |
</d:item> |
2546 |
|
2547 |
<d:item name="URL:password" |
2548 |
modules="URIChecker"> |
2549 |
<d:message xml:lang="en">Password should not be included in a URL |
2550 |
for the security.</d:message> |
2551 |
</d:item> |
2552 |
|
2553 |
<d:item name="URL:percent-encoded unreserved" |
2554 |
modules="URIChecker"> |
2555 |
<d:message xml:lang="en">An unreserved character is |
2556 |
percent-encoded.</d:message> |
2557 |
<d:desc xml:lang="en"> |
2558 |
<p>An unreserved character is percent-encoded in the IRI. |
2559 |
Though it <em>is</em> conforming, it should be in the |
2560 |
decoded (or bare) form.</p> |
2561 |
</d:desc> |
2562 |
</d:item> |
2563 |
|
2564 |
<d:item name="URL:uppercase host" |
2565 |
modules="URIChecker"> |
2566 |
<d:message xml:lang="en">The host <code><var>{value}</var></code> |
2567 |
should be spelt in lowercase.</d:message> |
2568 |
</d:item> |
2569 |
|
2570 |
<d:item name="URL:uppercase scheme name" |
2571 |
modules="URIChecker"> |
2572 |
<d:message xml:lang="en">URL scheme name is in uppercase.</d:message> |
2573 |
<d:desc xml:lang="en"> |
2574 |
<p>The scheme part of the IRI is written in uppercase letter.</p> |
2575 |
|
2576 |
<p>Uppercase scheme names are not required to be processed |
2577 |
correctly.</p> |
2578 |
<!-- @@ |
2579 |
RFC 3986 3.1. |
2580 |
> Although schemes are case- |
2581 |
insensitive, the canonical form is lowercase and documents that |
2582 |
specify schemes must do so with lowercase letters. |
2583 |
|
2584 |
> An implementation ... should only produce lowercase scheme names for |
2585 |
consistency. |
2586 |
--> |
2587 |
</d:desc> |
2588 |
</d:item> |
2589 |
|
2590 |
</section> |
2591 |
|
2592 |
<section id="mq-errors"> |
2593 |
<h2>Media Query Errors</h2> |
2594 |
|
2595 |
<d:item name="mq syntax error" |
2596 |
modules="CSS::MediaQueryParser"> |
2597 |
<d:message xml:lang="en">The specified value has a syntax error as a |
2598 |
media query.</d:message> |
2599 |
</d:item> |
2600 |
|
2601 |
<d:item name="unknown media type" |
2602 |
modules="CSS::MediaQueryParser"> |
2603 |
<d:message xml:lang="en">Media type <code><var>{value}</var></code> is |
2604 |
not supported by the conformance checker.</d:message> |
2605 |
</d:item> |
2606 |
|
2607 |
</section> |
2608 |
|
2609 |
<section id="selectors-errors"> |
2610 |
<h2>Selectors Errors</h2> |
2611 |
|
2612 |
<d:item name="an+b not closed" |
2613 |
modules="CSS::SelectorsParser"> |
2614 |
<d:message xml:lang="en">Argument list of the pseudo-class is |
2615 |
not closed by a <code>)</code> character.</d:message> |
2616 |
</d:item> |
2617 |
|
2618 |
<d:item name="ab+b not integer" |
2619 |
modules="CSS::SelectorsParser"> |
2620 |
<d:message xml:lang="en">Numbers in the argument |
2621 |
<code><var>a</var>n+<var>b</var></code> have to be integers.</d:message> |
2622 |
</d:item> |
2623 |
|
2624 |
<d:item name="an+b syntax error" |
2625 |
modules="CSS::SelectorsParser"> |
2626 |
<d:message xml:lang="en">Argument <code><var>a</var>n+<var>b</var></code> is |
2627 |
syntactically incorrect.</d:message> |
2628 |
</d:item> |
2629 |
|
2630 |
<d:item name="attr selector not closed" |
2631 |
modules="CSS::SelectorsParser"> |
2632 |
<d:message xml:lang="en">Attribute selector is not closed by |
2633 |
a <code>]</code> character.</d:message> |
2634 |
</d:item> |
2635 |
|
2636 |
<d:item name="lang selector not closed" |
2637 |
modules="CSS::SelectorsParser"> |
2638 |
<d:message xml:lang="en">Argument list of the <code>:lang</code> |
2639 |
selector is not closed by a <code>)</code> character.</d:message> |
2640 |
</d:item> |
2641 |
|
2642 |
<d:item name="namespace prefix:not declared" |
2643 |
modules="CSS::SelectorsParser"> |
2644 |
<d:message xml:lang="en">Namespace prefix <code><var>{value}</var></code> |
2645 |
is not declared.</d:message> |
2646 |
</d:item> |
2647 |
|
2648 |
<d:item name="no attr local name" |
2649 |
modules="CSS::SelectorsParser"> |
2650 |
<d:message xml:lang="en">Attribute local name is missing.</d:message> |
2651 |
</d:item> |
2652 |
|
2653 |
<d:item name="no attr match" |
2654 |
modules="CSS::SelectorsParser"> |
2655 |
<d:message xml:lang="en">Attribute matching operator (e.g. |
2656 |
<code>=</code>) is missing.</d:message> |
2657 |
</d:item> |
2658 |
|
2659 |
<d:item name="no attr name" |
2660 |
modules="CSS::SelectorsParser"> |
2661 |
<d:message xml:lang="en">Attribute name is missing.</d:message> |
2662 |
</d:item> |
2663 |
|
2664 |
<d:item name="no attr namespace separator" |
2665 |
modules="CSS::SelectorsParser"> |
2666 |
<d:message xml:lang="en">Attribute namespace wildcard <code>*</code> |
2667 |
is not followed by a <code>|</code> character.</d:message> |
2668 |
</d:item> |
2669 |
|
2670 |
<d:item name="no attr value" |
2671 |
modules="CSS::SelectorsParser"> |
2672 |
<d:message xml:lang="en">Attribute value is missing.</d:message> |
2673 |
</d:item> |
2674 |
|
2675 |
<d:item name="no class name selector" |
2676 |
modules="CSS::SelectorsParser"> |
2677 |
<d:message xml:lang="en">Class name is missing.</d:message> |
2678 |
<!-- "." not followed by a class name --> |
2679 |
</d:item> |
2680 |
|
2681 |
<d:item name="no combinator" |
2682 |
modules="CSS::SelectorsParser"> |
2683 |
<d:message xml:lang="en">Combinator is missing.</d:message> |
2684 |
</d:item> |
2685 |
|
2686 |
<d:item name="no contains string" |
2687 |
modules="CSS::SelectorsParser"> |
2688 |
<d:message xml:lang="en">No string is specified in the argument |
2689 |
list of the <code>:-manakai-contains</code> pseudo-class |
2690 |
selector.</d:message> |
2691 |
</d:item> |
2692 |
|
2693 |
<d:item name="no lang tag" |
2694 |
modules="CSS::SelectorsParser"> |
2695 |
<d:message xml:lang="en">Language tag argument is missing.</d:message> |
2696 |
</d:item> |
2697 |
|
2698 |
<d:item name="no local name selector" |
2699 |
modules="CSS::SelectorsParser"> |
2700 |
<d:message xml:lang="en">Local name part of the type selector (or |
2701 |
<code>*</code> for the universal selector) is missing.</d:message> |
2702 |
<!-- "|" not followed by a name or "*" --> |
2703 |
</d:item> |
2704 |
|
2705 |
<d:item name="no pseudo-class name" |
2706 |
modules="CSS::SelectorsParser"> |
2707 |
<d:message xml:lang="en">Pseudo-class name is missing.</d:message> |
2708 |
</d:item> |
2709 |
|
2710 |
<d:item name="no pseudo-element name" |
2711 |
modules="CSS::SelectorsParser"> |
2712 |
<d:message xml:lang="en">Pseudo-element name is missing.</d:message> |
2713 |
</d:item> |
2714 |
|
2715 |
<d:item name="no sss" |
2716 |
modules="CSS::SelectorsParser"> |
2717 |
<d:message xml:lang="en">Sequence of simple selectors is |
2718 |
expected.</d:message> |
2719 |
</d:item> |
2720 |
|
2721 |
<d:item name="not not closed" |
2722 |
modules="CSS::SelectorsParser"> |
2723 |
<d:message xml:lang="en">Argument list of the <code>:not</code> selector |
2724 |
is not closed by a <code>)</code> character.</d:message> |
2725 |
</d:item> |
2726 |
|
2727 |
<d:item name="ss after pseudo-element" |
2728 |
modules="CSS::SelectorsParser"> |
2729 |
<d:message xml:lang="en">Simple selector is not allowed after a |
2730 |
pseudo element.</d:message> |
2731 |
</d:item> |
2732 |
|
2733 |
<d:item name="unknown pseudo-class" |
2734 |
modules="CSS::SelectorsParser"> |
2735 |
<d:message xml:lang="en">Pseudo-class <code>:<var>{value}</var></code> |
2736 |
is not supported by the conformance checker.</d:message> |
2737 |
</d:item> |
2738 |
|
2739 |
<d:item name="unknown pseudo-element" |
2740 |
modules="CSS::SelectorsParser"> |
2741 |
<d:message xml:lang="en">Pseudo-element <code>::<var>{value}</var></code> |
2742 |
is not supported by the conformance checker.</d:message> |
2743 |
</d:item> |
2744 |
|
2745 |
</section> |
2746 |
|
2747 |
<section id="css-errors"> |
2748 |
<h2>CSS Errors</h2> |
2749 |
|
2750 |
<d:item name="at-rule not allowed" |
2751 |
modules="CSS::Parser"> |
2752 |
<d:message xml:lang="en">An <code>@<var>{text}</var></code> rule is not |
2753 |
allowed here.</d:message> |
2754 |
</d:item> |
2755 |
|
2756 |
<d:item name="at-rule syntax error" |
2757 |
modules="CSS::Parser"> |
2758 |
<d:message xml:lang="en">The <code>@<var>{text}</var></code> rule is |
2759 |
syntactically incorrect.</d:message> |
2760 |
</d:item> |
2761 |
|
2762 |
<d:item name="block not closed" |
2763 |
modules="CSS::Parser"> |
2764 |
<d:message xml:lang="en">Block is not closed before the end of |
2765 |
file.</d:message> |
2766 |
</d:item> |
2767 |
|
2768 |
<d:item name="CSS duplication" |
2769 |
modules="CSS::Parser"> |
2770 |
<d:message xml:lang="en">Component <code><<var>{text}</var>></code> is |
2771 |
already specified.</d:message> |
2772 |
</d:item> |
2773 |
|
2774 |
<d:item name="CSS syntax error" |
2775 |
modules="CSS::Parser"> |
2776 |
<d:message xml:lang="en">Specified value is syntactically not a correct |
2777 |
<code><<var>{text}</var>></code>.</d:message> |
2778 |
</d:item> |
2779 |
|
2780 |
<d:item name="no declaration block" |
2781 |
modules="CSS::Parser"> |
2782 |
<d:message xml:lang="en">No declaration block is found after a group of |
2783 |
selectors.</d:message> |
2784 |
</d:item> |
2785 |
|
2786 |
<d:item name="no property colon" |
2787 |
modules="CSS::Parser"> |
2788 |
<d:message xml:lang="en">A <code>:</code> character is missing after |
2789 |
a property name.</d:message> |
2790 |
</d:item> |
2791 |
|
2792 |
<d:item name="no property name" |
2793 |
modules="CSS::Parser"> |
2794 |
<d:message xml:lang="en">Property name is expected.</d:message> |
2795 |
</d:item> |
2796 |
|
2797 |
<d:item name="no property semicolon" |
2798 |
modules="CSS::Parser"> |
2799 |
<d:message xml:lang="en">A <code>;</code> character is missing at the |
2800 |
end of the property.</d:message> |
2801 |
</d:item> |
2802 |
|
2803 |
<d:item name="priority syntax error" |
2804 |
modules="CSS::Parser"> |
2805 |
<d:message xml:lang="en">Priority part of the declaration is syntactically |
2806 |
incorrect.</d:message> |
2807 |
</d:item> |
2808 |
|
2809 |
<d:item name="unknown at-rule" |
2810 |
modules="CSS::Parser"> |
2811 |
<d:message xml:lang="en">The <code>@<var>{value}</var></code> rule is |
2812 |
not supported by the conformance checker.</d:message> |
2813 |
</d:item> |
2814 |
|
2815 |
<d:item name="unknown property" |
2816 |
modules="CSS::Parser"> |
2817 |
<d:message xml:lang="en">Property <code><var>{value}</var></code> is |
2818 |
not supported by the conformance checker.</d:message> |
2819 |
</d:item> |
2820 |
|
2821 |
</section> |
2822 |
|
2823 |
<section id="cache-manifest-errors"> |
2824 |
<h2>Cache Manifest Errors</h2> |
2825 |
|
2826 |
<d:item name="both in entries and whitelist" |
2827 |
modules="CacheManifest"> |
2828 |
<d:message xml:lang="en">This URL is found both in the explicit or |
2829 |
fallback entries and in the online whitelist.</d:message> |
2830 |
</d:item> |
2831 |
|
2832 |
<d:item name="different origin from manifest" |
2833 |
modules="CacheManifest"> |
2834 |
<d:message xml:lang="en">The specified URL has different origin from |
2835 |
the manifest.</d:message> |
2836 |
</d:item> |
2837 |
|
2838 |
<d:item name="different scheme from manifest" |
2839 |
modules="CacheManifest"> |
2840 |
<d:message xml:lang="en">The scheme component of the URL is |
2841 |
different from that of the manifest URL. The URL is ignored.</d:message> |
2842 |
</d:item> |
2843 |
|
2844 |
<d:item name="duplicate oc namespace" |
2845 |
modules="CacheManifest"> |
2846 |
<d:message xml:lang="en">This oppotunistic caching namespace is already |
2847 |
specified.</d:message> |
2848 |
</d:item> |
2849 |
|
2850 |
<d:item name="no fallback entry URL" |
2851 |
modules="CacheManifest"> |
2852 |
<d:message xml:lang="en">Fallback entry URL is missing.</d:message> |
2853 |
</d:item> |
2854 |
|
2855 |
<d:item name="not manifest" |
2856 |
modules="CacheManifest"> |
2857 |
<d:message xml:lang="en">This document is not a cache manifest.</d:message> |
2858 |
<d:desc xml:lang="en"> |
2859 |
<p>The specified document is <em>not</em> a cache manifest. |
2860 |
The document is non-conforming.</p> |
2861 |
|
2862 |
<p>An entity labeled as Internet media type |
2863 |
<code>text/cache-manifest</code> must contain a cache manifest.</p> |
2864 |
|
2865 |
<p>A cache manifest must start with a line whose content is |
2866 |
<code class="manifest example">CACHE MANIFEST</code> |
2867 |
(exactly one space character between |
2868 |
<code>CACHE</code> and <code>MANIFEST</code>).</p> |
2869 |
</d:desc> |
2870 |
</d:item> |
2871 |
|
2872 |
<d:item name="same as manifest URL" |
2873 |
modules="CacheManifest"> |
2874 |
<d:message xml:lang="en">This URL is same as the manifest URL.</d:message> |
2875 |
</d:item> |
2876 |
|
2877 |
</section> |
2878 |
|
2879 |
<section id="information"> |
2880 |
<h2>Stability Information</h2> |
2881 |
|
2882 |
<d:item name="deprecated:attr" |
2883 |
modules="ContentChecker"> |
2884 |
<d:message xml:lang="en">This attribute is deprecated.</d:message> |
2885 |
</d:item> |
2886 |
|
2887 |
<d:item name="deprecated:element" |
2888 |
modules="ContentChecker"> |
2889 |
<d:message xml:lang="en">This element is deprecated.</d:message> |
2890 |
</d:item> |
2891 |
|
2892 |
<d:item name="status:cr:element" |
2893 |
modules="ContentChecker"> |
2894 |
<d:message xml:lang="en">This element is in the |
2895 |
<strong>call for implementation</strong> stage.</d:message> |
2896 |
<d:desc xml:lang="en"> |
2897 |
<p>The element is in the call for implementation stage.</p> |
2898 |
|
2899 |
<p>Usually, using the element is safe. However, it is a new feature |
2900 |
so that it might not be implemented correctly. If it is found that |
2901 |
the feature is hard or impossible to implement, the feature |
2902 |
might be revised, or in some case it might be dropped.</p> |
2903 |
|
2904 |
<p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0 |
2905 |
(W3C Candidate Recommendation) belong to this class.</p> |
2906 |
</d:desc> |
2907 |
</d:item> |
2908 |
|
2909 |
<d:item name="status:lc:element" |
2910 |
modules="ContentChecker"> |
2911 |
<d:message xml:lang="en">This element is in the <strong>last |
2912 |
call for comments</strong> stage.</d:message> |
2913 |
<d:desc xml:lang="en"> |
2914 |
<p>The element is in the last call for comments stage.</p> |
2915 |
|
2916 |
<p>The element is relatively mature, though the standardization |
2917 |
is not done yet. It may be used for experiments. Since it is a new |
2918 |
feature, it might not be implemented correctly or at all. If it is |
2919 |
found that the feature is hard or impossible to implement, the feature |
2920 |
might be revised or might be dropped.</p> |
2921 |
|
2922 |
<p>Elements defined by Web Forms 2.0 as well as some elements |
2923 |
defined by HTML5 belong to this class.</p> |
2924 |
</d:desc> |
2925 |
</d:item> |
2926 |
|
2927 |
<d:item name="status:wd:element" |
2928 |
modules="ContentChecker"> |
2929 |
<d:message xml:lang="en">This element is documented in a <strong>working |
2930 |
draft</strong>.</d:message> |
2931 |
<d:desc xml:lang="en"> |
2932 |
<p>The element is documented in a working or editor's draft |
2933 |
and not yet completed.</p> |
2934 |
|
2935 |
<p>The element should not be used for any practical purpose. |
2936 |
The feature might be drastically changed later or might be |
2937 |
entirely removed.</p> |
2938 |
|
2939 |
<p>Most of new elements defined by HTML5 belong to this class.</p> |
2940 |
</d:desc> |
2941 |
</d:item> |
2942 |
|
2943 |
<d:item name="status:non-standard:element" |
2944 |
modules="ContentChecker"> |
2945 |
<d:message xml:lang="en">This element is <strong>not part of any |
2946 |
standard</strong> the conformance checker knows.</d:message> |
2947 |
<d:desc xml:lang="en"> |
2948 |
<p>The element is not part of any standard or draft the conformance |
2949 |
checker is aware of.</p> |
2950 |
|
2951 |
<p>The element should not be used for any practical purpose unless |
2952 |
there is really a standard that defines the element.</p> |
2953 |
</d:desc> |
2954 |
</d:item> |
2955 |
|
2956 |
<d:item name="status:cr:attr" |
2957 |
modules="ContentChecker"> |
2958 |
<d:message xml:lang="en">This attribute is in the |
2959 |
<strong>call for implementation</strong> stage.</d:message> |
2960 |
<d:desc xml:lang="en"> |
2961 |
<p>The attribute is in the call for implementation stage.</p> |
2962 |
|
2963 |
<p>Usually, using the attribute is safe. However, it is a new feature |
2964 |
so that it might not be implemented correctly. If it is found that |
2965 |
the feature is hard or impossible to implement, the feature |
2966 |
might be revised, or in some case it might be dropped.</p> |
2967 |
</d:desc> |
2968 |
</d:item> |
2969 |
|
2970 |
<d:item name="status:lc:attr" |
2971 |
modules="ContentChecker"> |
2972 |
<d:message xml:lang="en">This attribute is in the <strong>last |
2973 |
call for comments</strong> stage.</d:message> |
2974 |
<d:desc xml:lang="en"> |
2975 |
<p>The attribute is in the last call for comments stage.</p> |
2976 |
|
2977 |
<p>The attribute is relatively mature, though the standardization |
2978 |
is not done yet. It may be used for experiments. Since it is a new |
2979 |
feature, it might not be implemented correctly or at all. If it is |
2980 |
found that the feature is hard or impossible to implement, the feature |
2981 |
might be revised or might be dropped.</p> |
2982 |
</d:desc> |
2983 |
</d:item> |
2984 |
|
2985 |
<d:item name="status:wd:attr" |
2986 |
modules="ContentChecker"> |
2987 |
<d:message xml:lang="en">This attribute is documented in a <strong>working |
2988 |
draft</strong>.</d:message> |
2989 |
<d:desc xml:lang="en"> |
2990 |
<p>The attribute is documented in a working or editor's draft |
2991 |
and not yet completed.</p> |
2992 |
|
2993 |
<p>The attribute should not be used for any practical purpose. |
2994 |
The feature might be drastically changed later or might be |
2995 |
entirely removed.</p> |
2996 |
</d:desc> |
2997 |
</d:item> |
2998 |
|
2999 |
<d:item name="status:non-standard:attr" |
3000 |
modules="ContentChecker"> |
3001 |
<d:message xml:lang="en">This attribute is <strong>not part of any |
3002 |
standard</strong> the conformance checker knows.</d:message> |
3003 |
<d:desc xml:lang="en"> |
3004 |
<p>The attribute is not part of any standard or draft the conformance |
3005 |
checker is aware of.</p> |
3006 |
|
3007 |
<p>The attribute should not be used for any practical purpose unless |
3008 |
there is really a standard that defines the attribute.</p> |
3009 |
</d:desc> |
3010 |
</d:item> |
3011 |
</section> |
3012 |
|
3013 |
<section id="langtag-errors"> |
3014 |
<h2>Language Tag Errors</h2> |
3015 |
|
3016 |
<d:item name="langtag:extension:duplication" |
3017 |
modules="LangTag"> |
3018 |
<d:message xml:lang="en">There is another extension subtag |
3019 |
<code><var>{value}</var></code>.</d:message> |
3020 |
</d:item> |
3021 |
|
3022 |
<d:item name="langtag:illegal" |
3023 |
modules="LangTag"> |
3024 |
<d:message xml:lang="en">Subtag <code><var>{value}</var></code> is |
3025 |
syntactically invalid.</d:message> |
3026 |
</d:item> |
3027 |
|
3028 |
<d:item name="langtag:language:case" |
3029 |
modules="LangTag"> |
3030 |
<d:message xml:lang="en">It is a good practice to represent ISO 639-1 |
3031 |
language code <code><var>{value}</var></code> in lowercase.</d:message> |
3032 |
</d:item> |
3033 |
|
3034 |
<d:item name="langtag:language:mul" |
3035 |
modules="LangTag"> |
3036 |
<d:message xml:lang="en">Langauge tag <code>mul</code> should not be |
3037 |
used.</d:message> |
3038 |
</d:item> |
3039 |
|
3040 |
<d:item name="langtag:language:nosemantics" |
3041 |
modules="LangTag"> |
3042 |
<d:message xml:lang="en">No semantics is defined for language subtag |
3043 |
<code><var>{value}</var></code>.</d:message> |
3044 |
</d:item> |
3045 |
|
3046 |
<d:item name="langtag:language:syntax" |
3047 |
modules="LangTag"> |
3048 |
<d:message xml:lang="en">The language subtag <code><var>{value}</var></code> |
3049 |
is syntactically invalid.</d:message> |
3050 |
</d:item> |
3051 |
|
3052 |
<d:item name="langtag:language:und" |
3053 |
modules="LangTag"> |
3054 |
<d:message xml:lang="en">Langauge tag <code>und</code> should not be |
3055 |
used.</d:message> |
3056 |
</d:item> |
3057 |
|
3058 |
<d:item name="langtag:private" |
3059 |
modules="LangTag"> |
3060 |
<d:message xml:lang="en">It would be better if a private use language |
3061 |
tag (<code><var>{value}</var></code>) is not used.</d:message> |
3062 |
</d:item> |
3063 |
|
3064 |
<d:item name="langtag:privateuse:syntax" |
3065 |
modules="LangTag"> |
3066 |
<d:message xml:lang="en">Private use subtag <code><var>{value}</var></code> |
3067 |
is syntactically invalid.</d:message> |
3068 |
</d:item> |
3069 |
|
3070 |
<d:item name="langtag:region:case" |
3071 |
modules="LangTag"> |
3072 |
<d:message xml:lang="en">It is a good practice to represent ISO 3166 |
3073 |
country code <code><var>{value}</var></code> in uppercase.</d:message> |
3074 |
</d:item> |
3075 |
|
3076 |
<d:item name="langtag:region:nosemantics" |
3077 |
modules="LangTag"> |
3078 |
<d:message xml:lang="en">No semantics is defined for region subtag |
3079 |
<code><var>{value}</var></code>.</d:message> |
3080 |
</d:item> |
3081 |
|
3082 |
<d:item name="langtag:region:private" |
3083 |
modules="LangTag"> |
3084 |
<d:message xml:lang="en">Use of private use country code |
3085 |
<code><var>{value}</var></code> is not allowed.</d:message> |
3086 |
</d:item> |
3087 |
|
3088 |
</section> |
3089 |
|
3090 |
<section id="rdfxml-errors"> |
3091 |
<h2>RDF/XML Errors</h2> |
3092 |
|
3093 |
<d:item name="bad rdf namespace" |
3094 |
modules="RDFXML"> |
3095 |
<d:message xml:lang="en">The namespace URI of an element that |
3096 |
represents an RDF concept must be |
3097 |
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</d:message> |
3098 |
</d:item> |
3099 |
|
3100 |
<d:item name="duplicate rdf id" |
3101 |
modules="RDFXML"> |
3102 |
<d:message xml:lang="en">The specified value is already used as an |
3103 |
ID.</d:message> |
3104 |
</d:item> |
3105 |
|
3106 |
<d:item name="duplicate unqualified attr" |
3107 |
modules="RDFXML"> |
3108 |
<d:message xml:lang="en">Both unqualified attribute and namespace‐qualified |
3109 |
RDF attribute are specified, which is not allowed.</d:message> |
3110 |
</d:item> |
3111 |
|
3112 |
<d:item name="parse type other" |
3113 |
modules="RDFXML"> |
3114 |
<d:message xml:lang="en">An invalid value is specified to |
3115 |
the <code>parseType</code> attribute.</d:message> |
3116 |
</d:item> |
3117 |
|
3118 |
<d:item name="second node element" |
3119 |
modules="RDFXML"> |
3120 |
<d:message xml:lang="en">There is another element, such that |
3121 |
this element is not allowed.</d:message> |
3122 |
</d:item> |
3123 |
|
3124 |
<d:item name="unqualified attr" |
3125 |
modules="RDFXML"> |
3126 |
<d:message xml:lang="en">Unqualified attribute is not allowed.</d:message> |
3127 |
</d:item> |
3128 |
|
3129 |
<d:item name="unqualified rdf attr" |
3130 |
modules="RDFXML"> |
3131 |
<d:message xml:lang="en">RDF attribute should be |
3132 |
namespace‐qualified.</d:message> |
3133 |
</d:item> |
3134 |
|
3135 |
</section> |
3136 |
|
3137 |
<section id="unsupported-messages"> |
3138 |
<h2><i>Unsupported</i> Messages</h2> |
3139 |
|
3140 |
<d:item name="unknown element" |
3141 |
modules="ContentChecker"> |
3142 |
<d:message xml:lang="en">Conformance checking for element |
3143 |
<code><var>{local-name}</var></code> is not supported; <em>it might or |
3144 |
might not be conforming</em>.</d:message> |
3145 |
<d:desc xml:lang="en"> |
3146 |
<p>The conformant checker does not support the element. |
3147 |
It cannot determine whether the document is conforming or not.</p> |
3148 |
</d:desc> |
3149 |
</d:item> |
3150 |
|
3151 |
<d:item name="unknown attribute" |
3152 |
modules="ContentChecker ContentChecker::HTML ContentChecker::Atom"> |
3153 |
<d:message xml:lang="en">Conformance checking for attribute |
3154 |
<code><var>{local-name}</var></code> of element |
3155 |
<code><var>{element-local-name}</var></code> is not supported; |
3156 |
<em>it might or might not be conforming</em>.</d:message> |
3157 |
<d:desc xml:lang="en"> |
3158 |
<p>The conformant checker does not support the attribute. |
3159 |
It cannot determine whether the document is conforming or not.</p> |
3160 |
</d:desc> |
3161 |
</d:item> |
3162 |
|
3163 |
<d:item name="unknown link type" |
3164 |
modules="ContentChecker::HTML"> |
3165 |
<d:message xml:lang="en">Link type <code><var>{value}</var></code> is not |
3166 |
standardized or registered at the time of the release of the conformance |
3167 |
checker; <em>it is non-conforming unless it now has been |
3168 |
registered</em>.</d:message> |
3169 |
<d:desc xml:lang="en"> |
3170 |
<p>The <code>rel</code> attribute is defined as a list of link types. |
3171 |
Some common link types are defined in the HTML5 specification. |
3172 |
Additional link types can be registered to the WHATWG Wiki. |
3173 |
use of any other link type is non-conforming.</p> |
3174 |
|
3175 |
<p>The specified link type is not part of the standard or registry |
3176 |
when the database used by the conformance cheker is created. |
3177 |
The link type might have been added to the registry since then. |
3178 |
In such case it might be conforming. Otherwise, the |
3179 |
document is non-conforming.</p> |
3180 |
|
3181 |
<dl> |
3182 |
<dt>Link types <code>shortcut icon</code></dt> |
3183 |
<dd>Link type <code>shortcut</code> is not registered. |
3184 |
Use only <code>icon</code> for linking to so-called favicon.</dd> |
3185 |
</dl> |
3186 |
</d:desc> |
3187 |
</d:item> |
3188 |
|
3189 |
<d:item name="event handler" |
3190 |
modules="ContentChecker::HTML"> |
3191 |
<d:message xml:lang="en">Conformance checking for event handler attribute |
3192 |
is not supported; <em>it might or might not be conforming.</em></d:message> |
3193 |
</d:item> |
3194 |
|
3195 |
<d:item name="media query" |
3196 |
modules="ContentChecker::HTML"> |
3197 |
<d:message xml:lang="en">Conformance checking for media query |
3198 |
is not supported; <em>it might or might not be conforming.</em></d:message> |
3199 |
</d:item> |
3200 |
|
3201 |
<d:item name="addr-spec not supported" |
3202 |
modules="ContentChecker::Atom"> |
3203 |
<d:message xml:lang="en">Conformance checking for an <code>addr-spec</code> |
3204 |
is not supported; <em>it might or might not be conforming.</em></d:message> |
3205 |
</d:item> |
3206 |
|
3207 |
<d:item name="XML script lang" |
3208 |
modules="ContentChecker::HTML"> |
3209 |
<d:message xml:lang="en">Conformance checking for script |
3210 |
language <code><var>{text}</var></code> is not supported; |
3211 |
<em>it might or might not be conforming.</em></d:message> |
3212 |
</d:item> |
3213 |
|
3214 |
<d:item name="XML style lang" |
3215 |
modules="ContentChecker::HTML"> |
3216 |
<d:message xml:lang="en">Conformance checking for style |
3217 |
language <code><var>{text}</var></code> is not supported; |
3218 |
<em>it might or might not be conforming.</em></d:message> |
3219 |
</d:item> |
3220 |
|
3221 |
<d:item name="atom|content not supported" |
3222 |
modules="ContentChecker::Atom"> |
3223 |
<d:message xml:lang="en">Conformance checking for an Atom |
3224 |
<code>content</code> element with <code>type</code> |
3225 |
<code><var>{text}</var></code> is not supported.</d:message> |
3226 |
</d:item> |
3227 |
|
3228 |
</section> |
3229 |
|
3230 |
<d:cat name="WebHACC:Title"> |
3231 |
<d:text xml:lang="en">WebHACC (β)</d:text> |
3232 |
</d:cat> |
3233 |
|
3234 |
<d:cat name="WebHACC:Heading"> |
3235 |
<d:text xml:lang="en"> |
3236 |
<a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a> |
3237 |
</d:text> |
3238 |
<d:text xml:lang="ja"> |
3239 |
<a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器 (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a> |
3240 |
</d:text> |
3241 |
</d:cat> |
3242 |
|
3243 |
<d:cat name="Input"> |
3244 |
<d:text xml:lang="en">Input</d:text> |
3245 |
<d:text xml:lang="ja">入力</d:text> |
3246 |
</d:cat> |
3247 |
|
3248 |
<d:cat name="By URL"> |
3249 |
<d:text xml:lang="en">By URL</d:text> |
3250 |
<d:text xml:lang="ja">URL で指定</d:text> |
3251 |
</d:cat> |
3252 |
|
3253 |
<d:cat name="By direct input"> |
3254 |
<d:text xml:lang="en">By direct input</d:text> |
3255 |
<d:text xml:lang="ja">直接入力</d:text> |
3256 |
</d:cat> |
3257 |
|
3258 |
<d:cat name="Options"> |
3259 |
<d:text xml:lang="en">More options</d:text> |
3260 |
<d:text xml:lang="ja">検査オプション</d:text> |
3261 |
</d:cat> |
3262 |
|
3263 |
<d:cat name="Check error page"> |
3264 |
<d:text xml:lang="en">Check an error page</d:text> |
3265 |
<d:text xml:lang="ja">誤り頁を検査する</d:text> |
3266 |
</d:cat> |
3267 |
|
3268 |
<d:cat name="Content type"> |
3269 |
<d:text xml:lang="en">Content type</d:text> |
3270 |
<d:text xml:lang="ja">内容型</d:text> |
3271 |
</d:cat> |
3272 |
|
3273 |
<d:cat name="Charset"> |
3274 |
<d:text xml:lang="en">Character encoding</d:text> |
3275 |
<d:text xml:lang="ja">文字符号化</d:text> |
3276 |
</d:cat> |
3277 |
|
3278 |
<d:cat name="As specified"> |
3279 |
<d:text xml:lang="en">As specified</d:text> |
3280 |
<d:text xml:lang="ja">指定通り</d:text> |
3281 |
</d:cat> |
3282 |
|
3283 |
<d:cat name="Japanese charsets"> |
3284 |
<d:text xml:lang="en">Japanese character encodings</d:text> |
3285 |
<d:text xml:lang="ja">日本語用文字符号化</d:text> |
3286 |
</d:cat> |
3287 |
|
3288 |
<d:cat name="European charsets"> |
3289 |
<d:text xml:lang="en">European character encodings</d:text> |
3290 |
<d:text xml:lang="ja">欧米言語用文字符号化</d:text> |
3291 |
</d:cat> |
3292 |
|
3293 |
<d:cat name="Asian charsets"> |
3294 |
<d:text xml:lang="en">Asian character encodings</d:text> |
3295 |
<d:text xml:lang="ja">アジア諸語用文字符号化</d:text> |
3296 |
</d:cat> |
3297 |
|
3298 |
<d:cat name="Unicode charsets"> |
3299 |
<d:text xml:lang="en">Unicode character encodings</d:text> |
3300 |
<d:text xml:lang="ja">Unicode 系文字符号化</d:text> |
3301 |
</d:cat> |
3302 |
|
3303 |
<d:cat name="Document source to check"> |
3304 |
<d:text xml:lang="en">Document source to check</d:text> |
3305 |
<d:text xml:lang="ja">検査する文書のソース</d:text> |
3306 |
</d:cat> |
3307 |
|
3308 |
<d:cat name="Check"> |
3309 |
<d:text xml:lang="en">Check</d:text> |
3310 |
<d:text xml:lang="ja">検査</d:text> |
3311 |
</d:cat> |
3312 |
|
3313 |
<d:cat name="Setting innerHTML"> |
3314 |
<d:text xml:lang="en">Setting <code>innerHTML</code> of HTML element</d:text> |
3315 |
<d:text xml:lang="ja"><code>innerHTML</code> に値を設定する HTML 要素</d:text> |
3316 |
</d:cat> |
3317 |
|
3318 |
<d:cat name="Information"> |
3319 |
<d:text xml:lang="en">Information</d:text> |
3320 |
<d:text xml:lang="ja">情報</d:text> |
3321 |
</d:cat> |
3322 |
|
3323 |
<d:cat name="HTTP Header"> |
3324 |
<d:text xml:lang="en"><abbr title="Hypertext Transfer Protocol">HTTP</abbr> |
3325 |
Header</d:text> |
3326 |
<d:text xml:lang="ja"><abbr lang="en" title="Hypertext Transfer Protocol">HTTP</abbr> |
3327 |
頭部</d:text> |
3328 |
</d:cat> |
3329 |
|
3330 |
<d:cat name="Parse Errors Section"> |
3331 |
<d:text xml:lang="en">Parse Errors</d:text> |
3332 |
<d:text xml:lang="ja">構文誤り</d:text> |
3333 |
</d:cat> |
3334 |
|
3335 |
<d:cat name="Parse Errors"> |
3336 |
<d:text xml:lang="en">Parse Errors</d:text> |
3337 |
<d:text xml:lang="ja">構文誤り</d:text> |
3338 |
</d:cat> |
3339 |
|
3340 |
<d:cat name="Document Source"> |
3341 |
<d:text xml:lang="en">Document Source</d:text> |
3342 |
<d:text xml:lang="ja">文書のソース</d:text> |
3343 |
</d:cat> |
3344 |
|
3345 |
<d:cat name="Source"> |
3346 |
<d:text xml:lang="en">Source</d:text> |
3347 |
<d:text xml:lang="ja">ソース</d:text> |
3348 |
</d:cat> |
3349 |
|
3350 |
<d:cat name="Tables Section"> |
3351 |
<d:text xml:lang="en">Structure of Tables</d:text> |
3352 |
<d:text xml:lang="ja">表の構造</d:text> |
3353 |
</d:cat> |
3354 |
|
3355 |
<d:cat name="Tables"> |
3356 |
<d:text xml:lang="en">Tables</d:text> |
3357 |
<d:text xml:lang="ja">表</d:text> |
3358 |
</d:cat> |
3359 |
|
3360 |
<d:cat name="Document Tree"> |
3361 |
<d:text xml:lang="en">Document Tree</d:text> |
3362 |
<d:text xml:lang="ja">文書木</d:text> |
3363 |
</d:cat> |
3364 |
|
3365 |
<d:cat name="Tree"> |
3366 |
<d:text xml:lang="en">Tree</d:text> |
3367 |
<d:text xml:lang="ja">木</d:text> |
3368 |
</d:cat> |
3369 |
|
3370 |
<d:cat name="Document"> |
3371 |
<d:text xml:lang="en">Document</d:text> |
3372 |
<d:text xml:lang="ja">文書</d:text> |
3373 |
</d:cat> |
3374 |
|
3375 |
<d:cat name="Document Structure"> |
3376 |
<d:text xml:lang="en">Document Structure</d:text> |
3377 |
<d:text xml:lang="ja">文書構造</d:text> |
3378 |
</d:cat> |
3379 |
|
3380 |
<d:cat name="Structure"> |
3381 |
<d:text xml:lang="en">Structure</d:text> |
3382 |
<d:text xml:lang="ja">構造</d:text> |
3383 |
</d:cat> |
3384 |
|
3385 |
<d:cat name="Reformatted Document Source"> |
3386 |
<d:text xml:lang="en">Reformatted Document Source</d:text> |
3387 |
<d:text xml:lang="ja">再整形した文書のソース</d:text> |
3388 |
</d:cat> |
3389 |
|
3390 |
<d:cat name="Reformatted"> |
3391 |
<d:text xml:lang="en">Reformatted</d:text> |
3392 |
<d:text xml:lang="ja">再整形</d:text> |
3393 |
</d:cat> |
3394 |
|
3395 |
<d:cat name="RDF Triples"> |
3396 |
<d:text xml:lang="en"><abbr>RDF</abbr> Triples</d:text> |
3397 |
<d:text xml:lang="ja"><abbr lang="en">RDF</abbr> 三項組</d:text> |
3398 |
</d:cat> |
3399 |
|
3400 |
<d:cat name="RDF"> |
3401 |
<d:text xml:lang="en"><abbr>RDF</abbr></d:text> |
3402 |
<d:text xml:lang="ja"><abbr lang="en">RDF</abbr></d:text> |
3403 |
</d:cat> |
3404 |
|
3405 |
<d:cat name="Structural Errors"> |
3406 |
<d:text xml:lang="en">Structural Errors</d:text> |
3407 |
<d:text xml:lang="ja">構造的誤り</d:text> |
3408 |
</d:cat> |
3409 |
|
3410 |
<d:cat name="Struct. Errors"> |
3411 |
<d:text xml:lang="en">Struct. Errors</d:text> |
3412 |
<d:text xml:lang="ja">構造誤り</d:text> |
3413 |
</d:cat> |
3414 |
|
3415 |
<d:cat name="Transfer Errors"> |
3416 |
<d:text xml:lang="en">Transfer Errors</d:text> |
3417 |
<d:text xml:lang="ja">転送誤り</d:text> |
3418 |
</d:cat> |
3419 |
|
3420 |
<d:cat name="Trans. Errors"> |
3421 |
<d:text xml:lang="en">Trans. Errors</d:text> |
3422 |
<d:text xml:lang="ja">転送誤り</d:text> |
3423 |
</d:cat> |
3424 |
|
3425 |
<d:cat name="Result"> |
3426 |
<d:text xml:lang="en">Result</d:text> |
3427 |
<d:text xml:lang="ja">結果</d:text> |
3428 |
</d:cat> |
3429 |
|
3430 |
<d:cat name="manakaiCompatMode:quirks"> |
3431 |
<d:text xml:lang="en">Quirks Mode</d:text> |
3432 |
<d:text xml:lang="ja">奇癖モード</d:text> |
3433 |
</d:cat> |
3434 |
|
3435 |
<d:cat name="manakaiCompatMode:limited quirks"> |
3436 |
<d:text xml:lang="en">Limited Quirks Mode</d:text> |
3437 |
<d:text xml:lang="ja">限定奇癖モード</d:text> |
3438 |
</d:cat> |
3439 |
|
3440 |
<d:cat name="manakaiCompatMode:no quirks"> |
3441 |
<d:text xml:lang="en">No Quirks Mode</d:text> |
3442 |
<d:text xml:lang="ja">無奇癖モード</d:text> |
3443 |
</d:cat> |
3444 |
|
3445 |
<d:cat name="manakaiIsHTML:1"> |
3446 |
<d:text xml:lang="en">HTML Document</d:text> |
3447 |
<d:text xml:lang="ja">HTML 文書</d:text> |
3448 |
</d:cat> |
3449 |
|
3450 |
<d:cat name="manakaiIsHTML:0"> |
3451 |
<d:text xml:lang="en">XML Document</d:text> |
3452 |
<d:text xml:lang="ja">XML 文書</d:text> |
3453 |
</d:cat> |
3454 |
|
3455 |
<d:cat name="manakaiCharset"> |
3456 |
<d:text xml:lang="en"><code>charset</code> parameter</d:text> |
3457 |
<d:text xml:lang="ja"><code lang="en">charset</code> 引数</d:text> |
3458 |
</d:cat> |
3459 |
|
3460 |
<d:cat name="inputEncoding"> |
3461 |
<d:text xml:lang="en">Input character encoding</d:text> |
3462 |
<d:text xml:lang="ja">入力に用いた文字符号化</d:text> |
3463 |
</d:cat> |
3464 |
|
3465 |
<d:cat name="xmlVersion"> |
3466 |
<d:text xml:lang="en">XML <code>version</code></d:text> |
3467 |
<d:text xml:lang="ja">XML <code lang="en">version</code></d:text> |
3468 |
</d:cat> |
3469 |
|
3470 |
<d:cat name="xmlEncoding"> |
3471 |
<d:text xml:lang="en">XML <code>encoding</code></d:text> |
3472 |
<d:text xml:lang="ja">XML <code lang="en">encoding</code></d:text> |
3473 |
</d:cat> |
3474 |
|
3475 |
<d:cat name="xmlStandalone"> |
3476 |
<d:text xml:lang="en">XML <code>standalone</code></d:text> |
3477 |
<d:text xml:lang="ja">XML <code lang="en">standalone</code></d:text> |
3478 |
</d:cat> |
3479 |
|
3480 |
<d:cat name="... with BOM"> |
3481 |
<d:text xml:lang="en"> (with <code class="charname"><abbr title="BYTE ORDER MARK">BOM</abbr></code>)</d:text> |
3482 |
<d:text xml:lang="ja"> (<code class="charname" lang="en"><abbr title="BYTE ORDER MARK">BOM</abbr></code> つき)</d:text> |
3483 |
</d:cat> |
3484 |
|
3485 |
<d:cat name="URL"> |
3486 |
<d:text xml:lang="en"><abbr title="Uniform Resource Locator">URL</abbr></d:text> |
3487 |
<d:text xml:lang="ja"><abbr title="統一資源所在子">URL</abbr></d:text> |
3488 |
</d:cat> |
3489 |
|
3490 |
<d:cat name="URLs"> |
3491 |
<d:text xml:lang="en"><abbr title="Uniform Resource Locators">URLs</abbr></d:text> |
3492 |
<d:text xml:lang="ja"><abbr title="統一資源所在子">URL</abbr></d:text> |
3493 |
</d:cat> |
3494 |
|
3495 |
<d:cat name="Container Node"> |
3496 |
<d:text xml:lang="en">Container Node</d:text> |
3497 |
<d:text xml:lang="ja">この文書を含む節点</d:text> |
3498 |
</d:cat> |
3499 |
|
3500 |
<d:cat name="Table Element"> |
3501 |
<d:text xml:lang="en">Table Element</d:text> |
3502 |
<d:text xml:lang="ja">表要素</d:text> |
3503 |
</d:cat> |
3504 |
|
3505 |
<d:cat name="Base URL"> |
3506 |
<d:text xml:lang="en">Base URL</d:text> |
3507 |
<d:text xml:lang="ja">基底 URL</d:text> |
3508 |
</d:cat> |
3509 |
|
3510 |
<d:cat name="Internet Media Type"> |
3511 |
<d:text xml:lang="en">Internet Media Type</d:text> |
3512 |
<d:text xml:lang="ja">インターネット媒体型</d:text> |
3513 |
</d:cat> |
3514 |
|
3515 |
<d:cat name="Character Encoding"> |
3516 |
<d:text xml:lang="en">Character Encoding</d:text> |
3517 |
<d:text xml:lang="ja">文字符号化</d:text> |
3518 |
</d:cat> |
3519 |
|
3520 |
<d:cat name="Byte Length"> |
3521 |
<d:text xml:lang="en">Byte Length</d:text> |
3522 |
<d:text xml:lang="ja">バイト長</d:text> |
3523 |
</d:cat> |
3524 |
|
3525 |
<d:cat name="Character Length"> |
3526 |
<d:text xml:lang="en">Character Length</d:text> |
3527 |
<d:text xml:lang="ja">文字長</d:text> |
3528 |
</d:cat> |
3529 |
|
3530 |
<d:cat name="... overridden"> |
3531 |
<d:text xml:lang="en"> (<i>overridden</i>)</d:text> |
3532 |
<d:text xml:lang="ja"> (<i>上書き</i>)</d:text> |
3533 |
</d:cat> |
3534 |
|
3535 |
<d:cat name="... overridden, official type is #"> |
3536 |
<d:text xml:lang="en"> (<i>overridden</i>; official type is |
3537 |
<code lang="en" class="MIME"><var>{text}</var></code>)</d:text> |
3538 |
<d:text xml:lang="ja"> (<i>上書き</i>, 公式型は |
3539 |
<code lang="en" class="MIME"><var>{text}</var></code>)</d:text> |
3540 |
</d:cat> |
3541 |
|
3542 |
<d:cat name="... sniffed"> |
3543 |
<d:text xml:lang="en"> (<i>sniffed</i>)</d:text> |
3544 |
<d:text xml:lang="ja"> (<i>探知結果</i>)</d:text> |
3545 |
</d:cat> |
3546 |
|
3547 |
<d:cat name="byte"> |
3548 |
<d:text xml:lang="en">byte</d:text> |
3549 |
<d:text xml:lang="ja">バイト</d:text> |
3550 |
</d:cat> |
3551 |
|
3552 |
<d:cat name="bytes"> |
3553 |
<d:text xml:lang="en">bytes</d:text> |
3554 |
<d:text xml:lang="ja">バイト</d:text> |
3555 |
</d:cat> |
3556 |
|
3557 |
<d:cat name="Explicit entries"> |
3558 |
<d:text xml:lang="en">Explicit entries</d:text> |
3559 |
<d:text xml:lang="ja">明示的項目</d:text> |
3560 |
</d:cat> |
3561 |
|
3562 |
<d:cat name="Fallback entries"> |
3563 |
<d:text xml:lang="en">Fallback entries</d:text> |
3564 |
<d:text xml:lang="ja">滑り止め項目</d:text> |
3565 |
</d:cat> |
3566 |
|
3567 |
<d:cat name="Opportunistic caching namespace"> |
3568 |
<d:text xml:lang="en">Opportunistic caching namespace</d:text> |
3569 |
<d:text xml:lang="ja">日和見的キャッシュ化名前空間</d:text> |
3570 |
</d:cat> |
3571 |
|
3572 |
<d:cat name="Fallback entry"> |
3573 |
<d:text xml:lang="en">Fallback entry</d:text> |
3574 |
<d:text xml:lang="ja">滑り止め項目</d:text> |
3575 |
</d:cat> |
3576 |
|
3577 |
<d:cat name="Online whitelist"> |
3578 |
<d:text xml:lang="en">Online whitelist</d:text> |
3579 |
<d:text xml:lang="ja">オンライン・ホワイトリスト</d:text> |
3580 |
</d:cat> |
3581 |
|
3582 |
<d:cat name="No entry"> |
3583 |
<d:text xml:lang="en">No entry</d:text> |
3584 |
<d:text xml:lang="ja">項目なし</d:text> |
3585 |
</d:cat> |
3586 |
|
3587 |
<d:cat name="Subject"> |
3588 |
<d:text xml:lang="en">Subject</d:text> |
3589 |
<d:text xml:lang="ja">主語</d:text> |
3590 |
</d:cat> |
3591 |
|
3592 |
<d:cat name="Predicate"> |
3593 |
<d:text xml:lang="en">Predicate</d:text> |
3594 |
<d:text xml:lang="ja">述語</d:text> |
3595 |
</d:cat> |
3596 |
|
3597 |
<d:cat name="Object"> |
3598 |
<d:text xml:lang="en">Object</d:text> |
3599 |
<d:text xml:lang="ja">目的語</d:text> |
3600 |
</d:cat> |
3601 |
|
3602 |
<d:cat name="character"> |
3603 |
<d:text xml:lang="en">character</d:text> |
3604 |
<d:text xml:lang="ja">文字</d:text> |
3605 |
</d:cat> |
3606 |
|
3607 |
<d:cat name="characters"> |
3608 |
<d:text xml:lang="en">characters</d:text> |
3609 |
<d:text xml:lang="ja">文字</d:text> |
3610 |
</d:cat> |
3611 |
|
3612 |
<d:cat name="Line #"> |
3613 |
<d:text xml:lang="en">Line <var>{text}</var></d:text> |
3614 |
<d:text xml:lang="ja"><var>{text}</var> 行</d:text> |
3615 |
</d:cat> |
3616 |
|
3617 |
<d:cat name="column #"> |
3618 |
<d:text xml:lang="en">column <var>{text}</var></d:text> |
3619 |
<d:text xml:lang="ja"><var>{text}</var> 列</d:text> |
3620 |
</d:cat> |
3621 |
|
3622 |
<d:cat name="Index #"> |
3623 |
<d:text xml:lang="en">Index <var>{text}</var></d:text> |
3624 |
<d:text xml:lang="ja">索引 #<var>{text}</var></d:text> |
3625 |
</d:cat> |
3626 |
|
3627 |
<d:cat name="Unknown location"> |
3628 |
<d:text xml:lang="en">Unknown location</d:text> |
3629 |
<d:text xml:lang="ja">位置不明</d:text> |
3630 |
</d:cat> |
3631 |
|
3632 |
<d:cat name="Table #"> |
3633 |
<d:text xml:lang="en">Structure of Table #<var>{text}</var></d:text> |
3634 |
<d:text xml:lang="ja">表 #<var>{text}</var> の構造</d:text> |
3635 |
</d:cat> |
3636 |
|
3637 |
<d:cat name="Subdocument #"> |
3638 |
<d:text xml:lang="en">Subdocument #<var>{text}</var></d:text> |
3639 |
<d:text xml:lang="ja">部分文書 #<var>{text}</var></d:text> |
3640 |
</d:cat> |
3641 |
|
3642 |
<d:cat name="Sub #"> |
3643 |
<d:text xml:lang="en">Sub #<var>{text}</var></d:text> |
3644 |
<d:text xml:lang="ja">部分 #<var>{text}</var></d:text> |
3645 |
</d:cat> |
3646 |
|
3647 |
<d:cat name="..."> |
3648 |
<d:text xml:lang="en">..</d:text><!-- TODO: figure hyphen? --> |
3649 |
<d:text xml:lang="ja">〜</d:text> |
3650 |
</d:cat> |
3651 |
|
3652 |
<d:cat name="Score"> |
3653 |
<d:text xml:lang="en">Score</d:text> |
3654 |
<d:text xml:lang="ja">得点</d:text> |
3655 |
</d:cat> |
3656 |
|
3657 |
<d:cat name="Subtotal"> |
3658 |
<d:text xml:lang="en">Subtotal</d:text> |
3659 |
<d:text xml:lang="ja">小計</d:text> |
3660 |
</d:cat> |
3661 |
|
3662 |
<d:cat name="Total"> |
3663 |
<d:text xml:lang="en">Total</d:text> |
3664 |
<d:text xml:lang="ja">合計</d:text> |
3665 |
</d:cat> |
3666 |
|
3667 |
<d:cat name="Main document"> |
3668 |
<d:text xml:lang="en">Main document</d:text> |
3669 |
<d:text xml:lang="ja">主文書</d:text> |
3670 |
</d:cat> |
3671 |
|
3672 |
<d:cat name="Subdocuments"> |
3673 |
<d:text xml:lang="en">Subdocuments</d:text> |
3674 |
<d:text xml:lang="ja">部分文書</d:text> |
3675 |
</d:cat> |
3676 |
|
3677 |
<d:cat name="Transfer L."> |
3678 |
<d:text xml:lang="en"><abbr title="Transfer protocol">Transfer</abbr></d:text> |
3679 |
<d:text xml:lang="ja"><abbr title="転送プロトコル">転送</abbr></d:text> |
3680 |
</d:cat> |
3681 |
|
3682 |
<d:cat name="Encode L."> |
3683 |
<d:text xml:lang="en"><abbr title="Character encoding">Encoding</abbr></d:text> |
3684 |
<d:text xml:lang="ja"><abbr title="文字符号化">符号</abbr></d:text> |
3685 |
</d:cat> |
3686 |
|
3687 |
<d:cat name="Char L."> |
3688 |
<d:text xml:lang="en"><abbr title="Coded characters">Character</abbr></d:text> |
3689 |
<d:text xml:lang="ja"><abbr title="符号化文字">文字</abbr></d:text> |
3690 |
</d:cat> |
3691 |
|
3692 |
<d:cat name="Syntax L."> |
3693 |
<d:text xml:lang="en">Syntax</d:text> |
3694 |
<d:text xml:lang="ja">構文</d:text> |
3695 |
</d:cat> |
3696 |
|
3697 |
<d:cat name="Structure L."> |
3698 |
<d:text xml:lang="en">Structure</d:text> |
3699 |
<d:text xml:lang="ja">構造</d:text> |
3700 |
</d:cat> |
3701 |
|
3702 |
<d:cat name="Semantics L."> |
3703 |
<d:text xml:lang="en">Semantics</d:text> |
3704 |
<d:text xml:lang="ja">意味</d:text> |
3705 |
</d:cat> |
3706 |
|
3707 |
<d:cat name="N/A"> |
3708 |
<d:text xml:lang="en">N/A</d:text> |
3709 |
<d:text xml:lang="ja">−</d:text> |
3710 |
</d:cat> |
3711 |
|
3712 |
<d:cat name="No error found."> |
3713 |
<d:text xml:lang="en">No error found.</d:text> |
3714 |
<d:text xml:lang="ja">誤りは見つかりませんでした。</d:text> |
3715 |
</d:cat> |
3716 |
|
3717 |
<d:cat name="No transfer error found."> |
3718 |
<d:text xml:lang="en">This document has no transfer protocol header error.</d:text> |
3719 |
<d:text xml:lang="ja">転送プロトコルの頭部に誤りは見つかりませんでした。</d:text> |
3720 |
</d:cat> |
3721 |
|
3722 |
<d:cat name="No parse error found."> |
3723 |
<d:text xml:lang="en">This document has no parse error.</d:text> |
3724 |
<d:text xml:lang="ja">構文解析中に誤りは見つかりませんでした。</d:text> |
3725 |
</d:cat> |
3726 |
|
3727 |
<d:cat name="No structural error found."> |
3728 |
<d:text xml:lang="en">This document has no structral error.</d:text> |
3729 |
<d:text xml:lang="ja">構造上の誤りは見つかりませんでした。</d:text> |
3730 |
</d:cat> |
3731 |
|
3732 |
<d:cat name="This checker is work in progress."> |
3733 |
<d:text xml:lang="en"> |
3734 |
<p><strong>Important</strong>: This conformance checking service |
3735 |
is <em>under development</em>. The result above might be <em>wrong</em>.</p> |
3736 |
</d:text> |
3737 |
<d:text xml:lang="ja"> |
3738 |
<p><strong>重要</strong>: この適合性検査サービスは<em>開発中</em>です。 |
3739 |
この結果は<em>間違い</em>かもしれません。</p> |
3740 |
</d:text> |
3741 |
</d:cat> |
3742 |
|
3743 |
<d:cat name="Conformance is conforming"> |
3744 |
<d:text xml:lang="en">No conformance‐error is |
3745 |
found in this document.</d:text> |
3746 |
<d:text xml:lang="ja">この文書に適合性に関わる誤りは見つかりませんでした。</d:text> |
3747 |
</d:cat> |
3748 |
|
3749 |
<d:cat name="Conformance is should-error"> |
3750 |
<d:text xml:lang="en">This document |
3751 |
is <strong>likely <em>non</em>-conforming</strong>, but in rare case |
3752 |
it might be conforming. The checker cannot determine whether |
3753 |
this document is in the rare case or not.</d:text> |
3754 |
<d:text xml:lang="ja">この文書は<strong>おそらく<em>不</em>適合</strong>ですが、 |
3755 |
稀に適合している場合もあります。適合性検査器はこの文書が稀な場合に該当するかどうか判定できません。</d:text> |
3756 |
</d:cat> |
3757 |
|
3758 |
<d:cat name="Conformance is non-conforming"> |
3759 |
<d:text xml:lang="en">This document is |
3760 |
<strong><em>non</em>-conforming</strong>.</d:text> |
3761 |
<d:text xml:lang="ja">この文書は<strong><em>不</em>適合</strong>です。</d:text> |
3762 |
</d:cat> |
3763 |
|
3764 |
<d:cat name="Conformance is uncertain"> |
3765 |
<d:text xml:lang="en">The conformance |
3766 |
checker cannot decide whether the document is conforming or |
3767 |
not, since the document contains one or more unsupported |
3768 |
features. The document might or might not be conforming.</d:text> |
3769 |
<d:text xml:lang="ja">適合性検査器はこの文書が適合するかどうか判定できませんでした。 |
3770 |
この文書は適合性検査器が対応していない機能を使っています。 |
3771 |
この文書は適合しているかもしれませんし、していないかもしれません。</d:text> |
3772 |
</d:cat> |
3773 |
|
3774 |
<d:cat name="Error level m"> |
3775 |
<d:text xml:lang="en"><a href="../error-description#level-m"><em class="rfc2119">MUST</em>‐level |
3776 |
error</a></d:text> |
3777 |
<d:text xml:lang="ja"><a href="../error-description#level-m"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></d:text> |
3778 |
</d:cat> |
3779 |
|
3780 |
<d:cat name="Error level s"> |
3781 |
<d:text xml:lang="en"><a href="../error-description#level-s"><em class="rfc2119">SHOULD</em>‐level |
3782 |
error</a></d:text> |
3783 |
<d:text xml:lang="ja"><a href="../error-description#level-s"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></d:text> |
3784 |
</d:cat> |
3785 |
|
3786 |
<d:cat name="Error level w"> |
3787 |
<d:text xml:lang="en"><a href="../error-description#level-w">Warning</a></d:text> |
3788 |
<d:text xml:lang="ja"><a href="../error-description#level-w">警告</a></d:text> |
3789 |
</d:cat> |
3790 |
|
3791 |
<d:cat name="Error level i"> |
3792 |
<d:text xml:lang="en"><a href="../error-description#level-i">Information</a></d:text> |
3793 |
<d:text xml:lang="ja"><a href="../error-description#level-i">情報</a></d:text> |
3794 |
</d:cat> |
3795 |
|
3796 |
<d:cat name="Error level u"> |
3797 |
<d:text xml:lang="en"><a href="../error-description#level-u">Not |
3798 |
supported</a></d:text> |
3799 |
<d:text xml:lang="ja"><a href="../error-description#level-u">未対応</a></d:text> |
3800 |
</d:cat> |
3801 |
|
3802 |
<section id="levels"> |
3803 |
<h2>Error Levels</h2> |
3804 |
|
3805 |
<table id="levels-table"> |
3806 |
<thead> |
3807 |
<tr><th scope="col">Level</th> |
3808 |
<th scope="col">Conforming?</th> |
3809 |
<th scope="col">Description</th> |
3810 |
</tr> |
3811 |
</thead> |
3812 |
<tbody> |
3813 |
<tr id="level-m" class="level-m"> |
3814 |
<th scope="row"><em class="rfc2119">MUST</em>‐level error</th> |
3815 |
<td>Non‐conforming.</td> |
3816 |
<td>A violation to a hard requirement of the specification. |
3817 |
The document is non‐conforming.</td> |
3818 |
</tr> |
3819 |
<tr id="level-s" class="level-s"> |
3820 |
<th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th> |
3821 |
<td>Non‐conforming, but <em>in some case</em> |
3822 |
conforming.</td> |
3823 |
<td>A violation to a requirement of the specification. |
3824 |
The violation might be legitimize in some case. Otherwise, |
3825 |
the document is non‐conforming.</td> |
3826 |
</tr> |
3827 |
<tr id="level-w" class="level-w"> |
3828 |
<th scope="row">Warning</th> |
3829 |
<td>Conforming.</td> |
3830 |
<td>A warning is an advice from the conformance checker to avoid |
3831 |
to solve a problem in a confusing or possibly wrong way. |
3832 |
It does not affect to the conformance of the document, and |
3833 |
may sometimes be inappropriate.</td> |
3834 |
</tr> |
3835 |
<tr id="level-i" class="level-i"> |
3836 |
<th scope="row">Information</th> |
3837 |
<td>Conforming.</td> |
3838 |
<td>An informational message just provides an additional information |
3839 |
on the feature used in the document or the status of the retrieval |
3840 |
or so on. |
3841 |
It does not affect to the conformance of the document.</td> |
3842 |
</tr> |
3843 |
<tr id="level-u" class="level-u"> |
3844 |
<th scope="row">Not supported</th> |
3845 |
<td><em>Unknown</em>.</td> |
3846 |
<td>Some feature that is not supported by the conformance checker |
3847 |
is used in the document.</td> |
3848 |
</tr> |
3849 |
</tbody> |
3850 |
</table> |
3851 |
</section> |
3852 |
|
3853 |
<section id="license"> |
3854 |
<h2>License of This Document</h2> |
3855 |
|
3856 |
<p>Copyright <time>2007</time>‐<time>2008</time> |
3857 |
<a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a> |
3858 |
<code class="mail"><<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></code>.</p> |
3859 |
|
3860 |
<p>This document is free software; you can redistribute it |
3861 |
and/or modify it under the same terms as Perl itself.</p> |
3862 |
</section> |
3863 |
|
3864 |
<!-- $Date: 2008/08/15 16:03:46 $ --> |
3865 |
</body> |
3866 |
</html> |