/[suikacvs]/test/html-webhacc/error-description-source.xml
Suika

Contents of /test/html-webhacc/error-description-source.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.50 - (hide annotations) (download) (as text)
Sun Sep 21 05:09:35 2008 UTC (16 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.49: +9 -1 lines
File MIME type: text/xml
++ ChangeLog	21 Sep 2008 05:08:51 -0000
2008-09-21  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: An error for non-supported
	charset="" parameter is added.

++ html/WebHACC/Language/ChangeLog	21 Sep 2008 05:09:27 -0000
2008-09-21  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm (generate_syntax_error_section): Now |charset:not
	supported| is also an error that might invalidate the validation
	result.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24