/[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.51 - (hide annotations) (download) (as text)
Thu Dec 11 03:22:56 2008 UTC (15 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.50: +312 -21 lines
File MIME type: text/xml
++ ChangeLog	11 Dec 2008 03:20:10 -0000
2008-12-11  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.en.xml: Added descriptions for errors
	from Regexp::Parser and Regexp::Parser::JavaScript modules.

	* cc.cgi: Added support for JavaScript regular expressions.

++ html/WebHACC/Language/ChangeLog	11 Dec 2008 03:18:54 -0000
2008-12-11  Wakaba  <wakaba@suika.fam.cx>

	* RegExpJS.pm: New module.

++ html/WebHACC/ChangeLog	11 Dec 2008 03:22:42 -0000
2008-12-11  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm (generate_input_section): Added support for JavaScript
	regular expressions.

2008-12-10  Wakaba  <wakaba@suika.fam.cx>

	* Result.pm: Added support for |valueref| parameter of an error.
	|pos_end| should point the (intercharacter) position where the
	highlighted substring ends, not the character before the position,
	otherwise empty substring cannot be represented well.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24