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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24