1 |
<!DOCTYPE html><html id="error-description" lang="ja" xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/" xmlns="http://www.w3.org/1999/xhtml"> |
2 |
<head> |
3 |
<base href="cc/"> |
4 |
|
5 |
|
6 |
<link href="../cc-style" rel="stylesheet"> |
7 |
<link href="#license" rel="license"> |
8 |
<title xml:lang="ja">誤りの説明 — WebHACC (β)</title></head> |
9 |
<body> |
10 |
<header> |
11 |
<h1><a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img alt="WebHACC" src="../icons/title"></abbr></a></h1> |
12 |
<h2>Description of Errors</h2> |
13 |
</header> |
14 |
|
15 |
|
16 |
|
17 |
<div class="section" id="WebHACC:Heading"><h3> |
18 |
|
19 |
</h3> |
20 |
<p><a href="./#input"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr></a> |
21 |
は、 Web 文書のための<em>適合性検査器</em> (妥当性検証器) です。 |
22 |
<a href="http://whatwg.org/html5"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>、 |
23 |
<a href="urn:ietf:rfc:4287">Atom 1.0</a>、 |
24 |
<a href="http://www.w3.org/Style/CSS/current-work"><abbr title="Cascading Style Sheets">CSS</abbr>3</a> |
25 |
などの<a href="../standards">最新の Web 標準</a>に対応しています。</p> |
26 |
|
27 |
<p><strong><a href="./#input">文書を検査する</a></strong></p> |
28 |
|
29 |
<p><a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器">WebHACC</abbr> |
30 |
の詳細</a></p> |
31 |
</div> |
32 |
|
33 |
<section id="character-encoding-layer"> |
34 |
<h2>Character Encoding Layer Errors</h2> |
35 |
|
36 |
<div class="section" id="fallback-char-error"><h3>Octet sequence <code><var>{octets}</var></code> |
37 |
is not an allowed representation of the character |
38 |
<code><var>{char}</var></code> — character reference |
39 |
<code><var>{char:hexref}</var></code> should be used instead.</h3></div> |
40 |
|
41 |
<div class="section" id="fallback-unassigned-error"><h3>No character is assigned to octet sequence |
42 |
<code><var>{octets}</var></code>.</h3></div> |
43 |
|
44 |
<div class="section" id="illegal-octets-error"><h3>Octet sequence <code><var>{octets}</var></code> |
45 |
is illegal.</h3></div> |
46 |
|
47 |
<div class="section" id="invalid-state-error"><h3>The input stream is broken.</h3> |
48 |
<p>The input stream is encoded in <code>ISO-2022-JP</code> |
49 |
or its variant but is partially broken.</p> |
50 |
|
51 |
<p>Note that an <code>ISO-2022-JP</code> stream must end in the ASCII |
52 |
state.</p> |
53 |
</div> |
54 |
|
55 |
<div class="section" id="unassigned-code-point-error"><h3>No character is assigned to octet sequence |
56 |
<code><var>{octets}</var></code>.</h3></div> |
57 |
</section> |
58 |
|
59 |
<section id="html5-character-encoding"> |
60 |
<h2>HTML5 Character Encoding Errors</h2> |
61 |
|
62 |
<div class="section" id="charset:not-supported"><h3>Character encoding <code><var>{value}</var></code> |
63 |
is not supported and the explicit character encoding specification is |
64 |
ignored. The result of the conformance checking might be |
65 |
<em>wrong</em>.</h3></div> |
66 |
|
67 |
<div class="section" id="disallowed-character-encoding"><h3>Character encoding <code><var>{text}</var></code> |
68 |
is not allowed for <abbr>HTML</abbr> document.</h3> |
69 |
<p>The character encoding used for the document is not allowed |
70 |
for <abbr>HTML</abbr> document. The document is non‐conforming.</p> |
71 |
</div> |
72 |
|
73 |
<div class="section" id="bad-character-encoding"><h3>Character encoding <code><var>{text}</var></code> |
74 |
should not be used for <abbr>HTML</abbr> document.</h3> |
75 |
<p>The character encoding used for the document is not recommended |
76 |
for <abbr>HTML</abbr> document. The document is non‐conforming |
77 |
unless there is any good reason to use that encoding.</p> |
78 |
</div> |
79 |
|
80 |
<div class="section" id="non-utf-8-character-encoding"><h3>Use of UTF-8 is encouraged (this document |
81 |
is encoded in <code><var>{text}</var></code>).</h3> |
82 |
<p>Use of UTF-8 as the character encoding of the document is encouraged, |
83 |
though the use of another character encoding is still conforming.</p> |
84 |
</div> |
85 |
|
86 |
<div class="section" id="character-encoding-unchecked"><h3>Conformance for character encoding requirements |
87 |
cannot be checked, since the input is not a byte stream.</h3> |
88 |
<p>The conformance checker cannot detect whether the input document |
89 |
met the requirements on character encoding, since the document |
90 |
is not inputed as a serialized byte sequence. The document is |
91 |
not conforming if it is not encoded in an appropriate character |
92 |
encoding with appropriate labeling.</p> |
93 |
</div> |
94 |
|
95 |
<div class="section" id="no-character-encoding-declaration"><h3>There is no character encoding |
96 |
declaration.</h3> |
97 |
<p>The document does not contain a character encoding |
98 |
declaration. Unless the character encoding is explicitly |
99 |
specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, |
100 |
or is implied by <abbr>BOM</abbr>, there must be a character |
101 |
encoding declaration. The document is non‐conforming.</p> |
102 |
|
103 |
<p>The long character encoding declaration syntax |
104 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
105 |
is obsolete. The new syntax is:</p> |
106 |
<pre class="html example"> |
107 |
<code><meta charset="<var>charset-name</var>"></code></pre> |
108 |
|
109 |
<p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr> |
110 |
declaration has no effect for <abbr>HTML</abbr> document.</p> |
111 |
</div> |
112 |
|
113 |
<div class="section" id="non-ascii-superset"><h3>No character encoding metadata is found |
114 |
in lower‐level protocol nor is there <abbr>BOM</abbr>, while |
115 |
character encoding <code><var>{text}</var></code> |
116 |
is not a superset of <abbr>ASCII</abbr>.</h3> |
117 |
<p>The document is not labeled with character encoding name |
118 |
in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and |
119 |
the document is not begin with <abbr>BOM</abbr>. In addition, |
120 |
the character encoding of the document is not a superset of |
121 |
<abbr>ASCII</abbr>. The document is non‐conforming.</p> |
122 |
|
123 |
<p>Unless there is a <abbr>BOM</abbr>, the character encoding |
124 |
for the document must be specified in e.g. <abbr>HTTP</abbr>‐level, |
125 |
as:</p> |
126 |
<pre class="http example"> |
127 |
<code>Content-Type: text/html; charset=<var>charset-name</var></code></pre> |
128 |
|
129 |
<p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e. |
130 |
<code class="html example"><meta charset="<var>charset-name</var>"></code>, |
131 |
does not allow to omit <code>charset</code> parameter |
132 |
for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr> |
133 |
compatible encoding.</p> |
134 |
|
135 |
<p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>, |
136 |
and <code>ISO-2022-JP</code> are <em>not</em> a superset of |
137 |
<abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p> |
138 |
</div> |
139 |
|
140 |
<div class="section" id="sniffing:chardet"><h3>Character encoding of this document is sniffed |
141 |
as <code><var>{text}</var></code> (Sniffed because no explicit specification |
142 |
for the character encoding of this document is found in the transfer |
143 |
procotol headers).</h3></div> |
144 |
|
145 |
<div class="section" id="sniffing:default"><h3>Character encoding of this document is defaulted |
146 |
to <code><var>{text}</var></code> because no explicit specification |
147 |
for the character encoding of this document is found in the transfer |
148 |
procotol headers.</h3></div> |
149 |
|
150 |
<div class="section" id="chardecode:fallback"><h3>Results might be <em>wrong</em>, since the |
151 |
conformance checker cannot find an appropriate decoder for the character |
152 |
encoding used for the document.</h3> |
153 |
<p>The conformance checker cannot find an appropriate decoder for |
154 |
the character encoding used to encode characters in the document.</p> |
155 |
|
156 |
<p>This error is raised if:</p> |
157 |
<ul> |
158 |
<li>the conformance checker cannot find any decoder for the character |
159 |
encoding in use, but it knows that the encoding is similar to another |
160 |
character encoding, such that it uses the decoder for that character |
161 |
encoding, and therefore some octets might be interpreted incorrectly, |
162 |
or,</li> |
163 |
<li>the conformance checker find a decoder for the character encoding |
164 |
in use, but it does not know whether the decoder is conforming to the |
165 |
relevant specification or not, and therefore some octets might be |
166 |
interpreted incorrectly.</li> |
167 |
</ul> |
168 |
|
169 |
<p>In either case, the result shown by the conformance checker might |
170 |
contain wrong errors caused by errorneous decoder or might not contain |
171 |
errors that should be raised if an appropriate decoder is used.</p> |
172 |
|
173 |
<!-- TODO: add advise that either install relevant modules or |
174 |
join the developmenet of the modules... --> |
175 |
</div> |
176 |
|
177 |
<div class="section" id="chardecode:no-error"><h3>Conformance error checking for the character |
178 |
encoding <code><var>{text}</var></code> is not supported.</h3></div> |
179 |
|
180 |
<div class="section" id="charset-label:matching"><h3>Sniffed character encoding |
181 |
<code><var>{text}</var></code> is same as the character encoding specified |
182 |
in the character encoding declaration. This is <em>not</em> an |
183 |
error.</h3></div> |
184 |
|
185 |
<div class="section" id="charset-label-detected"><h3>While parsing the document as |
186 |
<code><var>{text}</var></code>, a character encoding declaration specifying |
187 |
a different character encoding is found. The document |
188 |
is reparsed.</h3> |
189 |
<p>While parsing a document in a character encoding, |
190 |
a character encoding declaration which declares the character |
191 |
encoding of the document as another character encoding is found. |
192 |
The occurence of this warning itself does not make the document |
193 |
non‐conforming. However, the failure of the first attempt to |
194 |
to detect the character encoding might be a result of non‐conformance |
195 |
of the document.</p> |
196 |
|
197 |
<p>The document will be reparsed from the beginning. Some error |
198 |
or warning might be reported again.</p> |
199 |
|
200 |
<p>These are suggestions to avoid this warning:</p> |
201 |
<ul> |
202 |
<li>Specify <code>charset</code> parameter in the <code>Content-Type</code> |
203 |
field in the <abbr>HTTP</abbr> header, as: |
204 |
<pre class="HTTP example"> |
205 |
<code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li> |
206 |
<li>Put the character encoding declaration |
207 |
(<code class="html example"><meta charset="<var>charset-name</var>"></code>) |
208 |
just after <code class="html example"><head></code> start tag.</li> |
209 |
<li>Use <code>UTF-8</code>.</li> |
210 |
</ul> |
211 |
</div> |
212 |
</section> |
213 |
|
214 |
<section id="character-set-layer"> |
215 |
<h2>Coded Character Set Layer Errors</h2> |
216 |
|
217 |
<div class="section" id="NULL"><h3>The <code class="charname">NULL</code> character |
218 |
is not allowed.</h3></div> |
219 |
|
220 |
<div class="section" id="control-char"><h3>Code point <code><var>{text}</var></code> is |
221 |
not allowed.</h3></div> |
222 |
|
223 |
<div class="section" id="nonchar"><h3>Noncharacter <code><var>{text}</var></code> |
224 |
is found in the input stream.</h3> |
225 |
<p>Noncharacter code points are used in the input stream.</p> |
226 |
|
227 |
<p>Noncharacter code points are reserved for internal processings. |
228 |
Their use for information interchanges are forbidden.</p> |
229 |
|
230 |
<p>In addition, they are not allowed in HTML document.</p> |
231 |
<!-- "permanently undefined Unicode characters" in HTML5. --> |
232 |
</div> |
233 |
|
234 |
<div class="section" id="non-unicode"><h3>Character <code><var>{text}</var></code> is not |
235 |
a Unicode character.</h3></div> |
236 |
|
237 |
<div class="section" id="unicode-deprecated"><h3>Use of character <code><var>{text}</var></code> |
238 |
is deprecated.</h3></div> |
239 |
|
240 |
<div class="section" id="unicode-discouraged"><h3>Use of character <code><var>{text}</var></code> |
241 |
is discouraged.</h3></div> |
242 |
|
243 |
<div class="section" id="unicode-not-preferred"><h3>Code point <code><var>{text}</var></code> |
244 |
is not the preferred representation of that character.</h3></div> |
245 |
|
246 |
<div class="section" id="unicode-should"><h3>Character <code><var>{text}</var></code> |
247 |
should not be used in many cases.</h3></div> |
248 |
|
249 |
</section> |
250 |
|
251 |
<section id="html5-tokenize-error"> |
252 |
<h2>HTML5 Parse Errors in Tokenization Stage</h2> |
253 |
|
254 |
<div class="section" id="bad-attribute-name"><h3>Attribute name cannot contain characters |
255 |
<code>"</code>, <code>'</code>, and <code>=</code>.</h3></div> |
256 |
|
257 |
<div class="section" id="bad-attribute-value"><h3>Attribute value must be quoted by <code>"</code> |
258 |
or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or |
259 |
<code>=</code> character.</h3> |
260 |
<p>In an unquoted attribute value, a character <code>"</code> |
261 |
(<code>U+0022</code> <code class="charname">QUOTATION MARK</code>), |
262 |
<code>'</code> (<code>U+0026</code> |
263 |
<code class="charname">APOSTROPHE</code>), or <code>=</code> |
264 |
(<code>U+003D</code> <code class="charname">EQUAL SIGN</code>) |
265 |
is contained. These characters are not allowed in unquoted attribute |
266 |
values, since they are used to quote attribute values or to separate |
267 |
attribute name and value.</p> |
268 |
|
269 |
<p>This error is also raised if one try to use empty attribute |
270 |
value like <code class="html bad example"><foo bar= baz=></code>; |
271 |
in this example, <code class="html bad example">baz=</code> is |
272 |
treated as an invalid attribute value for the attribute |
273 |
<code class="html bad example">bar</code>, not as another attribute.</p> |
274 |
</div> |
275 |
|
276 |
<div class="section" id="bare-ero"><h3>The <code>&</code> character must |
277 |
be escaped as <code class="html example">&amp;</code>.</h3> |
278 |
<p>An <code>&</code> character which |
279 |
is not part of any reference appears in the input stream. |
280 |
The document is non‐conforming.</p> |
281 |
|
282 |
<p><em>Any <code>&</code> character in URI (or IRI) |
283 |
must be escaped as <code class="example">&amp;</code>.</em></p> |
284 |
|
285 |
<p>The <code>&</code> character must |
286 |
be the first character of a reference: |
287 |
<dl class="switch"> |
288 |
<dt>Named entity reference</dt> |
289 |
<dd><pre class="html example"> |
290 |
<code>&<var>entity-name</var>;</code></pre> |
291 |
where <var>entity-name</var> is the name of the |
292 |
character entity to be referenced.</dd> |
293 |
<dt>Numeric character reference</dt> |
294 |
<dd><pre class="html example"> |
295 |
<code>&#<var>d</var>;</code></pre> |
296 |
where <var>d</var> is the decimal representation of |
297 |
the code position of the character to be referenced.</dd> |
298 |
<dt>Hexadecimal character reference</dt> |
299 |
<dd><pre class="html example"> |
300 |
<code>&#x<var>h</var>;</code></pre> |
301 |
where <var>h</var> is the hexadecimal representation |
302 |
of the code position of the character to be referenced.</dd> |
303 |
</dl> |
304 |
</p> |
305 |
|
306 |
<p>To represent <code>&</code> as a data character, use |
307 |
named entity reference: |
308 |
<pre class="html example"> |
309 |
<code>&amp;</code></pre> |
310 |
</p> |
311 |
</div> |
312 |
|
313 |
<div class="section" id="bare-etago"><h3>A <code></</code> string is not followed |
314 |
by a tag name.</h3> |
315 |
<p>There is a <code><</code> (<code>U+003C</code> |
316 |
<code class="charname">LESS-THAN SIGN</code>) character |
317 |
immediately followed by a <code>/</code> (<code>U+005F</code> |
318 |
<code>SOLIDUS</code>) character, which is not part |
319 |
of any end tag, in the input stream. The document |
320 |
is non-conforming.</p> |
321 |
|
322 |
<p>The <code></</code> sequence immediately followed |
323 |
by an <abbr title="End of file pseudo-character">EOF</abbr> is |
324 |
interpreted as a string data of <code></</code>.</p> |
325 |
|
326 |
<p>The <code></</code> sequence as string data must |
327 |
be escaped as: |
328 |
<pre class="html example"> |
329 |
<code>&lt;/</code></pre> |
330 |
</p> |
331 |
</div> |
332 |
|
333 |
<div class="section" id="bare-stago"><h3>A <code><</code> character is not followed |
334 |
by tag name or by a <code>!</code> character.</h3> |
335 |
<p>A <code><</code> (<code>U+003C</code> |
336 |
<code class="charname">LESS-THAN SIGN</code>) character which is not part |
337 |
of any markup appears in the input stream.</p> |
338 |
|
339 |
<p>The <code><</code> character as a data character must |
340 |
be escaped as: |
341 |
<pre class="html example"> |
342 |
<code>&lt;</code></pre> |
343 |
</p> |
344 |
</div> |
345 |
|
346 |
<div class="section" id="bare-nero"><h3>The decimal representation of the code position |
347 |
of a character must be specified after <code>&#</code>.</h3> |
348 |
<p>An <code>&</code> (<code>U+0026</code> |
349 |
<code class="charname">AMPERSAND</code>) character immediately |
350 |
followed by a <code>#</code> (<code>U+0023</code> |
351 |
<code>NUMBER SIGN</code>) character which |
352 |
is not part of any reference appears in the input stream. |
353 |
The document is non-conforming.</p> |
354 |
|
355 |
<p>The string <code>&#</code> must be the first two characters |
356 |
of a reference: |
357 |
<dl class="switch"> |
358 |
<dt>Numeric character reference</dt> |
359 |
<dd><pre class="html example"> |
360 |
<code>&#<var>d</var>;</code></pre> |
361 |
where <var>d</var> is the decimal representation of |
362 |
the code point of the character to be referenced.</dd> |
363 |
<dt>Hexadecimal character reference</dt> |
364 |
<dd><pre class="html example"> |
365 |
<code>&#x<var>h</var>;</code></pre> |
366 |
where <var>h</var> is the hexadecimal representation |
367 |
of the code point of the character to be referenced.</dd> |
368 |
</dl> |
369 |
</p> |
370 |
|
371 |
<p>To represent <code>&#</code> as data characters, use |
372 |
a named entity reference for the <code>&</code> character: |
373 |
<pre class="html example"> |
374 |
<code>&amp;#</code></pre> |
375 |
</p> |
376 |
</div> |
377 |
|
378 |
<div class="section" id="bare-hcro"><h3>The hexadecimal representation of the code position |
379 |
of a character must be specified after <code>&#x</code>.</h3> |
380 |
<p>The string <code>&#x</code> or <code>&#X</code> which |
381 |
is not part of any reference appears in the input stream. |
382 |
The document is non-conforming.</p> |
383 |
|
384 |
<p>The string <code>&#x</code> or <code>&#X</code> must |
385 |
be the first three characters of a hexadecimal reference: |
386 |
<pre class="html example"> |
387 |
<code>&#x<var>h</var>;</code></pre> |
388 |
where <var>h</var> is the hexadecimal representation |
389 |
of the code point of the character to be referenced.</p> |
390 |
|
391 |
<p>To represent <code>&#x</code> as data characters, use |
392 |
a named entity reference for the <code>&</code> character: |
393 |
<pre class="html example"> |
394 |
<code>&amp;#x</code></pre> |
395 |
</p> |
396 |
</div> |
397 |
|
398 |
<div class="section" id="bogus-comment"><h3>String <code><!</code> is not followed |
399 |
by <code>--</code>.</h3> |
400 |
<p>There is a <code><</code> (<code>U+003C</code> |
401 |
<code class="charname">LESS-THAN SIGN</code>) character |
402 |
followed by a <code>!</code> (<code>U+0021</code> |
403 |
<code class="charname">EXCLAMATION MARK</code>) character, |
404 |
which is not followed by a <code>--</code> or |
405 |
<code>!DOCTYPE</code>. The document is non-conforming.</p> |
406 |
|
407 |
<dl class="switch"> |
408 |
<dt>Comments</dt> |
409 |
<dd>In HTML document, comments must be introduced by |
410 |
<code class="example"><!--</code> (<code><!</code> |
411 |
<em>immediately</em> followed |
412 |
by <em>two</em> <code>-</code>s) and must be terminated by |
413 |
<code class="example">--></code>. |
414 |
Strings <code><!</code> not followed |
415 |
by <code>--</code> and <code><!-</code> not followed by |
416 |
<code>-</code> are not valid open delimiters for comments.</dd> |
417 |
<dt>Marked sections, including <code>CDATA</code> sections</dt> |
418 |
<dd>Marked sections are not allowed in HTML document.</dd> |
419 |
<dt>Markup declarations</dt> |
420 |
<dd>Markup declarations, except for <code>DOCTYPE</code> |
421 |
and comment declarations, are not allowed in HTML document.</dd> |
422 |
<dt>String <code><!</code></dt> |
423 |
<dd>String <code><!</code> must be escaped as |
424 |
<code class="example">&lt;!</code>.</dd> |
425 |
</dl> |
426 |
</div> |
427 |
|
428 |
<div class="section" id="bogus-end-tag"><h3>String <code></</code> is not followed |
429 |
by tag name.</h3> |
430 |
<p>There is a <code><</code> (<code>U+003C</code> |
431 |
<code class="charname">LESS-THAN SIGN</code>) character |
432 |
immediately followed by a <code>/</code> (<code>U+005F</code> |
433 |
<code>SOLIDUS</code>) character, which is not part |
434 |
of any end tag, in the input stream. The document |
435 |
is non-conforming.</p> |
436 |
|
437 |
<p>The <code></</code> sequence not followed by a |
438 |
tag name is parsed as an opening of bogus comment.</p> |
439 |
|
440 |
<p>The <code></</code> sequence as string data must |
441 |
be escaped as: |
442 |
<pre class="html example"> |
443 |
<code>&lt;/</code></pre> |
444 |
</p> |
445 |
</div> |
446 |
|
447 |
<div class="section" id="dash-in-comment"><h3>There is a <code>--</code> sequence |
448 |
in a comment.</h3> |
449 |
<p>There is a <code>-</code> (<code>U+002D</code> |
450 |
<code class="charname">HYPHEN-MINUS</code>) character |
451 |
at the end of the comment or a <code>--</code> sequence |
452 |
in the comment. The document is non-conforming.</p> |
453 |
|
454 |
<p>Comments cannot contain a string <code>--</code>, as in XML. |
455 |
Unlike SGML, there cannot be more than one comments |
456 |
(where <i>comment</i> is an SGML term) in the comment |
457 |
declaration.</p> |
458 |
</div> |
459 |
|
460 |
<div class="section" id="duplicate-attribute"><h3>There are two attributes with name |
461 |
<code><var>{text}</var></code>.</h3> |
462 |
<p>There are more than one attributes with the same |
463 |
name in a tag. The document is non-conforming.</p> |
464 |
|
465 |
<p>The <code>motion</code> attribute is not part of the HTML standard. |
466 |
Use <code>img</code> element with animation GIF instead.</p> |
467 |
</div> |
468 |
|
469 |
<div class="section" id="empty-start-tag"><h3>Empty start tag (<code><></code>) is not |
470 |
allowed.</h3></div> |
471 |
|
472 |
<div class="section" id="empty-end-tag"><h3>Empty end tag (<code></></code>) is not |
473 |
allowed.</h3></div> |
474 |
|
475 |
<div class="section" id="end-tag-attribute"><h3>終了タグに属性が指定されています。</h3></div> |
476 |
|
477 |
<div class="section" id="empty-unquoted-attribute-value"><h3>属性値が指定されていません。</h3> |
478 |
<p>The attribute value is not specified after the <code>=</code> |
479 |
(<code>U+003C</code> <code class="charname">EQUAL SIGN</code>) |
480 |
character.</p> |
481 |
|
482 |
<p>When an attribute value is empty, the <code>=</code> character after |
483 |
the attribute name must be specified as:</p> |
484 |
|
485 |
<p><code class="html example"><foo bar></code></p> |
486 |
|
487 |
<p>Instead, quotation marks can be used to explicitly represent that |
488 |
the attribute value is empty, as:</p> |
489 |
|
490 |
<p><code class="html example"><foo bar=""></code></p> |
491 |
|
492 |
<p>... or like:</p> |
493 |
|
494 |
<p><code class="html example"><foo bar=''></code></p> |
495 |
</div> |
496 |
|
497 |
<div class="section" id="invalid-character-reference"><h3>Character reference to |
498 |
<code><var>{text}</var></code> is not allowed.</h3></div> |
499 |
|
500 |
<div class="section" id="nestc"><h3>Polytheistic slash (<code>/></code>) cannot be |
501 |
used for this element.</h3> |
502 |
<p>Polytheistic slash (<code>/></code>) must not be used |
503 |
for the element. The document is non-conforming.</p> |
504 |
|
505 |
<p>The polytheistic slash can only be |
506 |
used for <code>base</code>, <code>link</code>, <code>meta</code>, |
507 |
<code>hr</code>, <code>br</code>, <code>img</code>, |
508 |
<code>embed</code>, <code>param</code>, <code>area</code>, |
509 |
<code>col</code>, and <code>input</code> elements.</p> |
510 |
|
511 |
<dl class="switch"> |
512 |
<dt><code><script/></code></dt> |
513 |
<dd><p>The polytheistic slash cannot be used for <code>script</code> |
514 |
element. Even for an empty <code>script</code> element, |
515 |
there must be an explicit end tag |
516 |
<code class="html example"></script></code>.</p> |
517 |
|
518 |
<p><strong>NOTE</strong>: Though some user agents interpret |
519 |
polytheistic slash for <code>script</code> element as the |
520 |
closing of the element, such usage is not allowed under |
521 |
the current standard.</p></dd> |
522 |
<dt><code><basefont/></code>, <code><bgsound/></code>, |
523 |
<code><frame/></code>, <code><keygen/></code>, |
524 |
<code><spacer/></code>, <code><wbr/></code></dt> |
525 |
<dd>These elements are themselves non-conforming.</dd> |
526 |
<!-- isindex, image --> |
527 |
<dt><code><command/></code>, <code><event-source/></code>, |
528 |
<code><nest/></code>, or <code><source/></code></dt> |
529 |
<dd>Future revision of HTML5 parsing algorithm is expected |
530 |
to allow polytheistic slash for these elements.</dd> |
531 |
<dt><code><a/></code>, <code><p/></code></dt> |
532 |
<dd>These elements are not always empty and therefore |
533 |
polytheistic slash is not allowed. Use explicit end tag |
534 |
to represent empty element as: |
535 |
<pre class="example html"> |
536 |
<code><p></p></code></pre> |
537 |
</dd> |
538 |
</dl> |
539 |
|
540 |
<p>Note that, unlike in XML, the polytheistic slash has |
541 |
no effect in HTML.</p> |
542 |
</div> |
543 |
|
544 |
<div class="section" id="no-DOCTYPE-name"><h3>After the string <code><!DOCTYPE </code>, the |
545 |
document type name must be specified.</h3></div> |
546 |
|
547 |
<div class="section" id="no-PUBLIC-literal"><h3>After the keyword <code>PUBLIC</code>, no |
548 |
oublic identifier is specified.</h3></div> |
549 |
|
550 |
<div class="section" id="no-refc"><h3>Character reference must be closed by a |
551 |
<code>;</code> character.</h3></div> |
552 |
|
553 |
<div class="section" id="no-space-before-DOCTYPE-name"><h3>After the string <code><!DOCTYPE</code>, there |
554 |
must be at least a white space character before the document type |
555 |
name.</h3></div> |
556 |
|
557 |
<div class="section" id="no-space-between-attributes"><h3>Attributes must be separeted by at least a |
558 |
white space character.</h3></div> |
559 |
|
560 |
<div class="section" id="no-SYSTEM-literal"><h3>After the keyword <code>SYSTEM</code>, no |
561 |
system identifier is specified.</h3></div> |
562 |
|
563 |
<div class="section" id="pio"><h3>Processing instruction |
564 |
(<code><?<var>...</var>></code>) is not allowed in HTML |
565 |
document.</h3> |
566 |
<p>Processing instructions (<code><?<var>...</var>?></code>), |
567 |
including XML declaration (<code><?xml <var>...</var>?></code>) |
568 |
and XML style sheet <abbr title="processing instruction">PI</abbr> |
569 |
(<code><?xml-stylesheet <var>...</var>?></code>), are not allowed |
570 |
in the HTML syntax. The document is non-conforming.</p> |
571 |
|
572 |
<dl class="switch"> |
573 |
<dt><code><?xbl?></code> (<abbr>XBL</abbr> Association)</dt> |
574 |
<dd>An <abbr>XBL</abbr> binding cannot be associated by |
575 |
<abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr> |
576 |
document. Use <code>binding</code> property in <abbr>CSS</abbr> |
577 |
style sheet as: |
578 |
<pre class="html example"> |
579 |
<code><style> |
580 |
p { |
581 |
binding: url(binding.xbl); |
582 |
} |
583 |
</style></code></pre> |
584 |
</dd> |
585 |
<dt><code><?xml?></code> (XML declaration)</dt> |
586 |
<dd>XML declaration is unnecessary for HTML documents.</dd> |
587 |
<dt><code><?xml-stylesheet?></code> (XML style sheet |
588 |
<abbr title="processing instruction">PI</abbr>)</dt> |
589 |
<dd>Use HTML <code>link</code> element with <code>rel</code> |
590 |
attribute set to <code>stylesheet</code> (or, |
591 |
<code>alternate stylesheet</code> for an alternate style |
592 |
sheet). |
593 |
<pre class="example html"> |
594 |
<code><link rel=stylesheet href="path/to/stylesheet.css"></code></pre> |
595 |
</dd> |
596 |
<dt><code><?php?></code> or |
597 |
<code><? <var>... <abbr>PHP</abbr> code ...</var> ?></code> |
598 |
(<abbr>PHP</abbr> code)</dt> |
599 |
<dd>The conformance checker does <em>not</em> support |
600 |
checking for PHP source documents.</dd> |
601 |
<dt>Other processing instructions</dt> |
602 |
<dd>Processing instructions cannot be inserted in an HTML |
603 |
document. Use XML document or insert |
604 |
<code>ProcessingInstruction</code> node by scripting.</dd> |
605 |
</dl> |
606 |
|
607 |
<p>Web browsers will parse processing instructions as bogus |
608 |
comments. Some legacy Web browsers, such as IE:mac and |
609 |
some mobile Web browsers, will display processing instructions |
610 |
as string.</p> |
611 |
</div> |
612 |
|
613 |
<div class="section" id="string-after-DOCTYPE-name"><h3>There is a bogus string after the document type |
614 |
name.</h3></div> |
615 |
|
616 |
<div class="section" id="string-after-PUBLIC"><h3>There is a bogus string after the keyword |
617 |
<code>PUBLIC</code>.</h3></div> |
618 |
|
619 |
<div class="section" id="string-after-PUBLIC-literal"><h3>There is a bogus string after the public |
620 |
identifier.</h3></div> |
621 |
|
622 |
<div class="section" id="string-after-SYSTEM"><h3>There is a bogus string after the keyword |
623 |
<code>SYSTEM</code>.</h3></div> |
624 |
|
625 |
<div class="section" id="string-after-SYSTEM-literal"><h3>There is a bogus string after the system |
626 |
identifier.</h3></div> |
627 |
|
628 |
<div class="section" id="unclosed-attribute-value"><h3>Attribute value is not closed by a quotation |
629 |
mark.</h3></div> |
630 |
|
631 |
<div class="section" id="unclosed-comment"><h3>Comment is not closed by a string |
632 |
<code>--></code>.</h3></div> |
633 |
|
634 |
<div class="section" id="unclosed-DOCTYPE"><h3>The <code>DOCTYPE</code> is not closed by a |
635 |
<code>></code> character.</h3></div> |
636 |
|
637 |
<div class="section" id="unclosed-PUBLIC-literal"><h3>The public identifier literal is not closed by a |
638 |
quotation mark.</h3></div> |
639 |
|
640 |
<div class="section" id="unclosed-SYSTEM-literal"><h3>The system identifier literal is not closed by a |
641 |
quotation mark.</h3></div> |
642 |
|
643 |
<div class="section" id="unclosed-tag"><h3>Tag is not closed by a <code>></code> |
644 |
character.</h3></div> |
645 |
|
646 |
</section> |
647 |
|
648 |
<section id="html5-parse-errors"> |
649 |
<h2>HTML5 Parse Errors in Tree Construction Stage</h2> |
650 |
|
651 |
<div class="section" id="after-after-frameset"><h3><code>html</code> 要素が閉じられた後に開始タグ |
652 |
<code><<var>{text}</var>></code> があります。</h3></div> |
653 |
|
654 |
<div class="section" id="after-after-frameset:/"><h3><code>html</code> 要素が閉じられた後に終了タグ |
655 |
<code></<var>{text}</var>></code> があります。</h3></div> |
656 |
|
657 |
<div class="section" id="after-body"><h3>Start tag <code><<var>{text}</var>></code> is |
658 |
not allowed after the <code>body</code> is closed.</h3></div> |
659 |
|
660 |
<div class="section" id="after-body:/"><h3>End tag <code></<var>{text}</var>></code> is |
661 |
not allowed after the <code>body</code> is closed.</h3></div> |
662 |
|
663 |
<div class="section" id="after-body:#text"><h3>Non‐white‐space characters are not allowed |
664 |
after the <code>body</code> is closed.</h3></div> |
665 |
|
666 |
<div class="section" id="after-frameset"><h3>Start tag <code><<var>{text}</var>></code> is |
667 |
not allowed after the <code>frameset</code> is closed.</h3></div> |
668 |
|
669 |
<div class="section" id="after-frameset:/"><h3>End tag <code></<var>{text}</var>></code> is |
670 |
not allowed after the <code>frameset</code> is closed.</h3></div> |
671 |
|
672 |
<div class="section" id="after-frameset:#text"><h3>Non‐white‐space characters are not allowed |
673 |
after the <code>frame</code> is closed.</h3></div> |
674 |
|
675 |
<div class="section" id="after-head"><h3>The <code><var>{text}</var></code> element cannot be |
676 |
inserted between <code>head</code> and <code>body</code> |
677 |
elements.</h3> |
678 |
<p>A start tag appears after the <code>head</code> element is closed |
679 |
but before the <code>body</code> element is opened. |
680 |
The document is non-conforming.</p> |
681 |
</div> |
682 |
|
683 |
<div class="section" id="after-html"><h3>Start tag <code><<var>{text}</var>></code> is |
684 |
not allowed after the <code>html</code> is closed.</h3> |
685 |
<p>The start tag of an element appears after the |
686 |
<code>body</code> element has been closed. The document is |
687 |
non-conforming.</p> |
688 |
|
689 |
<p>Any content of the document other than <code>head</code> |
690 |
contents and comments must be put into the <code>body</code> |
691 |
element.</p> |
692 |
</div> |
693 |
|
694 |
<div class="section" id="after-html:/"><h3>End tag <code></<var>{text}</var>></code> is |
695 |
not allowed after the <code>html</code> is closed.</h3> |
696 |
<p>The end tag of an element appears after the |
697 |
<code>body</code> element has been closed. The document is |
698 |
non-conforming.</p> |
699 |
|
700 |
<p>Any content of the document other than <code>head</code> |
701 |
contents and comments must be put into the <code>body</code> |
702 |
element.</p> |
703 |
</div> |
704 |
|
705 |
<div class="section" id="after-html:#text"><h3>Non‐white‐space characters are not allowed |
706 |
after the <code>html</code> is closed.</h3></div> |
707 |
|
708 |
<div class="section" id="image"><h3>The <code>image</code> element is |
709 |
obsolete.</h3></div> |
710 |
|
711 |
<div class="section" id="in-a:a"><h3>Anchor cannot be nested.</h3> |
712 |
<p>HTML <code>a</code> elements cannot be nested. |
713 |
The document is non-conforming.</p> |
714 |
|
715 |
<p>In the HTML syntax, a start tag of the <code>a</code> |
716 |
implies the end tag of any opening <code>a</code> element.</p> |
717 |
</div> |
718 |
|
719 |
<div class="section" id="in-body"><h3>Start tag <code><<var>{text}</var>></code> |
720 |
is not allowed in the <code>body</code> element.</h3> |
721 |
<p>The start or end tag of an element, which |
722 |
cannot be a descendant of <code>body</code> element, appears |
723 |
in the input stream while the <code>body</code> element has been opened. |
724 |
The document is non-conforming.</p> |
725 |
</div> |
726 |
|
727 |
<div class="section" id="in-body:#eof"><h3>Some element is not closed before the end of |
728 |
file.</h3></div> |
729 |
|
730 |
<div class="section" id="in-button:button"><h3>The <code>button</code> element cannot be |
731 |
nested.</h3></div> |
732 |
|
733 |
<div class="section" id="in-CDATA:#eof"><h3>Element is not closed before the end of |
734 |
file.</h3></div> |
735 |
|
736 |
<div class="section" id="in-form:form"><h3>Start tag <code><form></code> is |
737 |
not allowed in a <code>form</code> element.</h3></div> |
738 |
|
739 |
<div class="section" id="in-frameset"><h3>Start tag <code><<var>{text}</var>></code> is |
740 |
not allowed in a <code>framset</code> element.</h3></div> |
741 |
|
742 |
<div class="section" id="in-frameset:/"><h3>End tag <code></<var>{text}</var>></code> is |
743 |
not allowed in a <code>frameset</code> element.</h3></div> |
744 |
|
745 |
<div class="section" id="in-frameset:#text"><h3>Non‐white‐space characters are not allowed |
746 |
in a <code>frameset</code> element.</h3></div> |
747 |
|
748 |
<div class="section" id="in-head:head"><h3>Start tag <code><head></code> |
749 |
is not allowed in the <code>head</code> element.</h3> |
750 |
<p>There is a start tag <code><head></code> in the |
751 |
<code><head></code> element. The document is non-conforming.</p> |
752 |
|
753 |
<p>In an HTML document there must not be more than |
754 |
one <code>head</code> element, therefore no more than one |
755 |
start tag <code><head></code> can appear in the input stream.</p> |
756 |
</div> |
757 |
|
758 |
<div class="section" id="in-html:#DOCTYPE"><h3>A <code>DOCTYPE</code> appears after any |
759 |
element or data character has been seen.</h3> |
760 |
<p>A <code>DOCTYPE</code> appears after any element or data character |
761 |
has been seen. The document is non-conforming.</p> |
762 |
|
763 |
<p>The <code>DOCTYPE</code> must be placed before any |
764 |
tag, reference, or data character. Only white space characters |
765 |
and comments can be inserted before the <code>DOCTYPE</code>.</p> |
766 |
</div> |
767 |
|
768 |
<div class="section" id="in-nobr:nobr"><h3>The <code>nobr</code> element cannot be |
769 |
nested.</h3></div> |
770 |
|
771 |
<div class="section" id="in-noscript"><h3>The <code><var>{text}</var></code> element is not |
772 |
allowed in a <code>noscript</code> element in the |
773 |
<code>head</code> element.</h3></div> |
774 |
|
775 |
<div class="section" id="in-noscript:/"><h3>An end tag <code></<var>{text}</var>></code> |
776 |
appers before the <code>noscript</code> element is closed.</h3></div> |
777 |
|
778 |
<div class="section" id="in-noscript:#eof"><h3>A <code>noscript</code> element is not closed |
779 |
before the end of file.</h3></div> |
780 |
|
781 |
<div class="section" id="in-noscript:#text"><h3>Non‐white‐space characters are not allowed |
782 |
in a <code>noscript</code> element in the <code>head</code> |
783 |
element.</h3></div> |
784 |
|
785 |
<div class="section" id="in-PCDATA:#eof"><h3>Element is not closed before the end of |
786 |
file.</h3></div> |
787 |
|
788 |
<div class="section" id="in-select"><h3>Start tag <code><<var>{text}</var>></code> |
789 |
is not allowed in a <code>select</code> element.</h3></div> |
790 |
|
791 |
<div class="section" id="in-select:/"><h3>End tag <code></<var>{text}</var>></code> |
792 |
is not allowed in a <code>select</code> element.</h3></div> |
793 |
|
794 |
<div class="section" id="in-table"><h3>Start tag <code><<var>{text}</var>></code> |
795 |
is not allowed in a <code>table</code> element.</h3> |
796 |
<p>The start or end tag of an element, which |
797 |
cannot be a child of <code>table</code> element, appears |
798 |
in the input stream while the <code>table</code> element has been opened |
799 |
but no other element has been opened. The document is non-conforming.</p> |
800 |
|
801 |
<p>In <code>table</code>, only table related elements |
802 |
are allowed; any other element must be contained in |
803 |
<code>td</code> or <code>th</code> element to form |
804 |
a part of the table, or <code>caption</code> element to create |
805 |
a table caption.</p> |
806 |
</div> |
807 |
|
808 |
<div class="section" id="in-table:/"><h3>End tag <code></<var>{text}</var>></code> |
809 |
is not allowed in a <code>table</code> element.</h3></div> |
810 |
|
811 |
<div class="section" id="in-table:#text"><h3>Non‐white‐space character is not allowed within |
812 |
the <code>table</code> element, outside of the caption and cells.</h3> |
813 |
<p>A non‐white‐space character appears in <code>table</code>. |
814 |
The document is non-conforming.</p> |
815 |
|
816 |
<p>In <code>table</code>, only table related elements |
817 |
are allowed; any other element and data character must be contained in |
818 |
<code>td</code> or <code>th</code> element to form |
819 |
a part of the table, or <code>caption</code> element to create |
820 |
a table caption.</p> |
821 |
</div> |
822 |
|
823 |
<div class="section" id="isindex"><h3>The <code>isindex</code> element is |
824 |
obsolete.</h3></div> |
825 |
|
826 |
<div class="section" id="missing-start-tag:tr"><h3>Start tag of <code>tr</code> |
827 |
element is missing.</h3> |
828 |
<p>Start tag of a <code>tr</code> element, which is <em>not</em> |
829 |
optional, is missing. The document is non-conforming.</p> |
830 |
|
831 |
<p>In a table section, a <code><tr></code> start tag |
832 |
must occur before any <code><td></code> or |
833 |
<code><th></code> start tag. Though the HTML5 parser |
834 |
implies the <code><tr></code> start tag before |
835 |
these start tags, it must be explicitly specified.</p> |
836 |
</div> |
837 |
|
838 |
<div class="section" id="no-DOCTYPE"><h3>This document does not start with a |
839 |
<code>DOCTYPE</code>.</h3> |
840 |
<p>The document does not start with a <code>DOCTYPE</code>. |
841 |
The document is non-conforming.</p> |
842 |
|
843 |
<p>An HTML document must start by a <code>DOCTYPE</code>: |
844 |
<pre class="html example"> |
845 |
<code><!DOCTYPE HTML></code></pre> |
846 |
</p> |
847 |
|
848 |
<p>Only white space characters and comments are allowed |
849 |
before the <code>DOCTYPE</code>. XML declaration is <em>not</em> |
850 |
allowed in HTML document.</p> |
851 |
</div> |
852 |
|
853 |
<div class="section" id="not-closed"><h3>Element <code><var>{text}</var></code> is not |
854 |
closed.</h3> |
855 |
<p>End tag of an element is not found before, for example, |
856 |
an end tag of another element appears or |
857 |
the end of the document. The document is non-conforming.</p> |
858 |
|
859 |
<p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>, |
860 |
<code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>, |
861 |
<code>ol</code>, <code>option</code>, <code>optgroup</code>, |
862 |
<code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, |
863 |
<code>tbody</code>, <code>td</code>, <code>tfoot</code>, |
864 |
<code>th</code>, <code>thead</code>, <code>tr</code>, |
865 |
<code>ul</code> end tag can be omitted in HTML documents. |
866 |
For any element except for void element, there must be an explicit |
867 |
end tag.</p> |
868 |
|
869 |
<dl class="switch"> |
870 |
<dt>HTML <code>canvas</code> element</dt> |
871 |
<dd>Though the element is void in earlier versions of Safari, |
872 |
the <code>canvas</code> element is <em>no</em> longer |
873 |
defined as empty. There must be an end tag |
874 |
<code class="html example"></canvas></code>.</dd> |
875 |
</dl> |
876 |
|
877 |
<p>Note that misnesting tags, such as |
878 |
<code class="bad example"><a><b></a></b></code>, are not |
879 |
allowed and they also cause this error.</p> |
880 |
</div> |
881 |
|
882 |
<div class="section" id="not-first-start-tag"><h3>This <code><html></code> tag is not |
883 |
the first start tag.</h3> |
884 |
<p>There is a start tag of the <code>html</code> element |
885 |
that it not the first start tag in the input stream. |
886 |
The document is non-conforming.</p> |
887 |
|
888 |
<p>In an HTML document, there cannot be more than one |
889 |
<code>html</code> element and therefore there cannot be |
890 |
more than one <code><html></code> tag. In addition, |
891 |
nothing can be placed before the <code><html></code> tag |
892 |
except a <code>DOCTYPE</code>, white space characters, |
893 |
and comments.</p> |
894 |
</div> |
895 |
|
896 |
<div class="section" id="not-HTML5"><h3>This document is written in an old version of |
897 |
HTML.</h3> |
898 |
<p>The document contains a <code>DOCTYPE</code> declaration |
899 |
that is different from HTML5 <code>DOCTYPE</code> (i.e. |
900 |
<code class="example html"><!DOCTYPE HTML></code>). |
901 |
The document is non‐conforming.</p> |
902 |
|
903 |
<p>The document might or might not be conformant to |
904 |
some version of HTML. However, conformance to any HTML |
905 |
specification other than HTML5 provides for no practical |
906 |
convenience, since Web borwsers will parse any |
907 |
HTML document (roughly) as defined in HTML5.</p> |
908 |
</div> |
909 |
|
910 |
<div class="section" id="start-tag-not-allowed"><h3>Start tag <code><<var>{text}</var>></code> is |
911 |
not allowed here.</h3></div> |
912 |
|
913 |
<div class="section" id="unmatched-end-tag"><h3>Element <code><var>{text}</var></code> is not |
914 |
opened.</h3> |
915 |
<p>An end tag appears though no element with the same name |
916 |
has been opened. The document is non-conforming.</p> |
917 |
|
918 |
<p>For any end tag in HTML document, there must be a |
919 |
corresponding start tag.</p> |
920 |
|
921 |
<dl class="switch"> |
922 |
<dt>HTML <code>base</code>, <code>basefont</code>, |
923 |
<code>bgsound</code>, <code>br</code>, <code>col</code>, |
924 |
<code>embed</code>, <code>frame</code>, <code>hr</code>, |
925 |
<code>image</code>, <code>img</code>, <code>input</code>, |
926 |
<code>isindex</code>, <code>link</code>, <code>meta</code>, |
927 |
<code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt> |
928 |
<dd>End tag is not allowed for these elements, since |
929 |
those content must always be empty. Remove end tag.</dd> |
930 |
<!-- keygen --> |
931 |
<!-- command, event-source, nest, source --> |
932 |
</dl> |
933 |
</div> |
934 |
|
935 |
<div class="section" id="XSLT-compat"><h3><code>DOCTYPE</code> |
936 |
遺物文字列が使われています。</h3> |
937 |
<p>The <code>DOCTYPE</code> with the <code>DOCTYPE</code> legacy |
938 |
string, i.e. |
939 |
<code class="html bad example"><!DOCTYPE HTML PUBLIC "XSLT-compat"></code> |
940 |
is used.</p> |
941 |
|
942 |
<p>The <code>DOCTYPE</code> legacy string should not be used for documents |
943 |
<em>not</em> generated from XSLT transformation process. It is allowed |
944 |
only to enable to use XSLT style sheets with the HTML output mode, which |
945 |
does not support generation of the <code>DOCTYPE</code> with no |
946 |
<code>PUBLIC</code> |
947 |
identifier. For other purposes, the <code>DOCTYPE</code> legacy |
948 |
string, i.e. <code class="html bad example">PUBLIC "XSLT-compat"</code>, |
949 |
is useless and should not be used.</p> |
950 |
</div> |
951 |
|
952 |
</section> |
953 |
|
954 |
<section id="element-content-model-errors"> |
955 |
<h2>Element Content Model Errors</h2> |
956 |
|
957 |
<div class="section" id="basehref-after-URL-attribute"><h3>The <code>base</code> element with the |
958 |
<code>href</code> attribute specified cannot be placed after |
959 |
any attribute with a URL.</h3></div> |
960 |
|
961 |
<div class="section" id="basetarget-after-hyperlink"><h3>The <code>base</code> element with the |
962 |
<code>target</code> attribute specified cannot be placed after |
963 |
any element that defines a hyperlink.</h3></div> |
964 |
|
965 |
<div class="section" id="character-not-allowed"><h3>Data character is not allowed in this |
966 |
context.</h3> |
967 |
<p>A data character appears where it is not allowed in this |
968 |
context. The document is non-conforming.</p> |
969 |
|
970 |
<p>Possible causes: |
971 |
<ul> |
972 |
<li><p>A data character cannot be a child |
973 |
of certain sectioning elements such as <code>body</code>, |
974 |
<code>section</code>, and <code>blockquote</code>.</p> |
975 |
|
976 |
<p>Any inline-level content must be put |
977 |
in e.g. paragraph element such as <code>p</code>.</p></li> |
978 |
<li><p>Though some elements such as <code>div</code>, |
979 |
<code>li</code>, and <code>td</code> allow |
980 |
<em>either one</em> of block-level or inline-level content |
981 |
is allowed. If there is a block-level content, |
982 |
any inline-level content must be put |
983 |
in e.g. paragraph element such as <code>p</code>.</p></li> |
984 |
</ul> |
985 |
</p> |
986 |
</div> |
987 |
|
988 |
<div class="section" id="character-not-allowed:empty"><h3>Non‐white‐space characters are not allowed in |
989 |
an empty element.</h3></div> |
990 |
|
991 |
<div class="section" id="character-not-allowed:atom|PersonConstruct"><h3>Non‐white‐space characters are not allowed in |
992 |
Person construct.</h3></div> |
993 |
|
994 |
<div class="section" id="character-not-allowed:atom|TextConstruct"><h3>Non‐white‐space characters are not allowed in |
995 |
Text construct.</h3></div> |
996 |
|
997 |
<div class="section" id="child-element-missing"><h3>There must be an element |
998 |
<code><var>{text}</var></code> as a child of this element.</h3> |
999 |
<p>The content model of the element is so defined that it |
1000 |
must contain a <code><var>$0</var></code> child element. |
1001 |
The document is non-conforming.</p> |
1002 |
|
1003 |
<dl class="switch"> |
1004 |
<dt>HTML <code>head</code> element</dt> |
1005 |
<dd>There must be a <code>title</code> child element.</dd> |
1006 |
<dt>HTML <code>html</code> element</dt> |
1007 |
<dd>There must be a <code>head</code> child element followed |
1008 |
by a <code>body</code> element.</dd> |
1009 |
<dt>HTML <code>tr</code> element</dt> |
1010 |
<dd><a href="#child-element-missing:td%7Cth">There must be |
1011 |
one or more <code>td</code> or <code>th</code> child element.</a></dd> |
1012 |
</dl> |
1013 |
</div> |
1014 |
|
1015 |
<div class="section" id="child-element-missing:td|th"><h3>There must be a <code>td</code> |
1016 |
or <code>th</code> element as a child of this element.</h3> |
1017 |
<p>The <code>tr</code> element must contain at least one |
1018 |
<code>td</code> or <code>th</code> child element. The document |
1019 |
is non-conforming.</p> |
1020 |
</div> |
1021 |
|
1022 |
<div class="section" id="child-element-missing:atom"><h3>There must be an element |
1023 |
<code><var>{text}</var></code> in the Atom namespace as a child of this |
1024 |
element.</h3></div> |
1025 |
|
1026 |
<div class="section" id="child-element-missing:atom:link:alternate"><h3>There must be an Atom <code>link</code> element |
1027 |
whose <code>rel</code> attribute is set to <code>alternate</code> as a |
1028 |
child of this element.</h3></div> |
1029 |
|
1030 |
<div class="section" id="child-element-missing:atom:link:self"><h3>There should be an Atom <code>link</code> element |
1031 |
whose <code>rel</code> attribute is set to <code>self</code> as a |
1032 |
child of this element.</h3></div> |
1033 |
|
1034 |
<div class="section" id="element-missing:hn"><h3>There must be at least one |
1035 |
<code>h<var>n</var></code> element descendant.</h3></div> |
1036 |
|
1037 |
<div class="section" id="element-not-allowed"><h3>This element is not allowed in this |
1038 |
context.</h3> |
1039 |
<p>An element appears where it is not allowed. The document |
1040 |
is non-conforming.</p> |
1041 |
|
1042 |
<p>Possible causes: |
1043 |
<dl class="switch"> |
1044 |
<dt>If the element with the error is an inline-level element, |
1045 |
such as <code>a</code>, <code>progress</code>, or <code>img</code></dt> |
1046 |
<dd><p>An inline-level element cannot be a child |
1047 |
of certain sectioning elements such as <code>body</code>, |
1048 |
<code>section</code>, and <code>blockquote</code>.</p> |
1049 |
|
1050 |
<p>Any inline-level content must be put |
1051 |
in e.g. paragraph element such as <code>p</code>.</p></dd> |
1052 |
<dt>If it is a block-level elements, such as <code>aside</code>, |
1053 |
<code>div</code>, <code>h<var>n</var></code>, |
1054 |
<code>p</code>, or <code>section</code></dt> |
1055 |
<dd><dl class="switch"> |
1056 |
<dt>If the parent element is <code>div</code>, |
1057 |
<code>li</code>, <code>td</code>, or <code>th</code></dt> |
1058 |
<!-- @@ TODO: more... --> |
1059 |
<!-- @@ TODO: <p><ul><li><p> --> |
1060 |
<dd><p>The parent element allows <em>either</em> |
1061 |
block-level or inline-level content. If there is a |
1062 |
block-level content, any inline-level content must be |
1063 |
put in e.g. paragraph element such as <code>p</code>.</p> |
1064 |
<p>For example, an HTML document fragment |
1065 |
<code class="html bad example"><div><p>Hello!</p> World!</div></code> |
1066 |
is non-conforming, since a word <q>World!</q> does not belong |
1067 |
to any paragraph. (If not part of any paragraph, what is |
1068 |
it!?) A conforming example would be: |
1069 |
<pre class="html example"> |
1070 |
<code><div><p>Hello!</p> <p>World!</p></div></code></pre> |
1071 |
</p></dd> |
1072 |
<dt>If the parent element does <em>not</em> allow |
1073 |
block-level elements as content</dt> |
1074 |
<dd>The element is not allowed to be inserted here. |
1075 |
For example, a <code>div</code> element cannot be |
1076 |
a child of an <code>h1</code> element.</dd> |
1077 |
</dl></dd> |
1078 |
<dt>If the element with the error is a <code>noscript</code> element</dt> |
1079 |
<dd>The <code>noscript</code> element is allowed only in the context |
1080 |
where a block-level or inline-level content is expected |
1081 |
and in the <code>head</code> element. |
1082 |
It cannot be used in e.g. <code>ul</code>, <code>table</code>, |
1083 |
or <code>select</code>.</dd> |
1084 |
<dt>If the element with the error is <code>blink</code>, |
1085 |
<code>center</code>, or <code>marquee</code> element</dt> |
1086 |
<dd>These elements are not part of the HTML standard. |
1087 |
Use CSS for styling control.</dd> |
1088 |
|
1089 |
<dt><code>button</code>, <code>datalist</code>, |
1090 |
<code>fieldset</code>, <code>form</code>, |
1091 |
<code>input</code>, <code>label</code>, |
1092 |
<code>optgroup</code>, <code>option</code>, <code>output</code>, |
1093 |
<code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>, |
1094 |
<code>textarea</code>, or <code>textarea</code> element</dt> |
1095 |
<!-- rbc, rtc ? --> |
1096 |
<dd>These elements are intentionally not supported by the conformance |
1097 |
checker <em>yet</em>.</dd> |
1098 |
</dl> |
1099 |
</p> |
1100 |
</div> |
1101 |
|
1102 |
<div class="section" id="element-not-allowed:area"><h3>An <code>area</code> element cannot be used |
1103 |
outside of a <code>map</code> element.</h3></div> |
1104 |
|
1105 |
<div class="section" id="element-not-allowed:base"><h3>There is another <code>base</code> |
1106 |
element.</h3></div> |
1107 |
|
1108 |
<div class="section" id="element-not-allowed:datatemplate"><h3>In a <code>datatemplate</code> element, only |
1109 |
<code>rule</code> elements are allowed.</h3></div> |
1110 |
|
1111 |
<div class="section" id="element-not-allowed:details-legend"><h3>In a <code>details</code> or <code>fieldset</code> |
1112 |
element, only at the beginning of the element a <code>legend</code> element |
1113 |
may be used.</h3></div> |
1114 |
|
1115 |
<div class="section" id="element-not-allowed:empty"><h3>Elements are not allowed in an empty |
1116 |
element.</h3></div> |
1117 |
|
1118 |
<div class="section" id="element-not-allowed:figure-legend"><h3>In a <code>figure</code> element, only at the |
1119 |
beginning or only at the end of the element a <code>lengend</code> element |
1120 |
may be used.</h3></div> |
1121 |
|
1122 |
<div class="section" id="element-not-allowed:flow"><h3>This element is not allowed where flow |
1123 |
content is expected.</h3></div> |
1124 |
|
1125 |
<div class="section" id="element-not-allowed:flow-style"><h3>A <code>style</code> element without |
1126 |
<code>scoped</code> attribute is not allowed in this context.</h3></div> |
1127 |
|
1128 |
<div class="section" id="element-not-allowed:head-noscript"><h3>This element is not allowed in a |
1129 |
<code>noscript</code> element in the <code>head</code> element.</h3></div> |
1130 |
|
1131 |
<div class="section" id="element-not-allowed:head-style"><h3>A <code>style</code> element with |
1132 |
<code>scoped</code> attribute is not allowed in the <code>head</code> |
1133 |
element.</h3></div> |
1134 |
|
1135 |
<div class="section" id="element-not-allowed:head-title"><h3>There is another <code>title</code> |
1136 |
element.</h3></div> |
1137 |
|
1138 |
<div class="section" id="element-not-allowed:minus"><h3>This element is not allowed in this |
1139 |
context.</h3></div> |
1140 |
|
1141 |
<div class="section" id="element-not-allowed:meta-charset"><h3>文字符号化宣言が <code>head</code> |
1142 |
要素の最初の子要素ではありません。</h3> |
1143 |
<p>The character encoding declaration |
1144 |
(<code class="html example"><meta charset="<var>...</var>"></code> or |
1145 |
<code class="html example"><meta http-equiv=Content-Type content="text/html; charset=<var>...</var>"></code> |
1146 |
must be the first child element in the <code>head</code> element.</p> |
1147 |
|
1148 |
<p>The character encoding declaration have to occur near the beginning |
1149 |
of the document to ensure that Web browsers can be determine the |
1150 |
character encoding of the document.</p> |
1151 |
|
1152 |
<p>The <code>title</code> element and other metadata elements must |
1153 |
appear after any character encoding declaration is processed.</p> |
1154 |
</div> |
1155 |
|
1156 |
<div class="section" id="element-not-allowed:metadata"><h3>This element is not allowed where metadata |
1157 |
content is expected.</h3></div> |
1158 |
|
1159 |
<div class="section" id="element-not-allowed:phrasing"><h3>This element is not allowed where phrasing |
1160 |
content is expected.</h3></div> |
1161 |
|
1162 |
<div class="section" id="element-not-allowed:root"><h3>This element is not allowed as the root |
1163 |
element of a document.</h3> |
1164 |
<p>An element that is not allowed as the root element |
1165 |
is used as the root element of the document. The document is |
1166 |
non-conforming, as far as the conformance checker can tell.</p> |
1167 |
|
1168 |
<dl class="switch"> |
1169 |
<dt><code>html</code> element in an XHTML document</dt> |
1170 |
<dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code> |
1171 |
element must have an <code>xmlns</code> attribute as: |
1172 |
<pre class="xml example"> |
1173 |
<code><html xmlns="http://www.w3.org/1999/xhtml"></code></pre></p></dd> |
1174 |
<dt><code>rss</code> element</dt> |
1175 |
<dd><p>The document is written in some version of RSS.</p> |
1176 |
<p>The conformance checker does not support any version |
1177 |
of RSS. Use Atom 1.0 for feed documents.</p></dd> |
1178 |
<dt><code>feed</code> element</dt> |
1179 |
<dd><p>The Atom <code>feed</code> element must be |
1180 |
in the <code>http://www.w3.org/2005/Atom</code> |
1181 |
namespace as: |
1182 |
<pre class="xml example"> |
1183 |
<code><feed xmlns="http://www.w3.org/2005/Atom"></code></pre> |
1184 |
</p> |
1185 |
<p>The conformance checker does not support Atom 0.3. |
1186 |
Use Atom 1.0 for feed documents.</p></dd> |
1187 |
</dl> |
1188 |
</div> |
1189 |
|
1190 |
<div class="section" id="element-not-allowed:root:xml"><h3>This element is not allowed as the root element |
1191 |
of an XML document.</h3></div> |
1192 |
|
1193 |
<div class="section" id="element-not-allowed:ruby-base"><h3>This element is not allowed in the <code>ruby</code> |
1194 |
element.</h3></div> |
1195 |
|
1196 |
<div class="section" id="element-not-allowed:text"><h3>This element is not allowed in this |
1197 |
context.</h3></div> |
1198 |
|
1199 |
<div class="section" id="element-not-allowed:atom|content"><h3>This element is not allowed in an Atom |
1200 |
<code>content</code> element.</h3></div> |
1201 |
|
1202 |
<div class="section" id="element-not-allowed:atom|PersonConstruct"><h3>This element is not allowed in Person |
1203 |
construct.</h3></div> |
1204 |
|
1205 |
<div class="section" id="element-not-allowed:atom|TextConstruct"><h3>This element is not allowed in Text |
1206 |
construct.</h3></div> |
1207 |
|
1208 |
<div class="section" id="element-not-defined"><h3>この要素は定義されていません。</h3> |
1209 |
<p>The element is not one of elements allowed |
1210 |
in the latest version of relevant specifications.</p> |
1211 |
|
1212 |
<p>The element cannot be used.</p> |
1213 |
|
1214 |
<dl class="switch"> |
1215 |
<dt><code>event-source</code> element</dt> |
1216 |
<dd>The element was renamed as <em><code>eventsource</code> |
1217 |
element</em> (no hyphen).</dd> |
1218 |
<dt><code>m</code> element</dt> |
1219 |
<dd>The element was renamed as <em><code>mark</code> |
1220 |
element</em>.</dd> |
1221 |
</dl> |
1222 |
</div> |
1223 |
|
1224 |
<div class="section" id="multiple-labelable-fae"><h3>More than one labelable form-associated element |
1225 |
is associated to a <code>label</code> element.</h3></div> |
1226 |
|
1227 |
<div class="section" id="no-significant-content"><h3>No significant content is contained |
1228 |
in this element.</h3></div> |
1229 |
|
1230 |
<div class="section" id="no-significant-content-before"><h3>There is no significant content |
1231 |
before this element.</h3></div> |
1232 |
|
1233 |
<div class="section" id="no-significant-content-at-the-end"><h3>No significant content is contained |
1234 |
at the end of this element.</h3></div> |
1235 |
|
1236 |
<div class="section" id="ps-element-missing"><h3>There is no <code><var>{text}</var></code> |
1237 |
element before this element.</h3> |
1238 |
<p>There must be an element before another element, but there |
1239 |
is not. The document is non-conforming.</p> |
1240 |
|
1241 |
<p>For example, there must be a <code>dt</code> element |
1242 |
before any <code>dd</code> element.</p> |
1243 |
</div> |
1244 |
|
1245 |
<div class="section" id="rp:syntax-error"><h3>The content of a <code>rp</code> element must |
1246 |
be a parenthesis.</h3></div> |
1247 |
|
1248 |
</section> |
1249 |
|
1250 |
<section id="attribute-errors"> |
1251 |
<h2>Attribute Errors</h2> |
1252 |
|
1253 |
<div class="section" id="attribute-missing"><h3>Required attribute <code><var>{text}</var></code> |
1254 |
is not specified.</h3> |
1255 |
<p>A required attribute is not specified. The document |
1256 |
is non-conforming.</p> |
1257 |
|
1258 |
<p>Some attribute is defined as <i>required</i>. |
1259 |
Without required attributes specified, user agents |
1260 |
cannot provide full functionality of the element to the user.</p> |
1261 |
|
1262 |
<dl class="switch"> |
1263 |
<dt>HTML <code>img</code> element</dt> |
1264 |
<dd>The <code>src</code> attribute must be specified. |
1265 |
Additionally, the <code>alt</code> attribute must be specified |
1266 |
in many cases.</dd> |
1267 |
<dt>HTML <code>link</code> element</dt> |
1268 |
<dd>The <code>rel</code> attribute must be specified. |
1269 |
Note that the <code>rev</code> attribute is obsolete.</dd> |
1270 |
</dl> |
1271 |
</div> |
1272 |
|
1273 |
<div class="section" id="attribute-missing:data|type"><h3>For an <code>object</code> at least one of |
1274 |
<code>data</code> and <code>type</code> attributes must be |
1275 |
specified.</h3></div> |
1276 |
|
1277 |
<div class="section" id="attribute-missing:href|target"><h3>For a <code>base</code> element, at least one of |
1278 |
<code>href</code> and <code>target</code> attributes must be |
1279 |
specified.</h3></div> |
1280 |
|
1281 |
<div class="section" id="attribute-missing:name|http-equiv"><h3>For a <code>meta</code> element with the |
1282 |
<code>content</code> attribute specified, exactly one of |
1283 |
<code>name</code> and <code>http-equiv</code> attributes must be |
1284 |
specified.</h3></div> |
1285 |
|
1286 |
<div class="section" id="attribute-missing:name|http-equiv|charset"><h3>For a <code>meta</code> element, exactly one of |
1287 |
<code>name</code>, <code>http-equiv</code>, and <code>charset</code> |
1288 |
attributes must be specified.</h3></div> |
1289 |
|
1290 |
<div class="section" id="attribute-not-allowed"><h3>Attribute |
1291 |
<code><var>{local-name}</var></code> is not allowed for |
1292 |
<code><var>{element-local-name}</var></code> element.</h3> |
1293 |
<p>An attribute is specified where it is not allowed. |
1294 |
The document is non-conforming.</p> |
1295 |
|
1296 |
<dl> |
1297 |
<dt>HTML <code>meta</code> element</dt> |
1298 |
<dd>For HTML <code>meta</code> element, <em>only one</em> of |
1299 |
<code>name</code>, <code>http-equiv</code>, or <code>charset</code> |
1300 |
attribute is allowed.</dd> |
1301 |
</dl> |
1302 |
</div> |
1303 |
|
1304 |
<div class="section" id="attribute-not-allowed:ismap"><h3>The <code>ismap</code> attribute may only be |
1305 |
used for the image contained in an <code>a</code> element.</h3></div> |
1306 |
|
1307 |
<div class="section" id="attribute-not-defined"><h3>この属性は定義されていません。</h3> |
1308 |
<p>The attribute is not one of attributes allowed for the element |
1309 |
in the latest version of relevant specifications.</p> |
1310 |
|
1311 |
<p>The attribute cannot be used.</p> |
1312 |
|
1313 |
<dl class="switch"> |
1314 |
<dt><code>align</code> attribute (various HTML elements)</dt> |
1315 |
<dt><code>border</code> attribute (various HTML elements)</dt> |
1316 |
<dd>These attributes are no longer part of HTML. You can use CSS |
1317 |
properties to control the presentation of the element.</dd> |
1318 |
<dt><code>autosubmit</code> attribute (<code>menu</code> element)</dt> |
1319 |
<dd>The attribute was part of HTML5 draft but then dropped. |
1320 |
Similar functionality can be implemented by scripts.</dd> |
1321 |
<dt><code>language</code> attribute (<code>script</code> element)</dt> |
1322 |
<dd>The attribute is no longer the standard way to specify the |
1323 |
scripting language. If you are using JavaScript, then no explicit |
1324 |
specification of the scripting language is necessary, so you can |
1325 |
write the element like: |
1326 |
<p><code class="html example code"><script><br><!-- |
1327 |
--> /* JavaScript code */<br><!-- |
1328 |
--></script></code></p> |
1329 |
If you are using different scripting language from JavaScript, or |
1330 |
you want to declare the scripting language explicitly, you should |
1331 |
use the <code>type</code> attribute, as follows: |
1332 |
<dl class="switch"> |
1333 |
<dt>JavaScript</dt> |
1334 |
<dd>Use |
1335 |
<code class="html example"><script type="text/javascript"></code>.</dd> |
1336 |
<dt>VBScript</dt> |
1337 |
<dd>Use |
1338 |
<code class="html example"><script type="text/vbscript"></code>.</dd> |
1339 |
</dl> |
1340 |
</dd> |
1341 |
</dl> |
1342 |
</div> |
1343 |
|
1344 |
<div class="section" id="_charset_-value"><h3>The <code>value</code> attribute cannot be |
1345 |
specified to an <code>input</code> element whose <code>type</code> |
1346 |
is <code>hidden</code> and <code>name</code> is |
1347 |
<code>_charset_</code>.</h3></div> |
1348 |
|
1349 |
<div class="section" id="in-HTML:xml:lang"><h3>The <code>xml:lang</code> attribute in HTML |
1350 |
document is ignored.</h3> |
1351 |
<p>The <code>xml:lang</code> attribute does not have an effect in |
1352 |
HTML document.</p> |
1353 |
|
1354 |
<p>The <code>xml:lang</code> attribute is only applicable to XML |
1355 |
documents. In HTML document, it is only allowed to ease migration |
1356 |
from XML.</p> |
1357 |
|
1358 |
<p>To specify natural language information in HTML document, |
1359 |
use <code>lang</code> attribute instead.</p> |
1360 |
|
1361 |
<p>XHTML 1.0 Appendix C was encouraged to specify both |
1362 |
<code>lang</code> and <code>xml:lang</code> attributes with |
1363 |
the same value. Such a duplication has <em>no effect</em> in practice. |
1364 |
Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in |
1365 |
XML).</p> |
1366 |
|
1367 |
<!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created |
1368 |
from an HTML document? --> |
1369 |
</div> |
1370 |
|
1371 |
<div class="section" id="in-XML:charset"><h3>The <code>charset</code> attribute is not |
1372 |
allowed in XML document.</h3> |
1373 |
<p>The <code>charset</code> attribute of a |
1374 |
<code>meta</code> element is not allowed in XML document. |
1375 |
The document is non-conforming.</p> |
1376 |
|
1377 |
<p>To specify the character encoding used for serialization, |
1378 |
if necessary, use XML declaration instead: |
1379 |
<pre class="xml example"> |
1380 |
<code><?xml version="1.0" encoding="<var>encoding-name</var>"?></code></pre> |
1381 |
</p> |
1382 |
</div> |
1383 |
|
1384 |
<div class="section" id="in-XML:noscript"><h3>A <code>noscript</code> element cannot be |
1385 |
used in XML document.</h3></div> |
1386 |
|
1387 |
<div class="section" id="in-XML:xml:lang"><h3>名前空間に属さない <code>xml:lang</code> |
1388 |
属性が認められているのは HTML 文書中だけです。</h3></div> |
1389 |
|
1390 |
<div class="section" id="in-XML:xmlns"><h3>The <code>xmlns</code> attribute |
1391 |
in the <code>null</code> namespace is not allowed in |
1392 |
XHTML document. The document is non-conforming.</h3> |
1393 |
<p>The <code>xmlns</code> attribute in the <code>null</code> |
1394 |
namespace is not allowed in XHTML document.</p> |
1395 |
|
1396 |
<p>This error should not occur in conformance-checking of |
1397 |
static documents.</p> |
1398 |
</div> |
1399 |
|
1400 |
<div class="section" id="input-attr-not-applicable"><h3>This attribute is not applied to an |
1401 |
<code>input</code> element whose <code>type</code> is |
1402 |
<code><var>{text}</var></code>.</h3></div> |
1403 |
|
1404 |
<div class="section" id="non-ol-li-value"><h3>The <code>value</code> attribute cannot be |
1405 |
specified to a <code>li</code> element whose parent element is |
1406 |
not an <code>ol</code> element.</h3></div> |
1407 |
|
1408 |
<div class="section" id="xml:lang-not-allowed"><h3><code>xml:lang</code> 属性を指定できるのは |
1409 |
<code>lang</code> 属性が指定されている時だけです。</h3></div> |
1410 |
|
1411 |
</section> |
1412 |
|
1413 |
<section id="attribute-value-errors"> |
1414 |
<h2>Attribute Value Errors</h2> |
1415 |
|
1416 |
<div class="section" id="boolean:invalid"><h3>Attribute value <code><var>{@}</var></code> |
1417 |
is not allowed. It must be an empty string or a string |
1418 |
<code><var>{local-name}</var></code>.</h3></div> |
1419 |
|
1420 |
<div class="section" id="char:syntax-error"><h3>The attribute value must be exactly one |
1421 |
character.</h3></div> |
1422 |
|
1423 |
<div class="section" id="charref-in-charset"><h3>A character reference cannot be used to |
1424 |
represent a character encoding name.</h3></div> |
1425 |
|
1426 |
<div class="section" id="charset:not-ascii-compat"><h3>文字符号化 <code><var>{value}</var></code> |
1427 |
は ASCII 互換ではありません。</h3></div> |
1428 |
|
1429 |
<div class="section" id="charset:not-preferred"><h3>Character encoding name |
1430 |
<code><var>{value}</var></code> is not the preferred name of that |
1431 |
character encoding.</h3></div> |
1432 |
|
1433 |
<div class="section" id="charset:not-registered"><h3>Character encoding name |
1434 |
<code><var>{value}</var></code> is not a registered name.</h3> |
1435 |
<p>The specified character encoding name is not registered to |
1436 |
<abbr>IANA</abbr>. Use of registered character encoding name |
1437 |
is a good practice to facilitate interoperability.</p> |
1438 |
|
1439 |
<dl class="switch"> |
1440 |
<dt><code>EUC-TW</code></dt> |
1441 |
<dd><code>EUC-TW</code> is not registered. Unfortunately, there |
1442 |
is no registered name for that character encoding. Use |
1443 |
Big5 encoding with character encoding name <code>Big5</code> |
1444 |
if it is enough to represent the document.</dd> |
1445 |
<dt><code>ISO-2022-JP-1</code></dt> |
1446 |
<dd><code>ISO-2022-JP-1</code> is not registered, nevertheless |
1447 |
this character encoding name is documented in |
1448 |
<a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>. Use |
1449 |
<code>ISO-2022-JP-2</code> instead, since that character encoding |
1450 |
is a superset of ISO-2022-JP-1.</dd> |
1451 |
<dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt> |
1452 |
<dd>These names are not registered and obsoleted in favor of |
1453 |
<code>ISO-2022-JP-2004</code> and |
1454 |
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1455 |
<dt><code>ISO-2022-JP-2003</code>, |
1456 |
<code>ISO-2022-JP-2003-plane1</code></dt> |
1457 |
<dd>These names are not registered and corrected to |
1458 |
<code>ISO-2022-JP-2004</code> and |
1459 |
<code>ISO-2022-JP-2004-plane1</code>.</dd> |
1460 |
<dt><code>ISO-2022-JP-2004</code>, |
1461 |
<code>ISO-2022-JP-2004-plane1</code></dt> |
1462 |
<dd>These names are not registered. Unfortunately, there is |
1463 |
no registered name for these character encodings.</dd> |
1464 |
<dt><code>UTF-8N</code></dt> |
1465 |
<dd><code>UTF-8N</code> is not registered. Character encoding |
1466 |
name <code>UTF-8</code> represents UTF-8 encoding with or |
1467 |
without <abbr>BOM</abbr>.</dd> |
1468 |
</dl> |
1469 |
|
1470 |
<p><strong>WARNING</strong>: This error might be raised for |
1471 |
a registered character encoding name, since the character encoding |
1472 |
name database of the conformance checker is not complete yet.</p> |
1473 |
</div> |
1474 |
|
1475 |
<div class="section" id="charset:private"><h3>Character encoding name |
1476 |
<code><var>{value}</var></code> is a private name.</h3> |
1477 |
<p>The specified character encoding name is a private name and |
1478 |
not registered to <abbr>IANA</abbr>. Use of registered character |
1479 |
encoding name is a good practice to facilitate interoperability.</p> |
1480 |
|
1481 |
<dl class="switch"> |
1482 |
<dt><code>x-euc-jp</code></dt> |
1483 |
<dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr> |
1484 |
character encoding.</dd> |
1485 |
<dt><code>x-sjis</code></dt> |
1486 |
<dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of |
1487 |
<abbr>JIS</abbr> coded character set, or <code>Windows-31J</code> |
1488 |
for Microsoft standard character set as implemented by |
1489 |
Microsoft Windows.</dd> |
1490 |
</dl> |
1491 |
</div> |
1492 |
|
1493 |
<div class="section" id="charset:syntax-error"><h3>The specified value <code><var>{value}</var></code> |
1494 |
is syntactically not a character encoding name.</h3> |
1495 |
<p>The attribute value must be a character encoding name. However, |
1496 |
the specified value is not a character encoding name syntactically. |
1497 |
The document is non‐conforming.</p> |
1498 |
<p>Character encoding name is a string of <abbr>ASCII</abbr> |
1499 |
printable characters, up to 40 characters.</p> |
1500 |
</div> |
1501 |
|
1502 |
<div class="section" id="color:syntax-error"><h3>The specified value is not a color |
1503 |
name or hexadecimal color number.</h3></div> |
1504 |
|
1505 |
<div class="section" id="coords:number-not-3"><h3>The <code>coords</code> attribute have to |
1506 |
contain three (3) numbers (specified: |
1507 |
<code><var>{text}</var></code>).</h3></div> |
1508 |
|
1509 |
<div class="section" id="coords:number-not-4"><h3>The <code>coords</code> attribute have to |
1510 |
contain four (4) numbers (specified: |
1511 |
<code><var>{text}</var></code>).</h3></div> |
1512 |
|
1513 |
<div class="section" id="coords:number-lt-6"><h3>The <code>coords</code> attribute have to |
1514 |
contain more than or equal to six (6) numbers (specified: |
1515 |
<code><var>{text}</var></code>).</h3></div> |
1516 |
|
1517 |
<div class="section" id="coords:number-not-even"><h3>The <code>coords</code> attribute have to |
1518 |
contain even number of numbers (specified: |
1519 |
<code><var>{text}</var></code>).</h3></div> |
1520 |
|
1521 |
<div class="section" id="coords:out-of-range"><h3>The specified value <code><var>{value}</var></code> |
1522 |
is out of range.</h3></div> |
1523 |
|
1524 |
<div class="section" id="coords:syntax-error"><h3>The specified value is not valid.</h3></div> |
1525 |
|
1526 |
<div class="section" id="datetime:bad-year"><h3>年の値が値域外です。</h3></div> |
1527 |
|
1528 |
<div class="section" id="datetime:bad-month"><h3>月の値が値域外です。</h3></div> |
1529 |
|
1530 |
<div class="section" id="datetime:bad-day"><h3>日の値が値域外です。</h3></div> |
1531 |
|
1532 |
<div class="section" id="datetime:bad-hour"><h3>時の値が値域外です。</h3></div> |
1533 |
|
1534 |
<div class="section" id="datetime:bad-minute"><h3>分の値が値域外です。</h3></div> |
1535 |
|
1536 |
<div class="section" id="datetime:bad-second"><h3>秒の値が値域外です。</h3></div> |
1537 |
|
1538 |
<div class="section" id="datetime:bad-timezone-hour"><h3>時間帯の部分の時の値が値域外です。</h3></div> |
1539 |
|
1540 |
<div class="section" id="datetime:bad-timezone-minute"><h3>時間帯の部分の分の値が値域外です。</h3></div> |
1541 |
|
1542 |
<div class="section" id="datetime:syntax-error"><h3>値が日時ではありません。</h3></div> |
1543 |
|
1544 |
<div class="section" id="dateortime:syntax-error"><h3>値が日付か時刻ではありません。</h3></div> |
1545 |
|
1546 |
<div class="section" id="empty-form-name"><h3>フォーム名が空です。</h3></div> |
1547 |
|
1548 |
<div class="section" id="enumerated:invalid"><h3>This attribute only allow a limited set of |
1549 |
values and the specified value <code><var>{@}</var></code> is not one |
1550 |
of them.</h3> |
1551 |
<p>For this attribute only several values are allowed and the |
1552 |
value of the attribute is not one of them. The document |
1553 |
is non-conforming.</p> |
1554 |
|
1555 |
<dl> |
1556 |
<dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt> |
1557 |
<dd><p>Only values <code>Default-Style</code> and <code>Refresh</code> |
1558 |
are allowed.</p> |
1559 |
<p>Value <code>Content-Type</code> is obsolete; for charset |
1560 |
declaration, the <code>charset</code> attribute can be used as: |
1561 |
<pre class="html example"> |
1562 |
<code><meta charset="<var>charset-name</var>"></code></pre> |
1563 |
... where <var>charset-name</var> is a name of the character encoding |
1564 |
of the document, such as <code>utf-8</code>.</p> |
1565 |
<p>Values <code>Content-Style-Type</code> and |
1566 |
<code>Content-Script-Type</code> are currently not allowed.</p> |
1567 |
<p>Value <code>Keywords</code> is not allowed. Use |
1568 |
<code>name</code> attribute instead of <code>http-equiv</code> |
1569 |
attribute.</p> |
1570 |
<p>Values <code>Expires</code>, <code>Pragma</code>, |
1571 |
and <code>Cache-Control</code> are not allowed; |
1572 |
use <em>real</em> HTTP header fields for cache control.</p></dd> |
1573 |
</dl> |
1574 |
</div> |
1575 |
|
1576 |
<div class="section" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax |
1577 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1578 |
is obsolete.</h3> |
1579 |
<p>Old long character encoding declaration syntax |
1580 |
<code class="html bad example"><meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code> |
1581 |
is in use. The document is non‐conforming.</p> |
1582 |
|
1583 |
<p>The new character encoding declaration syntax is: |
1584 |
<pre class="html example"> |
1585 |
<code><meta charset="<var>charset-name</var>"></code></pre> |
1586 |
</p> |
1587 |
</div> |
1588 |
|
1589 |
<div class="section" id="enumerated:non-conforming"><h3>Attribute value <code><var>{@}</var></code> |
1590 |
is not allowed.</h3></div> |
1591 |
|
1592 |
<div class="section" id="duplicate-form-name"><h3>Form name <code><var>{value}</var></code> is already |
1593 |
used for another element.</h3></div> |
1594 |
|
1595 |
<div class="section" id="duplicate-http-equiv"><h3>There is another pragma |
1596 |
<code><var>{value}</var></code>.</h3></div> |
1597 |
|
1598 |
<div class="section" id="duplicate-ID"><h3>This identifier has already been |
1599 |
assigned to another element.</h3></div> |
1600 |
|
1601 |
<div class="section" id="duplicate-token"><h3>The token <code><var>{value}</var></code> |
1602 |
appears in the attribute value twice.</h3></div> |
1603 |
|
1604 |
<div class="section" id="empty-anchor-image-alt"><h3>The <code>alt</code> attribute value is |
1605 |
empty.</h3></div> |
1606 |
|
1607 |
<div class="section" id="empty-area-alt"><h3><code>alt</code> 属性値が空です。</h3> |
1608 |
<p>The value of the <code>alt</code> attribute of an <code>area</code> |
1609 |
element is an empty value.</p> |
1610 |
|
1611 |
<p>In general, the <code>alt</code> attribute value cannot be empty. |
1612 |
It must provide an alternative text for the hyperlink represented by |
1613 |
the <code>area</code> element. The alternative text is to be used |
1614 |
when the Web browser cannot display the image, or is configured not |
1615 |
to display images.</p> |
1616 |
|
1617 |
<p>As an exception, the <code>alt</code> attribute may be left blank |
1618 |
if the same image map (i.e. the ancestor <code>map</code> element) |
1619 |
contains another <code>area</code> element whose <code>href</code> |
1620 |
attribute references the same resource as the <code>href</code> |
1621 |
attribute of the <code>area</code> element in question, and the other |
1622 |
<code>area</code> element has an <code>alt</code> attribute with |
1623 |
non‐empty value.</p> |
1624 |
</div> |
1625 |
|
1626 |
<div class="section" id="empty-attribute-value"><h3>属性値が空です。</h3></div> |
1627 |
|
1628 |
<div class="section" id="empty-style-sheet-title"><h3><code>title</code> 属性の値が空です。</h3> |
1629 |
<p>The <code>title</code> attribute value of the <code>link</code> |
1630 |
element that defines an alternate style sheet is an empty value.</p> |
1631 |
|
1632 |
<p>A <code>link</code> element whose <code>rel</code> attribute |
1633 |
is <code>alternate stylesheet</code> defines an alternate style sheet. |
1634 |
An alternate style sheet must be associated with a name using the |
1635 |
<code>title</code> attribute. The name cannot be empty.</p> |
1636 |
</div> |
1637 |
|
1638 |
<div class="section" id="float:out-of-range"><h3>The specified value is out of range.</h3></div> |
1639 |
|
1640 |
<div class="section" id="float:syntax-error"><h3>The attribute value is not a real |
1641 |
number.</h3></div> |
1642 |
|
1643 |
<div class="section" id="fragment-points-itself"><h3>A fragment identifier references the element |
1644 |
itself.</h3></div> |
1645 |
|
1646 |
<div class="section" id="fragment-points-nothing"><h3>A fragment identifier references no |
1647 |
node.</h3></div> |
1648 |
|
1649 |
<div class="section" id="hashref:syntax-error"><h3>A hash−name reference must start with a |
1650 |
<code>#</code> character.</h3></div> |
1651 |
|
1652 |
<div class="section" id="id-ne-name"><h3>The <code>id</code> attribute value is |
1653 |
different from the <code>name</code> attribute value.</h3></div> |
1654 |
|
1655 |
<div class="section" id="integer:syntax-error"><h3>The attribute value is not an integer.</h3></div> |
1656 |
|
1657 |
<div class="section" id="link-type:bad-context"><h3>The link type <code><var>{value}</var></code> |
1658 |
cannot be specified for this element.</h3> |
1659 |
<p>The specified link type cannot be used for the element. |
1660 |
The document is non-conforming.</p> |
1661 |
|
1662 |
<p>Link types are associated with limited set of elements. |
1663 |
They cannot be used with other elements.</p> |
1664 |
|
1665 |
<p>For example, link type <code>bookmark</code> |
1666 |
can be used with <code>a</code> or <code>area</code> element, |
1667 |
while it cannot be used with <code>link</code> element.</p> |
1668 |
</div> |
1669 |
|
1670 |
<div class="section" id="invalid-attribute-value"><h3>Attribute value <code><var>{@}</var></code> |
1671 |
is not an allowed value.</h3></div> |
1672 |
|
1673 |
<div class="section" id="length:syntax-error"><h3>The attribute value is not a length |
1674 |
value.</h3></div> |
1675 |
|
1676 |
<div class="section" id="link-type:non-conforming"><h3>The link type <code><var>{value}</var></code> |
1677 |
is non-conforming.</h3> |
1678 |
<p>The specified link type is non-conforming, and therefore |
1679 |
the document is non-conforming.</p> |
1680 |
|
1681 |
<dl class="switch"> |
1682 |
<dt>Link type <code>contents</code></dt> |
1683 |
<dd>Use link type <code>index</code>.</dd> |
1684 |
<dt>Link type <code>copyright</code></dt> |
1685 |
<dd>Use link type <code>license</code>.</dd> |
1686 |
<dt>Link type <code>home</code></dt> |
1687 |
<dd>Use link type <code>index</code>.</dd> |
1688 |
<dt>Link type <code>previous</code></dt> |
1689 |
<dd>Use link type <code>prev</code>.</dd> |
1690 |
<dt>Link type <code>start</code></dt> |
1691 |
<dd>Use link type <code>first</code>.</dd> |
1692 |
<dt>Link type <code>toc</code> or <code>top</code></dt> |
1693 |
<dd>Use link type <code>index</code>.</dd> |
1694 |
</dl> |
1695 |
</div> |
1696 |
|
1697 |
<div class="section" id="meta-content-type-syntax-error"><h3>The specified value is not a valid as a long |
1698 |
character encoding declaration.</h3></div> |
1699 |
|
1700 |
<div class="section" id="mismatched-charset-name"><h3>The specified character encoding name |
1701 |
<code><var>{value}</var></code> is different from the actual document |
1702 |
character encoding <code><var>{text}</var></code>.</h3> |
1703 |
<p>The specified character encoding name is different from |
1704 |
the character encoding of the document. The document |
1705 |
is non‐conforming.</p> |
1706 |
</div> |
1707 |
|
1708 |
<div class="section" id="mismatched-charset-name-not-checked"><h3>Whether the specified character encoding name |
1709 |
<code><var>{value}</var></code> matches to the actual character encoding |
1710 |
name cannot be checked since the input is not a byte stream.</h3></div> |
1711 |
|
1712 |
<div class="section" id="mode:syntax-error"><h3>The attribute value is not a valid mode |
1713 |
name.</h3></div> |
1714 |
|
1715 |
<div class="section" id="nninteger:out-of-range"><h3>The specified value is out of range.</h3></div> |
1716 |
|
1717 |
<div class="section" id="nninteger:syntax-error"><h3>The attribute value is not a non‐negative |
1718 |
integer.</h3></div> |
1719 |
|
1720 |
<div class="section" id="no-referenced-form"><h3>The element referneced by the <code>form</code> |
1721 |
attribute is not a <code>form</code> element, or no element is |
1722 |
found.</h3></div> |
1723 |
|
1724 |
<div class="section" id="no-referenced-map"><h3>The element referneced by the <code>usemap</code> |
1725 |
attribute is not a <code>map</code> element, or no element is |
1726 |
found.</h3></div> |
1727 |
|
1728 |
<div class="section" id="no-referenced-menu"><h3>The element referneced by the |
1729 |
<code>contextmenu</code> attribute is not a <code>menu</code> element, or |
1730 |
no element is found.</h3></div> |
1731 |
|
1732 |
<div class="section" id="no-referenced-header-cell"><h3>There is no table header cell whose <code>id</code> |
1733 |
is <code><var>{value}</var></code> in the same table.</h3></div> |
1734 |
|
1735 |
<div class="section" id="refresh:syntax-error"><h3>the specified value is not a valid as part |
1736 |
of a <code>Refresh</code> pragma.</h3></div> |
1737 |
|
1738 |
<div class="section" id="repeat:syntax-error"><h3>The attribute value is not an integer or |
1739 |
a string <code>template</code>.</h3></div> |
1740 |
|
1741 |
<div class="section" id="reserved-browsing-context-name"><h3>Browsing context name |
1742 |
<code><var>{@}</var></code> is reserved.</h3> |
1743 |
<p>The specified browsing context name is reserved. |
1744 |
The document is non-conforming.</p> |
1745 |
|
1746 |
<p>Names of browsing contexts starting with <code>_</code> |
1747 |
(<code>U+005F</code> <code class="charname">LOW LINE</code>) |
1748 |
are reserved so that it must not be used.</p> |
1749 |
|
1750 |
<p>Old version of HTML, non-HTML markup languages, and |
1751 |
Web browsers define or implements special reserved |
1752 |
browsing context names <code>_blank</code>, |
1753 |
<code>_main</code>, and <code>_replace</code>. |
1754 |
However, they are <em>not</em> conforming attribute values.</p> |
1755 |
</div> |
1756 |
|
1757 |
<div class="section" id="Reserved-Prefixes-and-Namespace-Names:Name"><h3>Namespace name <code><var>{text}</var></code> |
1758 |
is reserved and cannot be used for an arbitrary prefix.</h3></div> |
1759 |
|
1760 |
<div class="section" id="Reserved-Prefixes-and-Namespace-Names:Prefix"><h3>Namespace prefix <code><var>{text}</var></code> |
1761 |
is reserved and cannot be used for an arbitrary namespace name.</h3></div> |
1762 |
|
1763 |
<div class="section" id="link-type:proposed"><h3>Link type <code><var>{value}</var></code> |
1764 |
is proposed but not accepted yet; it <em>should not</em> be |
1765 |
used until it has been accepted.</h3> |
1766 |
<p>The link type is in the <i>proposed</i> status; it |
1767 |
<em>should not</em> be used until it has been |
1768 |
accepted.</p> |
1769 |
|
1770 |
<p><strong>Warning</strong>: The data served to the |
1771 |
conforming checker might be out of date; it might have already |
1772 |
been accepted or rejected. The document might or might not be |
1773 |
conforming depending on the status. See WHATWG Wiki |
1774 |
for the latest information.</p> |
1775 |
</div> |
1776 |
|
1777 |
<div class="section" id="sizes:syntax-error"><h3>The specified value <code><var>{value}</var></code> |
1778 |
is not a valid value.</h3></div> |
1779 |
|
1780 |
<div class="section" id="space-in-ID"><h3>White space characters are not allowed |
1781 |
in the <code>id</code> attribute.</h3></div> |
1782 |
|
1783 |
<div class="section" id="template:not-template"><h3>The node referenced by the <code>template</code> |
1784 |
attribute is not a template.</h3></div> |
1785 |
|
1786 |
<div class="section" id="value-too-long"><h3>The <code>value</code> attribute value is longer |
1787 |
than the value of the <code>maxlength</code> attribute.</h3></div> |
1788 |
|
1789 |
<div class="section" id="window-name:empty"><h3>Browsing context name must not be empty.</h3></div> |
1790 |
|
1791 |
<div class="section" id="window-name:reserved"><h3>Browsing context name |
1792 |
<code><var>{value}</var></code> is reserved.</h3></div> |
1793 |
|
1794 |
<div class="section" id="word-not-allowed"><h3>The word <code><var>{value}</var></code> is not |
1795 |
allowed in this attribute.</h3></div> |
1796 |
|
1797 |
<div class="section" id="XML-1.0-NCName:syntax-error"><h3>The specified value is not a legal XML Namespaces |
1798 |
1.0 <code>NCName</code>.</h3></div> |
1799 |
|
1800 |
<div class="section" id="xml:lang-ne-lang"><h3><code>xml:lang</code> 属性の値が <code>lang</code> |
1801 |
属性の値と異なります。</h3> |
1802 |
<p><code>xml:lang</code> 属性 (<code>xml</code> (= |
1803 |
<code>http://www.w3.org/XML/1998/namespace</code>) 名前空間の |
1804 |
<code>lang</code> 属性や名前空間に属さない |
1805 |
<code>xml:lang</code> 属性) の値が同じ要素の名前空間に属さない |
1806 |
<code>lang</code> 属性の値と異なっています。</p> |
1807 |
|
1808 |
<p>歴史的な理由により、 HTML 要素の言語指定のための属性は |
1809 |
<code>lang</code> と <code>xml:lang</code> の2つがあります。 HTML |
1810 |
文書では名前空間に属さない <code>lang</code> 属性だけが認められており、 |
1811 |
かつ効力があります。名前空間に属さない |
1812 |
<code>xml:lang</code> 属性は HTML 文書では無視されます。 XHTML 文書では |
1813 |
<code>lang</code> 属性も <code>xml:lang</code> 属性も認められています。</p> |
1814 |
|
1815 |
<p>通常、要素の言語情報は <em><code>lang</code> |
1816 |
属性だけ</em>を使って指定すれば十分です。</p> |
1817 |
|
1818 |
<p><code>lang</code> 属性と <code>xml:lang</code> |
1819 |
属性の両方を同じ要素に指定する場合、 |
1820 |
両者の値は同じでなければなりません。</p> |
1821 |
</div> |
1822 |
|
1823 |
</section> |
1824 |
|
1825 |
<section id="table-model-errors"> |
1826 |
<h2>Table Model Errors</h2> |
1827 |
|
1828 |
<div class="section" id="cell-overlapping"><h3>Cell slot (<var>{text}</var>) is filled by |
1829 |
multiple cells.</h3></div> |
1830 |
|
1831 |
<div class="section" id="colspan-creates-column-with-no-anchored-cell"><h3>This <code>colspan</code> attribute |
1832 |
results in creating a table column that does not contain |
1833 |
any cell anchored to it.</h3></div> |
1834 |
|
1835 |
<div class="section" id="column-with-no-anchored-cell"><h3>This column has no anchored cell.</h3></div> |
1836 |
|
1837 |
<div class="section" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or |
1838 |
<code>th</code>) in the last row.</h3></div> |
1839 |
|
1840 |
<div class="section" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute |
1841 |
results in creating a table row that does not contain |
1842 |
any cell anchored to it.</h3> |
1843 |
<p>The <code>rowspan</code> attribute value of the cell |
1844 |
is so specified that it extends a table in the row axis. |
1845 |
However, the extended row does not contain any cell by itself. |
1846 |
The document is non-conforming.</p> |
1847 |
|
1848 |
<p>For example, the table below is non-conforming: |
1849 |
<pre class="html bad example"> |
1850 |
<code><table> |
1851 |
<tbody> |
1852 |
<tr><td rowspan=2></td></tr> |
1853 |
</tbody> |
1854 |
</table></code></pre> |
1855 |
... since the second row contains only |
1856 |
a cell that spans between first and second rows.</p> |
1857 |
</div> |
1858 |
|
1859 |
<div class="section" id="row-with-no-anchored-cell"><h3>This row has no anchored cell.</h3></div> |
1860 |
|
1861 |
<div class="section" id="rowspan-creates-row-with-no-anchored-cell"><h3>This <code>rowspan</code> attribute |
1862 |
results in creating a table row that does not contain |
1863 |
any cell anchored to it.</h3></div> |
1864 |
|
1865 |
|
1866 |
</section> |
1867 |
|
1868 |
<section id="imt-warnings"> |
1869 |
<h2>Internet Media Type Errors</h2> |
1870 |
|
1871 |
<div class="section" id="boundary:syntax-error"><h3>The specified value is not a valid value |
1872 |
as a multipart boundary.</h3></div> |
1873 |
|
1874 |
<div class="section" id="e4x:syntax-error"><h3>The specified value is not a valid value |
1875 |
for the attribute <code>e4x</code>.</h3></div> |
1876 |
|
1877 |
<div class="section" id="IMT:attribute-syntax-error"><h3>The specified value, |
1878 |
<code><var>{value}</var></code>, is syntactically not a valid |
1879 |
attribute name.</h3></div> |
1880 |
|
1881 |
<div class="section" id="IMT:composite"><h3>The specified media type is a composite |
1882 |
type, which is not allowed in this context.</h3></div> |
1883 |
|
1884 |
<div class="section" id="IMT:limited-use-subtype"><h3>An Internet Media Type whose intended usage |
1885 |
is limited use, <code><var>{value}</var></code> is used.</h3></div> |
1886 |
|
1887 |
<div class="section" id="IMT:syntax-error"><h3>The specified value is not an Internet Media |
1888 |
Type.</h3></div> |
1889 |
|
1890 |
<div class="section" id="IMT:obsolete-parameter"><h3>An obsolete parameter |
1891 |
<code><var>{value}</var></code> is used.</h3></div> |
1892 |
|
1893 |
<div class="section" id="IMT:obsolete-subtype"><h3>廃止されたインターネット媒体型 |
1894 |
<code><var>{value}</var></code> が使われています。</h3> |
1895 |
<p>The specified Internet Media Type is registered with its intended |
1896 |
usage as <i>OBSOLETE</i>.</p> |
1897 |
|
1898 |
<dl class="swtich"> |
1899 |
<dt>Media type <code>text/ecmascript</code></dt> |
1900 |
<dd>Media type <code>text/ecmascript</code> is obsoleted in |
1901 |
favor of <code>application/ecmascript</code>. Note that |
1902 |
<em><code>text/javascript</code></em> would be the better alternative |
1903 |
in many cases.</dd> |
1904 |
<dt>Media type <code>text/javascript</code></dt> |
1905 |
<dd>Media type <code>text/javascript</code> is obsoleted by |
1906 |
<abbr>IETF</abbr> with backward incompatible alternate |
1907 |
<code>application/javascript</code> for architectural |
1908 |
purity.<!-- @@ ref? --> Those who prefer reality to academic |
1909 |
purity <em>may ignore</em> this warning.</dd> |
1910 |
</dl> |
1911 |
</div> |
1912 |
|
1913 |
<div class="section" id="IMT:parameter-missing"><h3>Parameter <code><var>{text}</var></code> have to |
1914 |
be specified for the Internet Media Type |
1915 |
<code><var>{value}</var></code>.</h3></div> |
1916 |
|
1917 |
<div class="section" id="IMT:parameter-not-allowed"><h3>Parameter <code><var>{value}</var></code> is not |
1918 |
allowed for this Internet Media Type.</h3></div> |
1919 |
|
1920 |
<div class="section" id="IMT:private-subtype"><h3>Use of a private Internet Media Type |
1921 |
<code><var>{value}</var></code> is not encouraged.</h3></div> |
1922 |
|
1923 |
<div class="section" id="IMT:private-type"><h3>Use of a private type |
1924 |
<code><var>{value}</var></code> is not encouraged.</h3></div> |
1925 |
|
1926 |
<div class="section" id="IMT:subtype-syntax-error"><h3>Value <code><var>{value}</var></code> is |
1927 |
syntactically not a valid subtype value of an Internet Media Type.</h3></div> |
1928 |
|
1929 |
<div class="section" id="IMT:type-syntax-error"><h3>Value <code><var>{value}</var></code> is |
1930 |
syntactically not a valid type.</h3></div> |
1931 |
|
1932 |
<div class="section" id="IMT:unknown-parameter"><h3>An unknown parameter <code><var>{value}</var></code> |
1933 |
is used. The conformance checker cannot determine whether use of this |
1934 |
parameter is valid or not.</h3></div> |
1935 |
|
1936 |
<div class="section" id="IMT:unknown-subtype"><h3>An unknown Internet Media Type |
1937 |
<code><var>{value}</var></code> is used. At the time of the update of |
1938 |
the conformance checker's Internet Media Type database, the subtype is |
1939 |
not reigstered to the IANA registry. The subtype, however, might be |
1940 |
registerd to the IANA registry thereafter. Please consult the IANA |
1941 |
registry.</h3></div> |
1942 |
|
1943 |
<div class="section" id="IMT:unregistered-subtype"><h3>Use of an Internet Media Type |
1944 |
<code><var>{value}</var></code> is not encouraged since it is not |
1945 |
part of the IANA registry.</h3></div> |
1946 |
|
1947 |
<div class="section" id="IMT:unregistered-type"><h3>Use of a type |
1948 |
<code><var>{value}</var></code> is not encouraged since it is not |
1949 |
a standardized type.</h3></div> |
1950 |
|
1951 |
<div class="section" id="not-IMT"><h3>A value that is not an Internet Media Type |
1952 |
is not allowed here.</h3></div> |
1953 |
|
1954 |
</section> |
1955 |
|
1956 |
<section id="uri-errors"> |
1957 |
<h2>URL Errors</h2> |
1958 |
|
1959 |
<div class="section" id="syntax-error:iri3987"><h3>The specified value is syntactically not an |
1960 |
IRI.</h3></div> |
1961 |
|
1962 |
<div class="section" id="syntax-error:iriref3987"><h3>The specified value is syntactically not an IRI |
1963 |
reference.</h3> |
1964 |
<p>The specified value does not satisfy the syntactical requirements |
1965 |
for IRI references. The document is non-conforming.</p> |
1966 |
|
1967 |
<p>Possible causes: |
1968 |
<ul> |
1969 |
<li>The string might contain one or more white space characters. |
1970 |
Especially, the <code> </code> (<code>U+0020</code> |
1971 |
<code class="charname">SPACE</code>) character cannot be |
1972 |
used in IRI references.</li> |
1973 |
</ul> |
1974 |
</p> |
1975 |
</div> |
1976 |
|
1977 |
<div class="section" id="syntax-error:rdfuriref"><h3>The specified value is syntactically not an RDF |
1978 |
URI reference.</h3></div> |
1979 |
|
1980 |
<div class="section" id="syntax-error:uri2396"><h3>The specified value is syntactically not a |
1981 |
URI according to RFC 2396.</h3></div> |
1982 |
|
1983 |
<div class="section" id="syntax-error:uri3986"><h3>The specified value is syntactically not a |
1984 |
URI.</h3></div> |
1985 |
|
1986 |
<div class="section" id="URL:address-format"><h3>URL host address format |
1987 |
<code><var>{text}</var></code> is not defined.</h3></div> |
1988 |
|
1989 |
<div class="section" id="URL:default-port"><h3>Default port number should be omitted.</h3></div> |
1990 |
|
1991 |
<div class="section" id="URL:dot-segment"><h3>A dot-segment (<code>.</code> or |
1992 |
<code>..</code>) occurs in an absolute reference.</h3> |
1993 |
<p>Dot-segment (<code>.</code> or <code>..</code>) should |
1994 |
not occur in an absolute reference.</p> |
1995 |
|
1996 |
<p>In relative references, dot-segments are used to represent |
1997 |
the current (<code>.</code>) or the parent (<code>..</code>) |
1998 |
hierarchy of the path. Though they are also allowed |
1999 |
in absolute references, it should be resolved to the |
2000 |
canonical form before it has been published.</p> |
2001 |
</div> |
2002 |
|
2003 |
<div class="section" id="URL:empty-host"><h3>The host component of the URL is empty.</h3></div> |
2004 |
|
2005 |
<div class="section" id="URL:empty-path"><h3>The URL does not end with |
2006 |
a <code>/</code> character.</h3></div> |
2007 |
|
2008 |
<div class="section" id="URL:empty-port"><h3>The port component of the URL is empty.</h3></div> |
2009 |
|
2010 |
<div class="section" id="URL-fragment-not-allowed"><h3>The fragment component of the URL is not |
2011 |
allowed.</h3></div> |
2012 |
|
2013 |
<div class="section" id="URL:long-host"><h3>The host component of the URL |
2014 |
is too long.</h3></div> |
2015 |
|
2016 |
<div class="section" id="URL:lowercase-hexadecimal-digit"><h3>A lowercase hexadecimal digit is used |
2017 |
in percent-encoding.</h3> |
2018 |
<p>The hexadecimal digit in percent-encoding string in the IRI |
2019 |
is in lowercase. Though the IRI <em>is</em> conforming, |
2020 |
it should be in uppercase.</p> |
2021 |
</div> |
2022 |
|
2023 |
<div class="section" id="URL:non-DNS-host"><h3>The host component of the URL |
2024 |
is not a DNS host name.</h3></div> |
2025 |
|
2026 |
<div class="section" id="URL:non-UTF-8-host"><h3>The host component of the URL |
2027 |
is not encoded in UTF-8.</h3></div> |
2028 |
|
2029 |
<div class="section" id="URL:password"><h3>Password should not be included in a URL |
2030 |
for the security.</h3></div> |
2031 |
|
2032 |
<div class="section" id="URL:percent-encoded-unreserved"><h3>An unreserved character is |
2033 |
percent-encoded.</h3> |
2034 |
<p>An unreserved character is percent-encoded in the IRI. |
2035 |
Though it <em>is</em> conforming, it should be in the |
2036 |
decoded (or bare) form.</p> |
2037 |
</div> |
2038 |
|
2039 |
<div class="section" id="URL:uppercase-host"><h3>The host <code><var>{value}</var></code> |
2040 |
should be spelt in lowercase.</h3></div> |
2041 |
|
2042 |
<div class="section" id="URL:uppercase-scheme-name"><h3>URL scheme name is in uppercase.</h3> |
2043 |
<p>The scheme part of the IRI is written in uppercase letter.</p> |
2044 |
|
2045 |
<p>Uppercase scheme names are not required to be processed |
2046 |
correctly.</p> |
2047 |
<!-- @@ |
2048 |
RFC 3986 3.1. |
2049 |
> Although schemes are case- |
2050 |
insensitive, the canonical form is lowercase and documents that |
2051 |
specify schemes must do so with lowercase letters. |
2052 |
|
2053 |
> An implementation ... should only produce lowercase scheme names for |
2054 |
consistency. |
2055 |
--> |
2056 |
</div> |
2057 |
|
2058 |
</section> |
2059 |
|
2060 |
<section id="mq-errors"> |
2061 |
<h2>Media Query Errors</h2> |
2062 |
|
2063 |
<div class="section" id="mq-syntax-error"><h3>The specified value has a syntax error as a |
2064 |
media query.</h3></div> |
2065 |
|
2066 |
<div class="section" id="unknown-media-type"><h3>Media type <code><var>{value}</var></code> is |
2067 |
not supported by the conformance checker.</h3></div> |
2068 |
|
2069 |
</section> |
2070 |
|
2071 |
<section id="selectors-errors"> |
2072 |
<h2>Selectors Errors</h2> |
2073 |
|
2074 |
<div class="section" id="an+b-not-closed"><h3>Argument list of the pseudo-class is |
2075 |
not closed by a <code>)</code> character.</h3></div> |
2076 |
|
2077 |
<div class="section" id="ab+b-not-integer"><h3>Numbers in the argument |
2078 |
<code><var>a</var>n+<var>b</var></code> have to be integers.</h3></div> |
2079 |
|
2080 |
<div class="section" id="an+b-syntax-error"><h3>Argument <code><var>a</var>n+<var>b</var></code> is |
2081 |
syntactically incorrect.</h3></div> |
2082 |
|
2083 |
<div class="section" id="attr-selector-not-closed"><h3>Attribute selector is not closed by |
2084 |
a <code>]</code> character.</h3></div> |
2085 |
|
2086 |
<div class="section" id="lang-selector-not-closed"><h3>Argument list of the <code>:lang</code> |
2087 |
selector is not closed by a <code>)</code> character.</h3></div> |
2088 |
|
2089 |
<div class="section" id="namespace-prefix:not-declared"><h3>Namespace prefix <code><var>{value}</var></code> |
2090 |
is not declared.</h3></div> |
2091 |
|
2092 |
<div class="section" id="no-attr-local-name"><h3>Attribute local name is missing.</h3></div> |
2093 |
|
2094 |
<div class="section" id="no-attr-match"><h3>Attribute matching operator (e.g. |
2095 |
<code>=</code>) is missing.</h3></div> |
2096 |
|
2097 |
<div class="section" id="no-attr-name"><h3>Attribute name is missing.</h3></div> |
2098 |
|
2099 |
<div class="section" id="no-attr-namespace-separator"><h3>Attribute namespace wildcard <code>*</code> |
2100 |
is not followed by a <code>|</code> character.</h3></div> |
2101 |
|
2102 |
<div class="section" id="no-attr-value"><h3>Attribute value is missing.</h3></div> |
2103 |
|
2104 |
<div class="section" id="no-class-name-selector"><h3>Class name is missing.</h3></div> |
2105 |
|
2106 |
<div class="section" id="no-combinator"><h3>Combinator is missing.</h3></div> |
2107 |
|
2108 |
<div class="section" id="no-contains-string"><h3>No string is specified in the argument |
2109 |
list of the <code>:-manakai-contains</code> pseudo-class |
2110 |
selector.</h3></div> |
2111 |
|
2112 |
<div class="section" id="no-lang-tag"><h3>Language tag argument is missing.</h3></div> |
2113 |
|
2114 |
<div class="section" id="no-local-name-selector"><h3>Local name part of the type selector (or |
2115 |
<code>*</code> for the universal selector) is missing.</h3></div> |
2116 |
|
2117 |
<div class="section" id="no-pseudo-class-name"><h3>Pseudo-class name is missing.</h3></div> |
2118 |
|
2119 |
<div class="section" id="no-pseudo-element-name"><h3>Pseudo-element name is missing.</h3></div> |
2120 |
|
2121 |
<div class="section" id="no-sss"><h3>Sequence of simple selectors is |
2122 |
expected.</h3></div> |
2123 |
|
2124 |
<div class="section" id="not-not-closed"><h3>Argument list of the <code>:not</code> selector |
2125 |
is not closed by a <code>)</code> character.</h3></div> |
2126 |
|
2127 |
<div class="section" id="ss-after-pseudo-element"><h3>Simple selector is not allowed after a |
2128 |
pseudo element.</h3></div> |
2129 |
|
2130 |
<div class="section" id="unknown-pseudo-class"><h3>Pseudo-class <code>:<var>{value}</var></code> |
2131 |
is not supported by the conformance checker.</h3></div> |
2132 |
|
2133 |
<div class="section" id="unknown-pseudo-element"><h3>Pseudo-element <code>::<var>{value}</var></code> |
2134 |
is not supported by the conformance checker.</h3></div> |
2135 |
|
2136 |
</section> |
2137 |
|
2138 |
<section id="css-errors"> |
2139 |
<h2>CSS Errors</h2> |
2140 |
|
2141 |
<div class="section" id="at-rule-not-allowed"><h3>An <code>@<var>{text}</var></code> rule is not |
2142 |
allowed here.</h3></div> |
2143 |
|
2144 |
<div class="section" id="at-rule-syntax-error"><h3>The <code>@<var>{text}</var></code> rule is |
2145 |
syntactically incorrect.</h3></div> |
2146 |
|
2147 |
<div class="section" id="block-not-closed"><h3>Block is not closed before the end of |
2148 |
file.</h3></div> |
2149 |
|
2150 |
<div class="section" id="CSS-duplication"><h3>Component <code><<var>{text}</var>></code> is |
2151 |
already specified.</h3></div> |
2152 |
|
2153 |
<div class="section" id="CSS-cursor-hand"><h3>Value <code>hand</code> is not valid as |
2154 |
<code><'cursor'></code>.</h3></div> |
2155 |
|
2156 |
<div class="section" id="CSS-syntax-error"><h3>Specified value is syntactically not a correct |
2157 |
<code><<var>{text}</var>></code>.</h3></div> |
2158 |
|
2159 |
<div class="section" id="no-declaration-block"><h3>No declaration block is found after a group of |
2160 |
selectors.</h3></div> |
2161 |
|
2162 |
<div class="section" id="no-property-colon"><h3>A <code>:</code> character is missing after |
2163 |
a property name.</h3></div> |
2164 |
|
2165 |
<div class="section" id="no-property-name"><h3>Property name is expected.</h3></div> |
2166 |
|
2167 |
<div class="section" id="no-property-semicolon"><h3>A <code>;</code> character is missing at the |
2168 |
end of the property.</h3></div> |
2169 |
|
2170 |
<div class="section" id="priority-syntax-error"><h3>Priority part of the declaration is syntactically |
2171 |
incorrect.</h3></div> |
2172 |
|
2173 |
<div class="section" id="unknown-at-rule"><h3>The <code>@<var>{value}</var></code> rule is |
2174 |
not supported by the conformance checker.</h3></div> |
2175 |
|
2176 |
<div class="section" id="unknown-property"><h3>Property <code><var>{value}</var></code> is |
2177 |
not supported by the conformance checker.</h3></div> |
2178 |
|
2179 |
</section> |
2180 |
|
2181 |
<section id="cache-manifest-errors"> |
2182 |
<h2>Cache Manifest Errors</h2> |
2183 |
|
2184 |
<div class="section" id="both-in-entries-and-whitelist"><h3>This URL is found both in the explicit or |
2185 |
fallback entries and in the online whitelist.</h3></div> |
2186 |
|
2187 |
<div class="section" id="different-origin-from-manifest"><h3>The specified URL has different origin from |
2188 |
the manifest.</h3></div> |
2189 |
|
2190 |
<div class="section" id="different-scheme-from-manifest"><h3>The scheme component of the URL is |
2191 |
different from that of the manifest URL. The URL is ignored.</h3></div> |
2192 |
|
2193 |
<div class="section" id="duplicate-oc-namespace"><h3>This oppotunistic caching namespace is already |
2194 |
specified.</h3></div> |
2195 |
|
2196 |
<div class="section" id="no-fallback-entry-URL"><h3>Fallback entry URL is missing.</h3></div> |
2197 |
|
2198 |
<div class="section" id="not-manifest"><h3>This document is not a cache manifest.</h3> |
2199 |
<p>The specified document is <em>not</em> a cache manifest. |
2200 |
The document is non-conforming.</p> |
2201 |
|
2202 |
<p>An entity labeled as Internet media type |
2203 |
<code>text/cache-manifest</code> must contain a cache manifest.</p> |
2204 |
|
2205 |
<p>A cache manifest must start with a line whose content is |
2206 |
<code class="manifest example">CACHE MANIFEST</code> |
2207 |
(exactly one space character between |
2208 |
<code>CACHE</code> and <code>MANIFEST</code>).</p> |
2209 |
</div> |
2210 |
|
2211 |
<div class="section" id="same-as-manifest-URL"><h3>This URL is same as the manifest URL.</h3></div> |
2212 |
|
2213 |
</section> |
2214 |
|
2215 |
<section id="regexp-errors"> |
2216 |
<h2>Regular Expression Errors</h2> |
2217 |
|
2218 |
<!-- Errors in this section are sorted by |
2219 |
Regexp::Parser::Diagnostics's order, then followed by the |
2220 |
Regexp::Parser::JavaScript's extension. --> |
2221 |
|
2222 |
<!-- TODO: mark fatal errors as such --> |
2223 |
|
2224 |
<div class="section" id="Quantifier-unexpected-on-zero-length-expression"><h3>Quantifier unexpected on zero-length |
2225 |
expression.</h3></div> |
2226 |
|
2227 |
<div class="section" id="Sequence-(?%.*s...)-not-implemented"><h3>Sequence |
2228 |
<code>(?<var>{text}</var><var>...</var>)</code> is not implemented |
2229 |
by Perl.</h3></div> |
2230 |
|
2231 |
<div class="section" id="Sequence-(?#...-not-terminated"><h3>Sequence <code>(?#<var>...</var></code> is |
2232 |
not terminated by <code>)</code>.</h3></div> |
2233 |
|
2234 |
<div class="section" id="(?p{})-is-deprecated----use-(??{})"><h3><code>(?p{<var>...</var>})</code> is |
2235 |
obsolete.</h3> |
2236 |
<p><code>(?p{})</code> is obsolete. It was deprecated in |
2237 |
Perl 5.8 and is <em>no longer supported</em> in Perl 5.10.</p> |
2238 |
|
2239 |
<p>You can use <code>(??{<var>...</var>})</code> instead.</p> |
2240 |
</div> |
2241 |
|
2242 |
<div class="section" id="Sequence-(?{...})-not-terminated-or-not-{}-balanced"><h3>Sequence <code>(?{<var>...</var>})</code> |
2243 |
is not terminated or <code>{<var>...</var>}</code> is not |
2244 |
balanced.</h3></div> |
2245 |
|
2246 |
<div class="section" id="Switch-condition-not-recognized"><h3>Switch condition is not recognized.</h3></div> |
2247 |
|
2248 |
<div class="section" id="Switch-(?(condition)...-contains-too-many-branches"><h3>Switch |
2249 |
<code>(?(<var>condition</var>)<var>...</var>|<var>...</var><mark>|...</mark>)</code> |
2250 |
contains too many branches.</h3></div> |
2251 |
|
2252 |
<div class="section" id="Unknown-switch-condition-(?(%.2s"><h3>An unknown switch condition |
2253 |
<code>(?(<var>{text}</var></code> is used.</h3></div> |
2254 |
|
2255 |
<div class="section" id="Sequence-(?-incomplete"><h3>Sequence <code>(?<var>...</var></code> is |
2256 |
incomplete.</h3></div> |
2257 |
|
2258 |
<div class="section" id="Useless-(?%s%s)----%suse-/%s-modifier"><h3>Modifier <code>(?<var>{text}</var>)</code> |
2259 |
<em>in</em> a regular expression has no effect.</h3></div> |
2260 |
|
2261 |
<div class="section" id="Sequence-(?%.*s...)-not-recognized"><h3>An unknown sequence |
2262 |
<code>(?<var>{text}</var><var>...</var>)</code> is used.</h3></div> |
2263 |
|
2264 |
<div class="section" id="Unmatched-("><h3>A <code>(<var>...</var></code> sequence |
2265 |
is not terminated by <code>)</code>.</h3></div> |
2266 |
|
2267 |
<div class="section" id="Unmatched-)"><h3>An unmatched <code>)</code> is found.</h3></div> |
2268 |
|
2269 |
<div class="section" id="Can't-do-{n,m}-with-n->-m"><h3>Quantifier <code>{<var>n</var>,<var>m</var>}</code> |
2270 |
cannot be <span class="math"><var>n</var> > <var>m</var></span>.</h3></div> |
2271 |
|
2272 |
<div class="section" id="%s-matches-null-string-many-times"><h3><code><var>{text}</var></code> matches |
2273 |
the empty string too many times.</h3></div> |
2274 |
|
2275 |
<div class="section" id="Nested-quantifiers"><h3>Quantifiers cannot be nested.</h3></div> |
2276 |
|
2277 |
<div class="section" id="Unmatched-["><h3>A character class <code>[<var>...</var></code> |
2278 |
is not terminated by <code>]</code>.</h3></div> |
2279 |
|
2280 |
<div class="section" id="Quantifier-follows-nothing"><h3>Quantifier follows nothing.</h3></div> |
2281 |
|
2282 |
<div class="section" id="Missing-braces-on-\%s{}"><h3>A <code>\<var>{text}</var></code> sequence |
2283 |
is not followed by <code>{<var>...</var>}</code>.</h3></div> |
2284 |
|
2285 |
<div class="section" id="Missing-right-brace-on-\%s{}"><h3>A <code>\<var>{text}</var>{<var>...</var></code> |
2286 |
is not terminated by <code>}</code>.</h3></div> |
2287 |
|
2288 |
<div class="section" id="Reference-to-nonexistent-group"><h3>A nonexistent group is referenced.</h3></div> |
2289 |
|
2290 |
<div class="section" id="Trailing-\"><h3>A <code>\</code> character is not followed by |
2291 |
another character,</h3></div> |
2292 |
|
2293 |
<div class="section" id="Unrecognized-escape-\%s-passed-through"><h3>An unknown escape <code>\<var>{text}</var></code> |
2294 |
is used.</h3></div> |
2295 |
|
2296 |
<div class="section" id="Unrecognized-escape-\%s-in-character-class-passed-through"><h3>An unknown escape <code>\<var>{text}</var></code> |
2297 |
is used in a character class.</h3></div> |
2298 |
|
2299 |
<div class="section" id="POSIX-class-[:%s:]-unknown"><h3>An unknown POSIX character class |
2300 |
<code>[:<var>{text}</var>:]</code> is used.</h3></div> |
2301 |
|
2302 |
<div class="section" id="POSIX-syntax-[%s-%s]-belongs-inside-character-classes"><h3>A POSIX syntax |
2303 |
<code>[<var>{text}</var><var>...</var><var>{text}</var>]</code> is used |
2304 |
outside of character classes.</h3></div> |
2305 |
|
2306 |
<div class="section" id="Empty-\%s{}"><h3>An escape <code>\<var>{text}</var>{}</code> |
2307 |
is empty.</h3></div> |
2308 |
|
2309 |
<div class="section" id="False-[]-range-"%s-%s""><h3>An escape that represents a character |
2310 |
class cannot be used in range <code><var>{text}</var></code>.</h3></div> |
2311 |
|
2312 |
<div class="section" id="Invalid-[]-range-"%s-%s""><h3>Character range <code><var>{text}</var></code> |
2313 |
is invalid.</h3></div> |
2314 |
|
2315 |
<div class="section" id="Octal-escape-is-obsolete"><h3>Octal escape is used.</h3></div> |
2316 |
|
2317 |
</section> |
2318 |
|
2319 |
<section id="webidl-errors"> |
2320 |
<h2>WebIDL Errors</h2> |
2321 |
|
2322 |
<div class="section" id="after-argument"><h3>An argument name is not followed by a |
2323 |
<code>,</code> character or a <code>)</code> character.</h3></div> |
2324 |
|
2325 |
<div class="section" id="after-exception-name"><h3>An exception name is not followed by a |
2326 |
<code>,</code> character or a <code>)</code> character.</h3></div> |
2327 |
|
2328 |
<div class="section" id="after-unsigned"><h3>The token after the <code>unsigned</code> |
2329 |
keyword is not <code>short</code> or <code>long</code>.</h3></div> |
2330 |
|
2331 |
<div class="section" id="after-xattr"><h3>An extended attribute is not followed by |
2332 |
a <code>,</code> character or a <code>]</code> character.</h3></div> |
2333 |
|
2334 |
<div class="section" id="argument-after-variadic"><h3>An argument is specified after an argument |
2335 |
with <code>Variadic</code> extended attribute is seen.</h3></div> |
2336 |
|
2337 |
<div class="section" id="attr-not-readonly"><h3>Extended attribute <code><var>{text}</var></code> is |
2338 |
specified for an attribute that is not read-only.</h3></div> |
2339 |
|
2340 |
<div class="section" id="attr-type-not-interface"><h3>Extended attribute <code><var>{text}</var></code> |
2341 |
is specified for an attribute whose type is not an interface.</h3></div> |
2342 |
|
2343 |
<div class="section" id="before-exception-member"><h3>An unknown construct is found where an exception |
2344 |
member or a <code>}</code> character is expected.</h3></div> |
2345 |
|
2346 |
<div class="section" id="before-interface-member"><h3>An unknown construct is found where an interface |
2347 |
member or a <code>}</code> character is expected.</h3></div> |
2348 |
|
2349 |
<div class="section" id="before-webidl-block"><h3>An identifier for the <code><var>{text}</var></code> |
2350 |
is not followed by a <code>{</code> character.</h3></div> |
2351 |
|
2352 |
<div class="section" id="before-webidl-def"><h3>An unknown construct is found after an |
2353 |
extended attribute list (where a <code>Definition</code> is |
2354 |
expected).</h3></div> |
2355 |
|
2356 |
<div class="section" id="before-webidl-defs"><h3>An unknown construct is found where a |
2357 |
<code>Definition</code> (optionally preceded by an extended attribute list) |
2358 |
is expected.</h3></div> |
2359 |
|
2360 |
<div class="section" id="before-webidl-type"><h3>The type for <code><var>{text}</var></code> is |
2361 |
not specified.</h3></div> |
2362 |
|
2363 |
<div class="section" id="before-webidl-type:argument"><h3>The type for an argument is not |
2364 |
specified.</h3></div> |
2365 |
|
2366 |
<div class="section" id="before-webidl-type:exception-member"><h3>The type for an exception member is not |
2367 |
specified.</h3></div> |
2368 |
|
2369 |
<div class="section" id="before-xattr"><h3>No extended attribute is specified after |
2370 |
a <code>[</code> character.</h3></div> |
2371 |
|
2372 |
<div class="section" id="before-xattrarg"><h3>No identifier is specified in an extended |
2373 |
attribute assignment.</h3></div> |
2374 |
|
2375 |
<div class="section" id="const-value-out-of-range"><h3>The specified value <code><var>{value}</var></code> |
2376 |
is outside of the range of the type for the constant, |
2377 |
<code><var>{text}</var></code>.</h3></div> |
2378 |
|
2379 |
<div class="section" id="const-type-mismatch"><h3>The type of the value, |
2380 |
<code><var>{value}</var></code>, is different from the type of the constant, |
2381 |
<code><var>{text}</var></code>.</h3></div> |
2382 |
|
2383 |
<div class="section" id="duplicate-accessor"><h3>Extended attribute <code><var>{text}</var></code> |
2384 |
is already specified for another operation in the same interface.</h3></div> |
2385 |
|
2386 |
<div class="section" id="duplicate-constructor-name"><h3>Constructor name <code><var>{value}</var></code> |
2387 |
specified by extended attribute <code><var>{text}</var></code> is already |
2388 |
used for an interface.</h3></div> |
2389 |
|
2390 |
<div class="section" id="duplicate-member"><h3>Name <code><var>{text}</var></code> is |
2391 |
already used.</h3></div> |
2392 |
|
2393 |
<div class="section" id="duplicate-qname"><h3>Qualified name <code><var>{text}</var></code> is |
2394 |
already used.</h3></div> |
2395 |
|
2396 |
<div class="section" id="duplicate-xattr"><h3>Extended attribute <code><var>{text}</var></code> |
2397 |
is already specified.</h3></div> |
2398 |
|
2399 |
<div class="section" id="exception-not-defined"><h3>Exception <code><var>{text}</var></code> is |
2400 |
not defined in the fragment.</h3></div> |
2401 |
|
2402 |
<div class="section" id="interface-not-defined"><h3>Interface <code><var>{text}</var></code> is |
2403 |
not defined in the fragment.</h3></div> |
2404 |
|
2405 |
<div class="section" id="no-arguments-in"><h3>No <code>in</code> keyword for an argument is |
2406 |
found.</h3></div> |
2407 |
|
2408 |
<div class="section" id="no-arguments-lparen"><h3>No <code>(</code> character for an argument |
2409 |
list is found.</h3></div> |
2410 |
|
2411 |
<div class="section" id="no-raises-lparen"><h3>A <code>raises</code> (or <code>getraises</code> |
2412 |
or <code>setraises</code>) keyword is not followed by a <code>(</code> |
2413 |
character.</h3></div> |
2414 |
|
2415 |
<div class="section" id="no-sequence-gt"><h3>A <code>sequence<></code> type is not |
2416 |
terminated by a <code>></code> character.</h3></div> |
2417 |
|
2418 |
<div class="section" id="no-sequence-lt"><h3>Keyword <code>sequence</code> is not followed |
2419 |
by a <code><</code> character.</h3></div> |
2420 |
|
2421 |
<div class="section" id="no-sequence-type"><h3>No type is specified in |
2422 |
<code>sequence<></code>.</h3></div> |
2423 |
|
2424 |
<div class="section" id="no-webidl-identifier"><h3>No identifier is specified for the |
2425 |
<code><var>{text}</var></code>.</h3></div> |
2426 |
|
2427 |
<div class="section" id="no-webidl-identifier:argument"><h3>No identifier is specified for the |
2428 |
argument.</h3></div> |
2429 |
|
2430 |
<div class="section" id="no-webidl-identifier:exception-member"><h3>No identifier is specified for the |
2431 |
exception member.</h3></div> |
2432 |
|
2433 |
<div class="section" id="no-webidl-identifier:operation"><h3>No identifier is specified for the |
2434 |
operation.</h3></div> |
2435 |
|
2436 |
<div class="section" id="no-webidl-semicolon"><h3>No semicolon is found at the end of the |
2437 |
definition or member.</h3></div> |
2438 |
|
2439 |
<div class="section" id="non-module-definition"><h3>This definition is not part of any |
2440 |
module.</h3></div> |
2441 |
|
2442 |
<div class="section" id="not-boxable-type"><h3>Type <code><var>{text}</var></code> cannot be |
2443 |
used in <code>valuetype</code>.</h3></div> |
2444 |
|
2445 |
<div class="section" id="premature-end-of-webidl"><h3>The WebIDL fragment ends before all the blocks |
2446 |
are closed by <code>};</code> sequences.</h3></div> |
2447 |
|
2448 |
<div class="section" id="referenced-attr-not-defined"><h3>Attribute <code><var>{value}</var></code> is |
2449 |
not defined in the interface specified for the attribute to which |
2450 |
extended attribute <code><var>{text}</var></code> is set.</h3></div> |
2451 |
|
2452 |
<div class="section" id="scoped-name"><h3>A scoped name is expected here.</h3></div> |
2453 |
|
2454 |
<div class="section" id="scoped-name:dcolon"><h3>A <code>::</code> token is not followed by |
2455 |
an identifier or a <code>DOMString</code> keyword.</h3></div> |
2456 |
|
2457 |
<div class="section" id="type-not-defined"><h3>Type <code><var>{text}</var></code> is not |
2458 |
defined.</h3></div> |
2459 |
|
2460 |
<div class="section" id="typedef-ignored"><h3><code>typedef</code> of name <code>DOMString</code> |
2461 |
is ignored.</h3></div> |
2462 |
|
2463 |
<div class="section" id="unknown-xattr"><h3>An unknown extended attribute |
2464 |
<code><var>{text}</var></code> is used.</h3></div> |
2465 |
|
2466 |
<div class="section" id="valuetype-DOMString"><h3>The <code>valuetype</code> definition does |
2467 |
not define <code>DOMString</code> as |
2468 |
<code>sequence<unsigned short></code>.</h3></div> |
2469 |
|
2470 |
<div class="section" id="valuetype-ignored"><h3><code>valuetype</code> of name |
2471 |
<code>DOMString</code> is ignored.</h3></div> |
2472 |
|
2473 |
<div class="section" id="wrong-signature-accessor"><h3>The operation cannot be used as accessor operation |
2474 |
of <code><var>{text}</var></code>, since its signature different from |
2475 |
the expected one.</h3></div> |
2476 |
|
2477 |
<div class="section" id="xattr-arglist-not-allowed"><h3>Use of an argument list for extended attribute |
2478 |
<code><var>{text}</var></code> is not allowed.</h3></div> |
2479 |
|
2480 |
<div class="section" id="xattr-for-wrong-type"><h3>Extended attribute <code><var>{text}</var></code> |
2481 |
is not applicable for an attribute whose type is not |
2482 |
<code>DOMString</code>.</h3></div> |
2483 |
|
2484 |
<div class="section" id="xattr-id-missing"><h3>The identifier for extended attribute |
2485 |
<code><var>{text}</var></code> is not specified.</h3></div> |
2486 |
|
2487 |
<div class="section" id="xattr-id-not-allowed"><h3>Use of an identifier for extended attribute |
2488 |
<code><var>{text}</var></code> is not allowed.</h3></div> |
2489 |
|
2490 |
<div class="section" id="xattr-id-value-not-allowed"><h3>The identifier <code><var>{value}</var></code> is |
2491 |
not an allowed value for extended attribute |
2492 |
<code><var>{text}</var></code>.</h3></div> |
2493 |
|
2494 |
<div class="section" id="xattr-not-applicable"><h3>Extended attribute <code><var>{text}</var></code> |
2495 |
is not applicable to this kind of object.</h3></div> |
2496 |
|
2497 |
</section> |
2498 |
|
2499 |
<section id="information"> |
2500 |
<h2>Stability Information</h2> |
2501 |
|
2502 |
<div class="section" id="deprecated:attr"><h3>This attribute is deprecated.</h3></div> |
2503 |
|
2504 |
<div class="section" id="deprecated:element"><h3>This element is deprecated.</h3></div> |
2505 |
|
2506 |
<div class="section" id="status:cr:element"><h3>This element is in the |
2507 |
<strong>call for implementation</strong> stage.</h3> |
2508 |
<p>The element is in the call for implementation stage.</p> |
2509 |
|
2510 |
<p>Usually, using the element is safe. However, it is a new feature |
2511 |
so that it might not be implemented correctly. If it is found that |
2512 |
the feature is hard or impossible to implement, the feature |
2513 |
might be revised, or in some case it might be dropped.</p> |
2514 |
|
2515 |
<p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0 |
2516 |
(W3C Candidate Recommendation) belong to this class.</p> |
2517 |
</div> |
2518 |
|
2519 |
<div class="section" id="status:lc:element"><h3>This element is in the <strong>last |
2520 |
call for comments</strong> stage.</h3> |
2521 |
<p>The element is in the last call for comments stage.</p> |
2522 |
|
2523 |
<p>The element is relatively mature, though the standardization |
2524 |
is not done yet. It may be used for experiments. Since it is a new |
2525 |
feature, it might not be implemented correctly or at all. If it is |
2526 |
found that the feature is hard or impossible to implement, the feature |
2527 |
might be revised or might be dropped.</p> |
2528 |
|
2529 |
<p>Elements defined by Web Forms 2.0 as well as some elements |
2530 |
defined by HTML5 belong to this class.</p> |
2531 |
</div> |
2532 |
|
2533 |
<div class="section" id="status:wd:element"><h3>This element is documented in a <strong>working |
2534 |
draft</strong>.</h3> |
2535 |
<p>The element is documented in a working or editor's draft |
2536 |
and not yet completed.</p> |
2537 |
|
2538 |
<p>The element should not be used for any practical purpose. |
2539 |
The feature might be drastically changed later or might be |
2540 |
entirely removed.</p> |
2541 |
|
2542 |
<p>Most of new elements defined by HTML5 belong to this class.</p> |
2543 |
</div> |
2544 |
|
2545 |
<div class="section" id="status:non-standard:element"><h3>This element is <strong>not part of any |
2546 |
standard</strong> the conformance checker knows.</h3> |
2547 |
<p>The element is not part of any standard or draft the conformance |
2548 |
checker is aware of.</p> |
2549 |
|
2550 |
<p>The element should not be used for any practical purpose unless |
2551 |
there is really a standard that defines the element.</p> |
2552 |
</div> |
2553 |
|
2554 |
<div class="section" id="status:cr:attr"><h3>This attribute is in the |
2555 |
<strong>call for implementation</strong> stage.</h3> |
2556 |
<p>The attribute is in the call for implementation stage.</p> |
2557 |
|
2558 |
<p>Usually, using the attribute is safe. However, it is a new feature |
2559 |
so that it might not be implemented correctly. If it is found that |
2560 |
the feature is hard or impossible to implement, the feature |
2561 |
might be revised, or in some case it might be dropped.</p> |
2562 |
</div> |
2563 |
|
2564 |
<div class="section" id="status:lc:attr"><h3>This attribute is in the <strong>last |
2565 |
call for comments</strong> stage.</h3> |
2566 |
<p>The attribute is in the last call for comments stage.</p> |
2567 |
|
2568 |
<p>The attribute is relatively mature, though the standardization |
2569 |
is not done yet. It may be used for experiments. Since it is a new |
2570 |
feature, it might not be implemented correctly or at all. If it is |
2571 |
found that the feature is hard or impossible to implement, the feature |
2572 |
might be revised or might be dropped.</p> |
2573 |
</div> |
2574 |
|
2575 |
<div class="section" id="status:wd:attr"><h3>This attribute is documented in a <strong>working |
2576 |
draft</strong>.</h3> |
2577 |
<p>The attribute is documented in a working or editor's draft |
2578 |
and not yet completed.</p> |
2579 |
|
2580 |
<p>The attribute should not be used for any practical purpose. |
2581 |
The feature might be drastically changed later or might be |
2582 |
entirely removed.</p> |
2583 |
</div> |
2584 |
|
2585 |
<div class="section" id="status:non-standard:attr"><h3>This attribute is <strong>not part of any |
2586 |
standard</strong> the conformance checker knows.</h3> |
2587 |
<p>The attribute is not part of any standard or draft the conformance |
2588 |
checker is aware of.</p> |
2589 |
|
2590 |
<p>The attribute should not be used for any practical purpose unless |
2591 |
there is really a standard that defines the attribute.</p> |
2592 |
</div> |
2593 |
</section> |
2594 |
|
2595 |
<section id="langtag-errors"> |
2596 |
<h2>Language Tag Errors</h2> |
2597 |
|
2598 |
<div class="section" id="langtag:extension:duplication"><h3>There is another extension subtag |
2599 |
<code><var>{value}</var></code>.</h3></div> |
2600 |
|
2601 |
<div class="section" id="langtag:extension:order"><h3>Extension subtag <code><var>{value}</var></code> |
2602 |
is placed after subtag <code><var>{text}</var></code>.</h3></div> |
2603 |
|
2604 |
<div class="section" id="langtag:extension:unknown"><h3>Extension <code><var>{value}</var></code> is not |
2605 |
defined when the conformance checker is written.</h3></div> |
2606 |
|
2607 |
<div class="section" id="langtag:extlang:case"><h3>Extended language subtag |
2608 |
<code><var>{value}</var></code> is not in the preferred form, i.e. in |
2609 |
lowercase.</h3></div> |
2610 |
|
2611 |
<div class="section" id="langtag:extlang:deprecated"><h3>Use of extended language subtag |
2612 |
<code><var>{value}</var></code> is deprecated<!-- in favor of {text} (might |
2613 |
be undef) -->.</h3></div> |
2614 |
|
2615 |
<div class="section" id="langtag:extlang:prefix"><h3>Extended language subtag |
2616 |
<code><var>{text}</var></code> is not allowed in the combination with this |
2617 |
language (and extended language) subtag(s).</h3></div> |
2618 |
|
2619 |
<div class="section" id="langtag:extlang:invalid"><h3>Extended language subtag |
2620 |
<code><var>{text}</var></code> is not registered.</h3></div> |
2621 |
|
2622 |
<div class="section" id="langtag:grandfathered:case"><h3>Language tag <code><var>{value}</var></code> is |
2623 |
not in the preferred case combination.</h3></div> |
2624 |
|
2625 |
<div class="section" id="langtag:grandfathered:deprecated"><h3>Use of language tag |
2626 |
<code><var>{value}</var></code> is deprecated<!-- in favor of {text} (might |
2627 |
be undef) -->.</h3></div> |
2628 |
|
2629 |
<div class="section" id="langtag:grandfathered:invalid"><h3>Language tag <code><var>{value}</var></code> is |
2630 |
not a combination of RFC 4646 subtags and is not a registered grandfathered |
2631 |
tag.</h3></div> |
2632 |
|
2633 |
<div class="section" id="langtag:illegal"><h3>Subtag <code><var>{value}</var></code> is |
2634 |
syntactically invalid.</h3></div> |
2635 |
|
2636 |
<div class="section" id="langtag:language:case"><h3>It is a good practice to represent ISO 639-1 |
2637 |
language code <code><var>{value}</var></code> in lowercase.</h3></div> |
2638 |
|
2639 |
<div class="section" id="langtag:language:deprecated"><h3>Use of language subtag |
2640 |
<code><var>{value}</var></code> is deprecated<!-- in favor of {text} (might |
2641 |
be undef) -->.</h3></div> |
2642 |
|
2643 |
<div class="section" id="langtag:language:invalid"><h3>Language subtag <code><var>{value}</var></code> |
2644 |
is not registered.</h3></div> |
2645 |
|
2646 |
<div class="section" id="langtag:language:mul"><h3>Langauge tag <code>mul</code> should not be |
2647 |
used.</h3></div> |
2648 |
|
2649 |
<div class="section" id="langtag:language:nosemantics"><h3>No semantics is defined for language subtag |
2650 |
<code><var>{value}</var></code>.</h3></div> |
2651 |
|
2652 |
<div class="section" id="langtag:language:private"><h3>Language subtag <code><var>{value}</var></code> |
2653 |
is a private use code.</h3></div> |
2654 |
|
2655 |
<div class="section" id="langtag:language:syntax"><h3>The language subtag <code><var>{value}</var></code> |
2656 |
is syntactically invalid.</h3></div> |
2657 |
|
2658 |
<div class="section" id="langtag:language:und"><h3>Langauge tag <code>und</code> should not be |
2659 |
used.</h3></div> |
2660 |
|
2661 |
<div class="section" id="langtag:private"><h3>It would be better if a private use language |
2662 |
tag (<code><var>{value}</var></code>) is not used.</h3></div> |
2663 |
|
2664 |
<div class="section" id="langtag:privateuse"><h3>Private use subtag <code><var>{value}</var></code> |
2665 |
is used.</h3></div> |
2666 |
|
2667 |
<div class="section" id="langtag:privateuse:case"><h3>Subtag <code><var>{value}</var></code> is not |
2668 |
represented in the preferred case format.</h3></div> |
2669 |
|
2670 |
<div class="section" id="langtag:privateuse:syntax"><h3>Private use subtag <code><var>{value}</var></code> |
2671 |
is syntactically invalid.</h3></div> |
2672 |
|
2673 |
<div class="section" id="langtag:redundant:case"><h3>Language tag <code><var>{value}</var></code> is |
2674 |
not in the preferred case combination.</h3></div> |
2675 |
|
2676 |
<div class="section" id="langtag:redundant:deprecated"><h3>Use of language tag |
2677 |
<code><var>{value}</var></code> is deprecated<!-- in favor of {text} (might |
2678 |
be undef) -->.</h3></div> |
2679 |
|
2680 |
<div class="section" id="langtag:region:case"><h3>It is a good practice to represent ISO 3166 |
2681 |
country code <code><var>{value}</var></code> in uppercase.</h3></div> |
2682 |
|
2683 |
<div class="section" id="langtag:region:deprecated"><h3>Use of region subtag |
2684 |
<code><var>{value}</var></code> is deprecated<!-- in favor of {text} (might |
2685 |
be undef) -->.</h3></div> |
2686 |
|
2687 |
<div class="section" id="langtag:region:nosemantics"><h3>No semantics is defined for region subtag |
2688 |
<code><var>{value}</var></code>.</h3></div> |
2689 |
|
2690 |
<div class="section" id="langtag:region:invalid"><h3>Region subtag <code><var>{value}</var></code> |
2691 |
is not registered.</h3></div> |
2692 |
|
2693 |
<div class="section" id="langtag:region:private"><h3>Use of private use country code |
2694 |
<code><var>{value}</var></code> is not allowed.</h3></div> |
2695 |
|
2696 |
<div class="section" id="langtag:script:case"><h3>Script subtag <code><var>{value}</var></code> is |
2697 |
not in the preferred form, i.e. titlecase.</h3></div> |
2698 |
|
2699 |
<div class="section" id="langtag:script:deprecated"><h3>Use of script subtag |
2700 |
<code><var>{value}</var></code> is deprecated<!-- in favor of {text} (might |
2701 |
be undef) -->.</h3></div> |
2702 |
|
2703 |
<div class="section" id="langtag:script:invalid"><h3>Script subtag <code><var>{value}</var></code> |
2704 |
is not registered.</h3></div> |
2705 |
|
2706 |
<div class="section" id="langtag:script:private"><h3>Script subtag <code><var>{value}</var></code> |
2707 |
is a private use code.</h3></div> |
2708 |
|
2709 |
<div class="section" id="langtag:script:suppress"><h3>Script subtag <code><var>{value}</var></code> |
2710 |
should be suppressed when the language subtag is |
2711 |
<code><var>{text}</var></code>.</h3></div> |
2712 |
|
2713 |
<div class="section" id="langtag:variant:case"><h3>Variant subtag <code><var>{value}</var></code> is |
2714 |
not in the preferred form, i.e. lowercase.</h3></div> |
2715 |
|
2716 |
<div class="section" id="langtag:variant:combination"><h3>Variant subtag <code><var>{text}</var></code> might |
2717 |
not be meaningful when it is used in combination with |
2718 |
<code><var>{value}</var></code>.</h3></div> |
2719 |
|
2720 |
<div class="section" id="langtag:variant:deprecated"><h3>Use of variant subtag |
2721 |
<code><var>{value}</var></code> is deprecated<!-- in favor of {text} (might |
2722 |
be undef) -->.</h3></div> |
2723 |
|
2724 |
<div class="section" id="langtag:variant:duplication"><h3>Variant subtag <code><var>{value}</var></code> |
2725 |
is specified twice.</h3></div> |
2726 |
|
2727 |
<div class="section" id="langtag:variant:invalid"><h3>Variant subtag <code><var>{value}</var></code> |
2728 |
is not registered.</h3></div> |
2729 |
|
2730 |
<div class="section" id="langtag:variant:prefix"><h3>Variant subtag <code><var>{value}</var></code> |
2731 |
cannot be used in this context.</h3></div> |
2732 |
|
2733 |
</section> |
2734 |
|
2735 |
<section id="rdfxml-errors"> |
2736 |
<h2>RDF/XML Errors</h2> |
2737 |
|
2738 |
<div class="section" id="bad-rdf-namespace"><h3>The namespace URI of an element that |
2739 |
represents an RDF concept must be |
2740 |
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#</code>.</h3></div> |
2741 |
|
2742 |
<div class="section" id="duplicate-rdf-id"><h3>The specified value is already used as an |
2743 |
ID.</h3></div> |
2744 |
|
2745 |
<div class="section" id="duplicate-unqualified-attr"><h3>Both unqualified attribute and namespace‐qualified |
2746 |
RDF attribute are specified, which is not allowed.</h3></div> |
2747 |
|
2748 |
<div class="section" id="parse-type-other"><h3>An invalid value is specified to |
2749 |
the <code>parseType</code> attribute.</h3></div> |
2750 |
|
2751 |
<div class="section" id="second-node-element"><h3>There is another element, such that |
2752 |
this element is not allowed.</h3></div> |
2753 |
|
2754 |
<div class="section" id="unqualified-attr"><h3>Unqualified attribute is not allowed.</h3></div> |
2755 |
|
2756 |
<div class="section" id="unqualified-rdf-attr"><h3>RDF attribute should be |
2757 |
namespace‐qualified.</h3></div> |
2758 |
|
2759 |
</section> |
2760 |
|
2761 |
<section id="unsupported-messages"> |
2762 |
<h2><i>Unsupported</i> Messages</h2> |
2763 |
|
2764 |
<div class="section" id="unknown-element"><h3>Conformance checking for element |
2765 |
<code><var>{local-name}</var></code> is not supported; <em>it might or |
2766 |
might not be conforming</em>.</h3> |
2767 |
<p>The conformant checker does not support the element. |
2768 |
It cannot determine whether the document is conforming or not.</p> |
2769 |
</div> |
2770 |
|
2771 |
<div class="section" id="unknown-attribute"><h3>Conformance checking for attribute |
2772 |
<code><var>{local-name}</var></code> of element |
2773 |
<code><var>{element-local-name}</var></code> is not supported; |
2774 |
<em>it might or might not be conforming</em>.</h3> |
2775 |
<p>The conformant checker does not support the attribute. |
2776 |
It cannot determine whether the document is conforming or not.</p> |
2777 |
</div> |
2778 |
|
2779 |
<div class="section" id="unknown-link-type"><h3>Link type <code><var>{value}</var></code> is not |
2780 |
standardized or registered at the time of the release of the conformance |
2781 |
checker; <em>it is non-conforming unless it now has been |
2782 |
registered</em>.</h3> |
2783 |
<p>The <code>rel</code> attribute is defined as a list of link types. |
2784 |
Some common link types are defined in the HTML5 specification. |
2785 |
Additional link types can be registered to the WHATWG Wiki. |
2786 |
use of any other link type is non-conforming.</p> |
2787 |
|
2788 |
<p>The specified link type is not part of the standard or registry |
2789 |
when the database used by the conformance cheker is created. |
2790 |
The link type might have been added to the registry since then. |
2791 |
In such case it might be conforming. Otherwise, the |
2792 |
document is non-conforming.</p> |
2793 |
|
2794 |
<dl> |
2795 |
<dt>Link types <code>shortcut icon</code></dt> |
2796 |
<dd>Link type <code>shortcut</code> is not registered. |
2797 |
Use only <code>icon</code> for linking to so-called favicon.</dd> |
2798 |
</dl> |
2799 |
</div> |
2800 |
|
2801 |
<div class="section" id="event-handler"><h3>Conformance checking for event handler attribute |
2802 |
is not supported; <em>it might or might not be conforming.</em></h3></div> |
2803 |
|
2804 |
<div class="section" id="media-query"><h3>Conformance checking for media query |
2805 |
is not supported; <em>it might or might not be conforming.</em></h3></div> |
2806 |
|
2807 |
<div class="section" id="addr-spec-not-supported"><h3>Conformance checking for an <code>addr-spec</code> |
2808 |
is not supported; <em>it might or might not be conforming.</em></h3></div> |
2809 |
|
2810 |
<div class="section" id="XML-script-lang"><h3>Conformance checking for script |
2811 |
language <code><var>{text}</var></code> is not supported; |
2812 |
<em>it might or might not be conforming.</em></h3></div> |
2813 |
|
2814 |
<div class="section" id="XML-style-lang"><h3>Conformance checking for style |
2815 |
language <code><var>{text}</var></code> is not supported; |
2816 |
<em>it might or might not be conforming.</em></h3></div> |
2817 |
|
2818 |
<div class="section" id="atom|content-not-supported"><h3>Conformance checking for an Atom |
2819 |
<code>content</code> element with <code>type</code> |
2820 |
<code><var>{text}</var></code> is not supported.</h3></div> |
2821 |
|
2822 |
<div class="section" id="help-not-available"><h3>これ以上の詳しい情報はありません。</h3> |
2823 |
<p>これについての詳しい情報はありません。</p> |
2824 |
</div> |
2825 |
|
2826 |
</section> |
2827 |
|
2828 |
|
2829 |
|
2830 |
|
2831 |
|
2832 |
|
2833 |
|
2834 |
|
2835 |
|
2836 |
|
2837 |
|
2838 |
|
2839 |
|
2840 |
|
2841 |
|
2842 |
|
2843 |
|
2844 |
|
2845 |
|
2846 |
|
2847 |
|
2848 |
|
2849 |
|
2850 |
|
2851 |
|
2852 |
|
2853 |
|
2854 |
|
2855 |
|
2856 |
|
2857 |
|
2858 |
|
2859 |
|
2860 |
|
2861 |
|
2862 |
|
2863 |
|
2864 |
|
2865 |
|
2866 |
|
2867 |
|
2868 |
|
2869 |
|
2870 |
|
2871 |
|
2872 |
|
2873 |
|
2874 |
|
2875 |
|
2876 |
|
2877 |
|
2878 |
|
2879 |
|
2880 |
|
2881 |
|
2882 |
|
2883 |
|
2884 |
|
2885 |
|
2886 |
|
2887 |
|
2888 |
|
2889 |
|
2890 |
|
2891 |
|
2892 |
|
2893 |
|
2894 |
|
2895 |
|
2896 |
|
2897 |
|
2898 |
|
2899 |
|
2900 |
|
2901 |
|
2902 |
|
2903 |
|
2904 |
|
2905 |
|
2906 |
|
2907 |
|
2908 |
|
2909 |
|
2910 |
|
2911 |
|
2912 |
|
2913 |
|
2914 |
|
2915 |
|
2916 |
|
2917 |
|
2918 |
|
2919 |
|
2920 |
|
2921 |
|
2922 |
|
2923 |
|
2924 |
|
2925 |
|
2926 |
|
2927 |
|
2928 |
|
2929 |
|
2930 |
|
2931 |
|
2932 |
|
2933 |
|
2934 |
|
2935 |
|
2936 |
|
2937 |
|
2938 |
|
2939 |
|
2940 |
|
2941 |
|
2942 |
|
2943 |
|
2944 |
|
2945 |
|
2946 |
|
2947 |
|
2948 |
|
2949 |
|
2950 |
|
2951 |
|
2952 |
|
2953 |
|
2954 |
|
2955 |
|
2956 |
|
2957 |
|
2958 |
|
2959 |
|
2960 |
|
2961 |
|
2962 |
|
2963 |
|
2964 |
|
2965 |
|
2966 |
|
2967 |
|
2968 |
|
2969 |
|
2970 |
|
2971 |
|
2972 |
|
2973 |
|
2974 |
|
2975 |
|
2976 |
|
2977 |
|
2978 |
|
2979 |
|
2980 |
|
2981 |
|
2982 |
|
2983 |
|
2984 |
|
2985 |
|
2986 |
|
2987 |
|
2988 |
|
2989 |
|
2990 |
|
2991 |
|
2992 |
|
2993 |
|
2994 |
|
2995 |
|
2996 |
|
2997 |
|
2998 |
|
2999 |
|
3000 |
|
3001 |
|
3002 |
|
3003 |
|
3004 |
|
3005 |
|
3006 |
|
3007 |
|
3008 |
|
3009 |
|
3010 |
|
3011 |
|
3012 |
|
3013 |
|
3014 |
|
3015 |
|
3016 |
|
3017 |
|
3018 |
|
3019 |
|
3020 |
|
3021 |
|
3022 |
|
3023 |
|
3024 |
|
3025 |
|
3026 |
|
3027 |
|
3028 |
|
3029 |
|
3030 |
|
3031 |
|
3032 |
|
3033 |
|
3034 |
|
3035 |
|
3036 |
|
3037 |
|
3038 |
|
3039 |
|
3040 |
<div class="section" id="Error-level-m"><h3><a href="../error-description#Error-level-m" rel="help"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></h3> |
3041 |
<p>A violation to a hard requirement of the specification. |
3042 |
The document is non‐conforming.</p> |
3043 |
</div> |
3044 |
|
3045 |
<div class="section" id="Error-level-s"><h3><a href="../error-description#Error-level-s" rel="help"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></h3> |
3046 |
<p>A violation to a requirement of the specification. |
3047 |
The violation might be legitimize in some case. Otherwise, |
3048 |
the document is non‐conforming.</p> |
3049 |
</div> |
3050 |
|
3051 |
<div class="section" id="Error-level-w"><h3><a href="../error-description#Error-level-w" rel="help">警告</a></h3> |
3052 |
<p>A warning is an advice from the conformance checker |
3053 |
to avoid solving a problem in a confusing or possibly wrong way. |
3054 |
It does not affect to the conformance of the document, and |
3055 |
may sometimes be inappropriate.</p> |
3056 |
</div> |
3057 |
|
3058 |
<div class="section" id="Error-level-i"><h3><a href="../error-description#Error-level-i" rel="help">情報</a></h3> |
3059 |
<p>An informational message just provides an additional information |
3060 |
on the feature used in the document or the status of the retrieval |
3061 |
or so on. |
3062 |
It does not affect to the conformance of the document.</p> |
3063 |
</div> |
3064 |
|
3065 |
<div class="section" id="Error-level-u"><h3><a href="../error-description#Error-level-u" rel="help">未対応</a></h3> |
3066 |
<p>Some feature that is not supported by the conformance checker |
3067 |
is used in the document.</p> |
3068 |
</div> |
3069 |
|
3070 |
<section id="license"> |
3071 |
<h2>License of This Document</h2> |
3072 |
|
3073 |
<p>Copyright <time>2007</time>‐<time>2008</time> |
3074 |
<a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a> |
3075 |
<code class="mail"><<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></code>.</p> |
3076 |
|
3077 |
<p>This document is free software; you can redistribute it |
3078 |
and/or modify it under the same terms as Perl itself.</p> |
3079 |
</section> |
3080 |
|
3081 |
<!-- $Date: 2008/12/11 03:22:56 $ --> |
3082 |
</body> |
3083 |
</html> |