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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.46

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24