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

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.44

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24