/[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.43 - (hide annotations) (download) (as text)
Wed Sep 10 10:22:59 2008 UTC (15 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.42: +89 -7 lines
File MIME type: text/xml
++ ChangeLog	10 Sep 2008 10:21:38 -0000
2008-09-10  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: Encoding layer errors added.

++ html/WebHACC/ChangeLog	10 Sep 2008 10:22:56 -0000
2008-09-10  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm (nl_text): Support for |<var>{octets}</var>|,
	|<var>{char}</var>|, and |<var>{char:hexref}</var>|
	macros.
	(generate_input_section): More charsets are added
	to the list of charsets.

	* Result.pm: Pass |char| and |octets| arguments
	to |nl_text|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24