/[suikacvs]/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.13 by wakaba, Mon Nov 5 09:33:52 2007 UTC revision 1.29 by wakaba, Fri Aug 15 08:36:41 2008 UTC
# Line 11  Web Document Conformance Checker (BETA)< Line 11  Web Document Conformance Checker (BETA)<
11  <body>  <body>
12  <h1>Description of Errors</h1>  <h1>Description of Errors</h1>
13    
14    <section id="character-encoding-layer">
15    <h2>Character Encoding Layer Errors</h2>
16    
17    <d:item name="illegal-octets-error" class="error-category-charset" level="m">
18      <d:message xml:lang="en">An illegal octet in the input stream.</d:message>
19    </d:item>
20    </section>
21    
22    <section id="html5-character-encoding">
23    <h2>HTML5 Character Encoding Errors</h2>
24    
25    <d:item name="character encoding" class="format-charset must" level="m">
26      <d:message xml:lang="en">Character encoding <code><var>$0</var></code>
27      is not allowed for <abbr>HTML</abbr> document.</d:message>
28      <d:desc xml:lang="en">
29        <p>The character encoding used for the document is not allowed
30        for <abbr>HTML</abbr> document.  The document is non‐conforming.</p>
31      </d:desc>
32    </d:item>
33    
34    <d:item name="character encoding" class="format-charset should"
35        level="s">
36      <d:message xml:lang="en">Character encoding <code><var>$0</var></code>
37      should not be used for <abbr>HTML</abbr> document.</d:message>
38      <d:desc xml:lang="en">
39        <p>The character encoding used for the document is not recommended
40        for <abbr>HTML</abbr> document.  The document is non‐conforming
41        unless there is any good reason to use that encoding.</p>
42      </d:desc>
43    </d:item>
44    
45    <d:item name="character encoding" class="format-charset warning"
46        level="w">
47      <d:message xml:lang="en">Use of UTF-8 is encouraged.</d:message>
48      <d:desc xml:lang="en">
49        <p>Use of UTF-8 as the character encoding of the document is encouraged,
50        though the use of another character encoding is still conforming.</p>
51      </d:desc>
52    </d:item>
53    
54    <d:item name="character encoding" class="format-charset unsupported"
55        level="unsupported">
56      <d:message xml:lang="en">Conformance for character encoding requirements
57      cannot be checked.</d:message>
58      <d:desc xml:lang="en">
59        <p>The conformance checker cannot detect whether the input document
60        met the requirements on character encoding, since the document
61        is not inputed as a serialized byte sequence.  The document is
62        not conforming if it is not encoded in an appropriate character
63        encoding with appropriate labeling.</p>
64      </d:desc>
65    </d:item>
66    
67    <d:item name="no character encoding declaration" class="format-charset error"
68        level="m">
69      <d:message xml:lang="en">There is no character encoding
70      declaration.</d:message>
71      <d:desc xml:lang="en">
72        <p>The document does not contain a character encoding
73        declaration.  Unless the character encoding is explicitly
74        specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>,
75        or is implied by <abbr>BOM</abbr>, there must be a character
76        encoding declaration.  The document is non‐conforming.</p>
77    
78        <p>The long character encoding declaration syntax
79        <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code>
80        is obsolete.  The new syntax is:</p>
81        <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
82    
83        <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>
84        declaration has no effect for <abbr>HTML</abbr> document.</p>
85      </d:desc>
86    </d:item>
87    
88    <d:item name="non ascii superset" class="format-charset error"
89        level="m">
90      <d:message xml:lang="en">No character encoding metadata is found
91      in lower‐level protocol nor is there <abbr>BOM</abbr>, while
92      character encoding <code><var>$0</var></code>
93      is not a superset of <abbr>ASCII</abbr>.</d:message>
94      <d:desc xml:lang="en">
95        <p>The document is not labeled with character encoding name
96        in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and
97        the document is not begin with <abbr>BOM</abbr>.  In addition,
98        the character encoding of the document is not a superset of
99        <abbr>ASCII</abbr>.  The document is non‐conforming.</p>
100    
101        <p>Unless there is a <abbr>BOM</abbr>, the character encoding
102        for the document must be specified in e.g. <abbr>HTTP</abbr>‐level,
103        as:</p>
104        <pre class="http example"><code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>
105    
106        <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.
107        <code class="html example">&lt;meta charset="<var>charset-name</var>"></code>,
108        does not allow to omit <code>charset</code> parameter
109        for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>
110        compatible encoding.</p>
111    
112        <p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>,
113        and <code>ISO-2022-JP</code> are <em>not</em> a superset of
114        <abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p>
115      </d:desc>
116    </d:item>
117    
118    <d:item name="sniffing:chardet"
119        modules="HTML::Parser">
120      <d:message xml:lang="en">Character encoding of this document is sniffed
121      as <code><var>{text}</var></code> (Sniffed because no explicit specification
122      for the character encoding of this document is found in the transfer
123      procotol headers).</d:message>
124    </d:item>
125    
126    <d:item name="sniffing:default"
127        modules="HTML::Parser">
128      <d:message xml:lang="en">Character encoding of this document is defaulted
129      to <code><var>{text}</var></code> because no explicit specification
130      for the character encoding of this document is found in the transfer
131      procotol headers.</d:message>
132    </d:item>
133    
134    <d:item name="chardecode:fallback"
135        modules="HTML::Parser">
136      <d:message xml:lang="en">Since no decoder for the document character
137      encoding is found, decoder for the character encoding
138      <code><var>{text}</var></code> is used.  Checking results might be
139      <em>wrong</em>.</d:message>
140    </d:item>
141    
142    <d:item name="chardecode:no error"
143        modules="HTML::Parser">
144      <d:message xml:lang="en">Conformance error checking for the character
145      encoding <code><var>{text}</var></code> is not supported.</d:message>
146    </d:item>
147    
148    <d:item name="charset label:matching"
149        modules="HTML::Parser">
150      <d:message xml:lang="en">Sniffed character encoding
151      <code><var>{text}</var></code> is same as the character encoding specified
152      in the character encoding declaration.  This is <em>not</em> an
153      error.</d:message>
154    </d:item>
155    
156    <d:item name="charset label detected"
157        class="format-charset warning"
158        modules="HTML::Parser">
159      <d:message xml:lang="en">While parsing the document as
160      <code><var>{text}</var></code>, a character encoding declaration specifying
161      a different character encoding is found.  The document
162      is reparsed.</d:message>
163      <d:desc xml:lang="en">
164        <p>While parsing a document in a character encoding,
165        a character encoding declaration which declares the character
166        encoding of the document as another character encoding is found.
167        The occurence of this warning itself does not make the document
168        non‐conforming.  However, the failure of the first attempt to
169        to detect the character encoding might be a result of non‐conformance
170        of the document.</p>
171    
172        <p>The document will be reparsed from the beginning.  Some error
173        or warning might be reported again.</p>
174    
175        <p>These are suggestions to avoid this warning:</p>
176        <ul>
177        <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>
178        field in the <abbr>HTTP</abbr> header, as:
179        <pre class="HTTP example"><code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li>
180        <li>Put the character encoding declaration
181        (<code class="html example">&lt;meta charset="<var>charset-name</var>"></code>)
182        just after <code class="html example">&lt;head></code> start tag.</li>
183        <li>Use <code>UTF-8</code>.</li>
184        </ul>
185      </d:desc>
186    </d:item>
187    
188    <d:item name="NULL"
189        modules="HTML::Parser">
190      <d:message xml:lang="en">The <code class="charname">NULL</code> character
191      is not allowed.</d:message>
192    </d:item>
193    
194    <d:item name="control char"
195        modules="HTML::Parser">
196      <d:message xml:lang="en">Code point <code><var>{text}</var></code> is
197      not allowed.</d:message>
198    </d:item>
199    
200    </section>
201    
202  <section id="html5-tokenize-error">  <section id="html5-tokenize-error">
203  <h2>HTML5 Parse Errors in Tokenization Stage</h2>  <h2>HTML5 Parse Errors in Tokenization Stage</h2>
204    
# Line 43  Web Document Conformance Checker (BETA)< Line 231  Web Document Conformance Checker (BETA)<
231    </d:desc>    </d:desc>
232  </d:item>  </d:item>
233    
234    <d:item name="bad attribute name"
235        class="tokenize-error"
236        modules="HTML::Parser">
237      <d:message xml:lang="en">Attribute name cannot contain characters
238      <code>"</code>, <code>'</code>, and <code>=</code>.</d:message>
239    </d:item>
240    
241    <d:item name="bad attribute value"
242        class="tokenize-error"
243        modules="HTML::Parser">
244      <d:message xml:lang="en">Attribute value must be quoted by <code>"</code>
245      or <code>'</code> if it contains a <code>"</code>, <code>'</code>, or
246      <code>=</code> character.</d:message>
247    </d:item>
248    
249  <d:item name="bare ero"  <d:item name="bare ero"
250      class="tokenize-error">      class="tokenize-error"
251        modules="HTML::Parser">
252    <d:message xml:lang="en">The <code>&amp;</code> character must    <d:message xml:lang="en">The <code>&amp;</code> character must
253    introduce a reference.</d:message>    be escaped as <code class="html example">&amp;amp;</code>.</d:message>
254    <d:desc xml:lang="en">    <d:desc xml:lang="en">
255      <p>An <code>&amp;</code> (<code>U+0026</code>      <p>An <code>&amp;</code> character which
     <code class="charname">AMPERSAND</code>) character which  
256      is not part of any reference appears in the input stream.      is not part of any reference appears in the input stream.
257      The document is non-conforming.</p>      The document is non‐conforming.</p>
258    
259      <p><strong>Any <code>&amp;</code> character in URI (or IRI)      <p><em>Any <code>&amp;</code> character in URI (or IRI)
260      must be escaped as <code>&amp;amp;</code>.</strong></p>      must be escaped as <code class="example">&amp;amp;</code>.</em></p>
261    
262      <p>The <code>&amp;</code> character must      <p>The <code>&amp;</code> character must
263      be the first character of a reference:      be the first character of a reference:
264        <dl>        <dl class="switch">
265        <dt>Named entity reference</dt>        <dt>Named entity reference</dt>
266            <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>
267            where <var>entity-name</var> is the name of the            where <var>entity-name</var> is the name of the
# Line 82  Web Document Conformance Checker (BETA)< Line 285  Web Document Conformance Checker (BETA)<
285  </d:item>  </d:item>
286    
287  <d:item name="bare etago"  <d:item name="bare etago"
288      class="tokenize-error">      class="tokenize-error"
289        modules="HTML::Parser">
290    <d:message xml:lang="en">A <code>&lt;/</code> string is not followed    <d:message xml:lang="en">A <code>&lt;/</code> string is not followed
291    by a tag name.</d:message><!-- </ EOF -->    by a tag name.</d:message><!-- </ EOF -->
292    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 105  Web Document Conformance Checker (BETA)< Line 309  Web Document Conformance Checker (BETA)<
309  </d:item>  </d:item>
310    
311  <d:item name="bare stago"  <d:item name="bare stago"
312      class="tokenize-error">      class="tokenize-error"
313        modules="HTML::Parser">
314    <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
315    by tag name or by a <code>!</code> character.</d:message>    by tag name or by a <code>!</code> character.</d:message>
316    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 121  Web Document Conformance Checker (BETA)< Line 326  Web Document Conformance Checker (BETA)<
326  </d:item>  </d:item>
327    
328  <d:item name="bare nero"  <d:item name="bare nero"
329      class="tokenize-error">      class="tokenize-error"
330        modules="HTML::Parser">
331    <d:message xml:lang="en">The decimal representation of the code position    <d:message xml:lang="en">The decimal representation of the code position
332    of a character must be specified after <code>&amp;#</code>.</d:message>    of a character must be specified after <code>&amp;#</code>.</d:message>
333    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 134  Web Document Conformance Checker (BETA)< Line 340  Web Document Conformance Checker (BETA)<
340    
341      <p>The string <code>&amp;#</code> must be the first two characters      <p>The string <code>&amp;#</code> must be the first two characters
342      of a reference:      of a reference:
343        <dl>        <dl class="switch">
344        <dt>Numeric character reference</dt>        <dt>Numeric character reference</dt>
345            <dd><pre class="html example"><code>&amp;#<var>d</var>;</code></pre>            <dd><pre class="html example"><code>&amp;#<var>d</var>;</code></pre>
346            where <var>d</var> is the decimal representation of            where <var>d</var> is the decimal representation of
# Line 154  Web Document Conformance Checker (BETA)< Line 360  Web Document Conformance Checker (BETA)<
360  </d:item>  </d:item>
361    
362  <d:item name="bare hcro"  <d:item name="bare hcro"
363      class="tokenize-error">      class="tokenize-error"
364        modules="HTML::Parser">
365    <d:message xml:lang="en">The hexadecimal representation of the code position    <d:message xml:lang="en">The hexadecimal representation of the code position
366    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>
367    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 176  Web Document Conformance Checker (BETA)< Line 383  Web Document Conformance Checker (BETA)<
383  </d:item>  </d:item>
384    
385  <d:item name="bogus comment"  <d:item name="bogus comment"
386      class="tokenize-error">      class="tokenize-error"
387        modules="HTML::Parser">
388    <d:message xml:lang="en">String <code>&lt;!</code> is not followed    <d:message xml:lang="en">String <code>&lt;!</code> is not followed
389    by <code>--</code>.</d:message>    by <code>--</code>.</d:message>
390    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 189  Web Document Conformance Checker (BETA)< Line 397  Web Document Conformance Checker (BETA)<
397    
398      <dl class="switch">      <dl class="switch">
399      <dt>Comments</dt>      <dt>Comments</dt>
400        <dd>In HTML documents, comments must be introduced by        <dd>In HTML document, comments must be introduced by
401        <code>&lt;!--</code> (<code>&lt;!</code> <em>immediately</em> followed        <code class="example">&lt;!--</code> (<code>&lt;!</code>
402          <em>immediately</em> followed
403        by <em>two</em> <code>-</code>s) and must be terminated by        by <em>two</em> <code>-</code>s) and must be terminated by
404        <code>--></code>.  Strings <code>&lt;!</code> not followed        <code class="example">--></code>.
405          Strings <code>&lt;!</code> not followed
406        by <code>--</code> and <code>&lt;!-</code> not followed by        by <code>--</code> and <code>&lt;!-</code> not followed by
407        <code>-</code> are not valid open delimiters for comments.</dd>        <code>-</code> are not valid open delimiters for comments.</dd>
408      <dt>Marked sections, including <code>CDATA</code> sections</dt>      <dt>Marked sections, including <code>CDATA</code> sections</dt>
409        <dd>Marked sections are not allowed in HTML documents.</dd>        <dd>Marked sections are not allowed in HTML document.</dd>
410      <dt>Markup declarations</dt>      <dt>Markup declarations</dt>
411        <dd>Markup declarations, except <code>DOCTYPE</code>        <dd>Markup declarations, except for <code>DOCTYPE</code>
412        and comment declarations, are not allowed in HTML documents.</dd>        and comment declarations, are not allowed in HTML document.</dd>
413      <dt>String <code>&lt;!</code></dt>      <dt>String <code>&lt;!</code></dt>
414        <dd>String <code>&lt;!</code> must be escaped as        <dd>String <code>&lt;!</code> must be escaped as
415        <code>&amp;lt;!</code>.</dd>        <code class="example">&amp;lt;!</code>.</dd>
416      </dl>      </dl>
417    </d:desc>    </d:desc>
418  </d:item>  </d:item>
419    
420  <d:item name="bogus end tag"  <d:item name="bogus end tag"
421      class="tokenize-error">      class="tokenize-error"
422        modules="HTML::Parser">
423    <d:message xml:lang="en">String <code>&lt;/</code> is not followed    <d:message xml:lang="en">String <code>&lt;/</code> is not followed
424    by tag name.</d:message><!-- </ non-name-start-char-non-EOF -->    by tag name.</d:message><!-- </ non-name-start-char-non-EOF -->
425    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 229  Web Document Conformance Checker (BETA)< Line 440  Web Document Conformance Checker (BETA)<
440    </d:desc>    </d:desc>
441  </d:item>  </d:item>
442    
443    <d:item name="C1 character reference"
444        class="tokenize-error"
445        modules="HTML::Parser">
446      <d:message xml:lang="en">Character reference to
447      <code><var>{text}</var></code> is not allowed.</d:message>
448    </d:item>
449    
450    <d:item name="CR character reference"
451        class="tokenize-error"
452        modules="HTML::Parser">
453      <d:message xml:lang="en">Character reference to
454      <code>U+000D</code> (<code class="charname">CARRIAGE RETURN</code>)
455      is not allowed.</d:message>
456    </d:item>
457    
458  <d:item name="dash in comment"  <d:item name="dash in comment"
459      class="tokenize-error">      class="tokenize-error"
460        modules="HTML::Parser">
461    <d:message xml:lang="en">There is a <code>--</code> sequence    <d:message xml:lang="en">There is a <code>--</code> sequence
462    in a comment.</d:message>    in a comment.</d:message>
463    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 247  Web Document Conformance Checker (BETA)< Line 474  Web Document Conformance Checker (BETA)<
474  </d:item>  </d:item>
475    
476  <d:item name="duplicate attribute"  <d:item name="duplicate attribute"
477      class="tokenize-error">      class="tokenize-error"
478        modules="HTML::Parser">
479    <d:message xml:lang="en">There are two attributes with name    <d:message xml:lang="en">There are two attributes with name
480        <code><var>$0</var></code>.</d:message>        <code><var>{text}</var></code>.</d:message>
481    <d:desc xml:lang="en">    <d:desc xml:lang="en">
482      <p>There are more than one attributes with the same      <p>There are more than one attributes with the same
483      name in a tag.  The document is non-conforming.</p>      name in a tag.  The document is non-conforming.</p>
# Line 259  Web Document Conformance Checker (BETA)< Line 487  Web Document Conformance Checker (BETA)<
487    </d:desc>    </d:desc>
488  </d:item>  </d:item>
489    
490    <d:item name="empty start tag"
491        class="tokenize-error"
492        modules="HTML::Parser">
493      <d:message xml:lang="en">Empty start tag (<code>&lt;></code>) is not
494      allowed.</d:message>
495    </d:item>
496    
497    <d:item name="empty end tag"
498        class="tokenize-error"
499        modules="HTML::Parser">
500      <d:message xml:lang="en">Empty end tag (<code>&lt;/></code>) is not
501      allowed.</d:message>
502    </d:item>
503    
504    <d:item name="end tag attribute"
505        class="tokenize-error"
506        modules="HTML::Parser">
507      <d:message xml:lang="en">End tag cannot have attributes.</d:message>
508    </d:item>
509    
510    <d:item name="invalid character reference"
511        class="tokenize-error"
512        modules="HTML::Parser">
513      <d:message xml:lang="en">Character reference to
514      <code><var>{text}</var></code> is not allowed.</d:message>
515    </d:item>
516    
517  <d:item name="nestc"  <d:item name="nestc"
518      class="tokenize-error">      class="tokenize-error"
519        modules="HTML::Parser">
520    <d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be    <d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be
521    used for this element.</d:message>    used for this element.</d:message>
522    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 277  Web Document Conformance Checker (BETA)< Line 533  Web Document Conformance Checker (BETA)<
533      <dt><code>&lt;script/></code></dt>      <dt><code>&lt;script/></code></dt>
534          <dd><p>The polytheistic slash cannot be used for <code>script</code>          <dd><p>The polytheistic slash cannot be used for <code>script</code>
535          element.  Even for an empty <code>script</code> element,          element.  Even for an empty <code>script</code> element,
536          there must be an explicit end tag <code>&lt;/script></code>.</p>          there must be an explicit end tag
537            <code class="html example">&lt;/script></code>.</p>
538    
539          <p><strong>NOTE</strong>: Though some user agents interpret          <p><strong>NOTE</strong>: Though some user agents interpret
540          polytheistic slash for <code>script</code> element as the          polytheistic slash for <code>script</code> element as the
# Line 294  Web Document Conformance Checker (BETA)< Line 551  Web Document Conformance Checker (BETA)<
551          to allow polytheistic slash for these elements.</dd>          to allow polytheistic slash for these elements.</dd>
552      <dt><code>&lt;a/></code>, <code>&lt;p/></code></dt>      <dt><code>&lt;a/></code>, <code>&lt;p/></code></dt>
553          <dd>These elements are not always empty and therefore          <dd>These elements are not always empty and therefore
554          polytheistic slash is not allowed.</dd>          polytheistic slash is not allowed.  Use explicit end tag
555            to represent empty element as:
556              <pre class="example html"><code>&lt;p>&lt;/p></code></pre>
557            </dd>
558      </dl>      </dl>
559    
560      <p>Note that, unlike in XML, the polytheistic slash has      <p>Note that, unlike in XML, the polytheistic slash has
# Line 302  Web Document Conformance Checker (BETA)< Line 562  Web Document Conformance Checker (BETA)<
562    </d:desc>    </d:desc>
563  </d:item>  </d:item>
564    
565    <d:item name="no DOCTYPE name"
566        class="tokenize-error"
567        modules="HTML::Parser">
568      <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE </code>, the
569      document type name must be specified.</d:message>
570    </d:item>
571    
572    <d:item name="no PUBLIC literal"
573        class="tokenize-error"
574        modules="HTML::Parser">
575      <d:message xml:lang="en">After the keyword <code>PUBLIC</code>, no
576      oublic identifier is specified.</d:message>
577    </d:item>
578    
579    <d:item name="no refc"
580        class="tokenize-error"
581        modules="HTML::Parser">
582      <d:message xml:lang="en">Character reference must be closed by a
583      <code>;</code> character.</d:message>
584    </d:item>
585    
586    <d:item name="no space before DOCTYPE name"
587        class="tokenize-error"
588        modules="HTML::Parser">
589      <d:message xml:lang="en">After the string <code>&lt;!DOCTYPE</code>, there
590      must be at least a white space character before the document type
591      name.</d:message>
592    </d:item>
593    
594    <d:item name="no space between attributes"
595        class="tokenize-error"
596        modules="HTML::Parser">
597      <d:message xml:lang="en">Attributes must be separeted by at least a
598      white space character.</d:message>
599    </d:item>
600    
601    <d:item name="no SYSTEM literal"
602        class="tokenize-error"
603        modules="HTML::Parser">
604      <d:message xml:lang="en">After the keyword <code>SYSTEM</code>, no
605      system identifier is specified.</d:message>
606    </d:item>
607    
608  <d:item name="pio"  <d:item name="pio"
609      class="tokenize-error">      class="tokenize-error"
610        modules="HTML::Parser">
611    <d:message xml:lang="en">Processing instruction    <d:message xml:lang="en">Processing instruction
612    (<code>&lt;?<var>...</var>></code>) cannot be used.</d:message>    (<code>&lt;?<var>...</var>></code>) is not allowed in HTML
613      document.</d:message>
614    <d:desc xml:lang="en">    <d:desc xml:lang="en">
615      <p>Processing instructions (<code>&lt;?<var>...</var>?></code>),      <p>Processing instructions (<code>&lt;?<var>...</var>?></code>),
616      including XML declaration (<code>&lt;?xml <var>...</var>?></code>)      including XML declaration (<code>&lt;?xml <var>...</var>?></code>)
# Line 319  Web Document Conformance Checker (BETA)< Line 623  Web Document Conformance Checker (BETA)<
623        <dd>An <abbr>XBL</abbr> binding cannot be associated by        <dd>An <abbr>XBL</abbr> binding cannot be associated by
624        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
625        document.  Use <code>binding</code> property in <abbr>CSS</abbr>        document.  Use <code>binding</code> property in <abbr>CSS</abbr>
626        style sheet.</dd>        style sheet as:
627            <pre class="html example"><code>&lt;style>
628    p {
629      binding: url(binding.xbl);
630    }
631    &lt;/style></code></pre>
632          </dd>
633      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
634          <dd>XML declaration is unnecessary for HTML documents.</dd>          <dd>XML declaration is unnecessary for HTML documents.</dd>
635      <dt><code>&lt;?xml-stylesheet?></code> (XML style sheet      <dt><code>&lt;?xml-stylesheet?></code> (XML style sheet
# Line 327  Web Document Conformance Checker (BETA)< Line 637  Web Document Conformance Checker (BETA)<
637          <dd>Use HTML <code>link</code> element with <code>rel</code>          <dd>Use HTML <code>link</code> element with <code>rel</code>
638          attribute set to <code>stylesheet</code> (or,          attribute set to <code>stylesheet</code> (or,
639          <code>alternate stylesheet</code> for an alternate style          <code>alternate stylesheet</code> for an alternate style
640          sheet).</dd>          sheet).
641              <pre class="example html"><code>&lt;link rel=stylesheet href="path/to/stylesheet.css"></code></pre>
642            </dd>
643      <dt><code>&lt;?php?&gt;</code> or      <dt><code>&lt;?php?&gt;</code> or
644      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
645      (<abbr>PHP</abbr> code)</dt>      (<abbr>PHP</abbr> code)</dt>
# Line 346  Web Document Conformance Checker (BETA)< Line 658  Web Document Conformance Checker (BETA)<
658    </d:desc>    </d:desc>
659  </d:item>  </d:item>
660    
661    <d:item name="string after DOCTYPE name"
662        class="tokenize-error"
663        modules="HTML::Parser">
664      <d:message xml:lang="en">There is a bogus string after the document type
665      name.</d:message>
666    </d:item>
667    
668    <d:item name="string after PUBLIC"
669        class="tokenize-error"
670        modules="HTML::Parser">
671      <d:message xml:lang="en">There is a bogus string after the keyword
672      <code>PUBLIC</code>.</d:message>
673    </d:item>
674    
675    <d:item name="string after PUBLIC literal"
676        class="tokenize-error"
677        modules="HTML::Parser">
678      <d:message xml:lang="en">There is a bogus string after the public
679      identifier.</d:message>
680    </d:item>
681    
682    <d:item name="string after SYSTEM"
683        class="tokenize-error"
684        modules="HTML::Parser">
685      <d:message xml:lang="en">There is a bogus string after the keyword
686      <code>SYSTEM</code>.</d:message>
687    </d:item>
688    
689    <d:item name="string after SYSTEM literal"
690        class="tokenize-error"
691        modules="HTML::Parser">
692      <d:message xml:lang="en">There is a bogus string after the system
693      identifier.</d:message>
694    </d:item>
695    
696    <d:item name="unclosed attribute value"
697        class="tokenize-error"
698        modules="HTML::Parser">
699      <d:message xml:lang="en">Attribute value is not closed by a quotation
700      mark.</d:message>
701    </d:item>
702    
703    <d:item name="unclosed comment"
704        class="tokenize-error"
705        modules="HTML::Parser">
706      <d:message xml:lang="en">Comment is not closed by a string
707      <code>--></code>.</d:message>
708    </d:item>
709    
710    <d:item name="unclosed DOCTYPE"
711        class="tokenize-error"
712        modules="HTML::Parser">
713      <d:message xml:lang="en">The <code>DOCTYPE</code> is not closed by a
714      <code>></code> character.</d:message>
715    </d:item>
716    
717    <d:item name="unclosed PUBLIC literal"
718        class="tokenize-error"
719        modules="HTML::Parser">
720      <d:message xml:lang="en">The public identifier literal is not closed by a
721      quotation mark.</d:message>
722    </d:item>
723    
724    <d:item name="unclosed SYSTEM literal"
725        class="tokenize-error"
726        modules="HTML::Parser">
727      <d:message xml:lang="en">The system identifier literal is not closed by a
728      quotation mark.</d:message>
729    </d:item>
730    
731    <d:item name="unclosed tag"
732        class="tokenize-error"
733        modules="HTML::Parser">
734      <d:message xml:lang="en">Tag is not closed by a <code>></code>
735      character.</d:message>
736    </d:item>
737    
738  </section>  </section>
739    
740  <section id="html5-parse-errors">  <section id="html5-parse-errors">
741  <h2>HTML5 Parse Errors in Tree Construction Stage</h2>  <h2>HTML5 Parse Errors in Tree Construction Stage</h2>
742    
743    <d:item name="after body"
744        class="parse-error"
745        modules="HTML::Parser">
746      <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
747      not allowed after the <code>body</code> is closed.</d:message>
748    </d:item>
749    
750    <d:item name="after body:/"
751        class="parse-error"
752        modules="HTML::Parser">
753      <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
754      not allowed after the <code>body</code> is closed.</d:message>
755    </d:item>
756    
757    <d:item name="after body:#text"
758        class="parse-error"
759        modules="HTML::Parser">
760      <d:message xml:lang="en">Non‐white‐space characters are not allowed
761      after the <code>body</code> is closed.</d:message>
762    </d:item>
763    
764    <d:item name="after frameset"
765        class="parse-error"
766        modules="HTML::Parser">
767      <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
768      not allowed after the <code>frameset</code> is closed.</d:message>
769    </d:item>
770    
771    <d:item name="after frameset:/"
772        class="parse-error"
773        modules="HTML::Parser">
774      <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
775      not allowed after the <code>frameset</code> is closed.</d:message>
776    </d:item>
777    
778    <d:item name="after frameset:#text"
779        class="parse-error"
780        modules="HTML::Parser">
781      <d:message xml:lang="en">Non‐white‐space characters are not allowed
782      after the <code>frame</code> is closed.</d:message>
783    </d:item>
784    
785  <d:item name="after head"  <d:item name="after head"
786      class="parse-error">      class="parse-error">
787    <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
788    inserted between <code>head</code> and <code>body</code> elements.</d:message>    inserted between <code>head</code> and <code>body</code>
789      elements.</d:message>
790    <d:desc xml:lang="en">    <d:desc xml:lang="en">
791      <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
792      but before the <code>body</code> element is opened.      but before the <code>body</code> element is opened.
# Line 362  Web Document Conformance Checker (BETA)< Line 794  Web Document Conformance Checker (BETA)<
794    </d:desc>    </d:desc>
795  </d:item>  </d:item>
796    
797  <d:item name="DOCTYPE in the middle"  <d:item name="after html"
798      class="parse-error">      class="parse-error"
799    <d:message xml:lang="en">A <code>DOCTYPE</code> appears after any      modules="HTML::Parser">
800    element or data character has been seen.</d:message>    <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
801    <d:desc xml:lang="en">    not allowed after the <code>html</code> is closed.</d:message>
802      <p>A <code>DOCTYPE</code> appears after any element or data character  </d:item>
803      has been seen.  The document is non-conforming.</p>  
804        <d:item name="after html:/"
805      <p>The <code>DOCTYPE</code> must be placed before any      class="parse-error"
806      tag, reference, or data character.  Only white space characters      modules="HTML::Parser">
807      and comments can be inserted before the <code>DOCTYPE</code>.</p>    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
808    </d:desc>    not allowed after the <code>html</code> is closed.</d:message>
809    </d:item>
810    
811    <d:item name="after html:#text"
812        class="parse-error"
813        modules="HTML::Parser">
814      <d:message xml:lang="en">Non‐white‐space characters are not allowed
815      after the <code>html</code> is closed.</d:message>
816    </d:item>
817    
818    <d:item name="image"
819        class="parse-error"
820        modules="HTML::Parser">
821      <d:message xml:lang="en">The <code>image</code> element is
822      obsolete.</d:message>
823  </d:item>  </d:item>
824    
825  <d:item name="in a:a"  <d:item name="in a:a"
826      class="parse-error">      class="parse-error"
827        modules="HTML::Parser">
828    <d:message xml:lang="en">Anchor cannot be nested.</d:message>    <d:message xml:lang="en">Anchor cannot be nested.</d:message>
829    <d:desc xml:lang="en">    <d:desc xml:lang="en">
830      <p>HTML <code>a</code> elements cannot be nested.      <p>HTML <code>a</code> elements cannot be nested.
# Line 389  Web Document Conformance Checker (BETA)< Line 836  Web Document Conformance Checker (BETA)<
836  </d:item>  </d:item>
837    
838  <d:item name="in body"  <d:item name="in body"
839      class="parse-error">      class="parse-error"
840    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>      modules="HTML::Parser">
841      <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
842    is not allowed in the <code>body</code> element.</d:message>    is not allowed in the <code>body</code> element.</d:message>
843    <d:desc xml:lang="en">    <d:desc xml:lang="en">
844      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
# Line 400  Web Document Conformance Checker (BETA)< Line 848  Web Document Conformance Checker (BETA)<
848    </d:desc>    </d:desc>
849  </d:item>  </d:item>
850    
851    <d:item name="in body:#eof"
852        class="parse-error"
853        modules="HTML::Parser">
854      <d:message xml:lang="en">Some element is not closed before the end of
855      file.</d:message>
856    </d:item>
857    
858    <d:item name="in button:button"
859        class="parse-error"
860        modules="HTML::Parser">
861      <d:message xml:lang="en">The <code>button</code> element cannot be
862      nested.</d:message>
863    </d:item>
864    
865    <d:item name="in CDATA:#eof"
866        class="parse-error"
867        modules="HTML::Parser">
868      <d:message xml:lang="en">Element is not closed before the end of
869      file.</d:message>
870    </d:item>
871    
872    <d:item name="in form:form"
873        class="parse-error"
874        modules="HTML::Parser">
875      <d:message xml:lang="en">Start tag <code>&lt;form></code> is
876      not allowed in a <code>form</code> element.</d:message>
877    </d:item>
878    
879    <d:item name="in frameset"
880        class="parse-error"
881        modules="HTML::Parser">
882      <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
883      not allowed in a <code>framset</code> element.</d:message>
884    </d:item>
885    
886    <d:item name="in frameset:/"
887        class="parse-error"
888        modules="HTML::Parser">
889      <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>></code> is
890      not allowed in a <code>frameset</code> element.</d:message>
891    </d:item>
892    
893    <d:item name="in frameset:#text"
894        class="parse-error"
895        modules="HTML::Parser">
896      <d:message xml:lang="en">Non‐white‐space characters are not allowed
897      in a <code>frameset</code> element.</d:message>
898    </d:item>
899    
900  <d:item name="in head:head"  <d:item name="in head:head"
901      class="parse-error">      class="parse-error"
902        modules="HTML::Parser">
903    <d:message xml:lang="en">Start tag <code>&lt;head&gt;</code>    <d:message xml:lang="en">Start tag <code>&lt;head&gt;</code>
904    is not allowed in the <code>head</code> element.</d:message>    is not allowed in the <code>head</code> element.</d:message>
905    <d:desc xml:lang="en">    <d:desc xml:lang="en">
# Line 414  Web Document Conformance Checker (BETA)< Line 912  Web Document Conformance Checker (BETA)<
912    </d:desc>    </d:desc>
913  </d:item>  </d:item>
914    
915    <d:item name="in html:#DOCTYPE"
916        class="parse-error"
917        modules="HTML::Parser">
918      <d:message xml:lang="en">A <code>DOCTYPE</code> appears after any
919      element or data character has been seen.</d:message>
920      <!-- <!DOCTYPE HTML><!DOCTYPE HTML> -->
921      <!-- <html><!DOCTYPE HTML> -->
922      <d:desc xml:lang="en">
923        <p>A <code>DOCTYPE</code> appears after any element or data character
924        has been seen.  The document is non-conforming.</p>
925        
926        <p>The <code>DOCTYPE</code> must be placed before any
927        tag, reference, or data character.  Only white space characters
928        and comments can be inserted before the <code>DOCTYPE</code>.</p>
929      </d:desc>
930    </d:item>
931    
932    <d:item name="in nobr:nobr"
933        class="parse-error"
934        modules="HTML::Parser">
935      <d:message xml:lang="en">The <code>nobr</code> element cannot be
936      nested.</d:message>
937    </d:item>
938    
939    <d:item name="in noscript"
940        class="parse-error"
941        modules="HTML::Parser">
942      <d:message xml:lang="en">The <code><var>{text}</var></code> element is not
943      allowed in a <code>noscript</code> element in the
944      <code>head</code> element.</d:message>
945    </d:item>
946    
947    <d:item name="in noscript:/"
948        class="parse-error"
949        modules="HTML::Parser">
950      <d:message xml:lang="en">An end tag <code>&lt;/<var>{text}</var>></code>
951      appers before the <code>noscript</code> element is closed.</d:message>
952    </d:item>
953    
954    <d:item name="in noscript:#eof"
955        class="parse-error"
956        modules="HTML::Parser">
957      <d:message xml:lang="en">A <code>noscript</code> element is not closed
958      before the end of file.</d:message>
959    </d:item>
960    
961    <d:item name="in noscript:#text"
962        class="parse-error"
963        modules="HTML::Parser">
964      <d:message xml:lang="en">Non‐white‐space characters are not allowed
965      in a <code>noscript</code> element in the <code>head</code>
966      element.</d:message>
967    </d:item>
968    
969    <d:item name="in PCDATA:#eof"
970        class="parse-error"
971        modules="HTML::Parser">
972      <d:message xml:lang="en">Element is not closed before the end of
973      file.</d:message>
974    </d:item>
975    
976    <d:item name="in select"
977        class="parse-error"
978        modules="HTML::Parser">
979      <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
980      is not allowed in a <code>select</code> element.</d:message>
981    </d:item>
982    
983    <d:item name="in select:/"
984        class="parse-error"
985        modules="HTML::Parser">
986      <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>
987      is not allowed in a <code>select</code> element.</d:message>
988    </d:item>
989    
990  <d:item name="in table"  <d:item name="in table"
991      class="parse-error">      class="parse-error"
992    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>      modules="HTML::Parser">
993      <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>&gt;</code>
994    is not allowed in a <code>table</code> element.</d:message>    is not allowed in a <code>table</code> element.</d:message>
995    <d:desc xml:lang="en">    <d:desc xml:lang="en">
996      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
# Line 432  Web Document Conformance Checker (BETA)< Line 1006  Web Document Conformance Checker (BETA)<
1006    </d:desc>    </d:desc>
1007  </d:item>  </d:item>
1008    
1009  <d:item name="in table:#character"  <d:item name="in table:/"
1010      class="parse-error">      class="parse-error"
1011    <d:message xml:lang="en">Data character is not allowed in      modules="HTML::Parser">
1012    <code>table</code>.</d:message>    <d:message xml:lang="en">End tag <code>&lt;/<var>{text}</var>&gt;</code>
1013      is not allowed in a <code>table</code> element.</d:message>
1014    </d:item>
1015    
1016    <d:item name="in table:#text"
1017        class="parse-error"
1018        modules="HTML::Parser">
1019      <d:message xml:lang="en">Non‐white‐space character is not allowed within
1020      the <code>table</code> element, outside of the caption and cells.</d:message>
1021    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1022      <p>A data character appears in <code>table</code>.  The document      <p>A non‐white‐space character appears in <code>table</code>.
1023      is non-conforming.</p>      The document is non-conforming.</p>
1024    
1025      <p>In <code>table</code>, only table related elements      <p>In <code>table</code>, only table related elements
1026      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 448  Web Document Conformance Checker (BETA)< Line 1030  Web Document Conformance Checker (BETA)<
1030    </d:desc>    </d:desc>
1031  </d:item>  </d:item>
1032    
1033    <d:item name="isindex"
1034        class="parse-error"
1035        modules="HTML::Parser">
1036      <d:message xml:lang="en">The <code>isindex</code> element is
1037      obsolete.</d:message>
1038    </d:item>
1039    
1040  <d:item name="missing start tag:tr"  <d:item name="missing start tag:tr"
1041      class="parse-error">      class="parse-error"
1042        modules="HTML::Parser">
1043    <d:message xml:lang="en">Start tag of <code>tr</code>    <d:message xml:lang="en">Start tag of <code>tr</code>
1044    element is missing.</d:message>    element is missing.</d:message>
1045    <d:desc>    <d:desc>
# Line 465  Web Document Conformance Checker (BETA)< Line 1055  Web Document Conformance Checker (BETA)<
1055  </d:item>  </d:item>
1056    
1057  <d:item name="no DOCTYPE"  <d:item name="no DOCTYPE"
1058      class="parse-error">      class="parse-error"
1059        modules="HTML::Parser">
1060    <d:message xml:lang="en">This document does not start with a    <d:message xml:lang="en">This document does not start with a
1061    <code>DOCTYPE</code>.</d:message>    <code>DOCTYPE</code>.</d:message>
1062    <d:desc>    <d:desc>
# Line 483  Web Document Conformance Checker (BETA)< Line 1074  Web Document Conformance Checker (BETA)<
1074  </d:item>  </d:item>
1075    
1076  <d:item name="not closed"  <d:item name="not closed"
1077      class="parse-error">      class="parse-error"
1078    <d:message xml:lang="en">Element <code><var>$0</var></code> is not      modules="HTML::Parser">
1079      <d:message xml:lang="en">Element <code><var>{text}</var></code> is not
1080    closed.</d:message>    closed.</d:message>
1081    <d:desc>    <d:desc>
1082      <p>End tag of an element is not found before, for example,      <p>End tag of an element is not found before, for example,
# Line 506  Web Document Conformance Checker (BETA)< Line 1098  Web Document Conformance Checker (BETA)<
1098        <dd>Though the element is void in earlier versions of Safari,        <dd>Though the element is void in earlier versions of Safari,
1099        the <code>canvas</code> element is <em>no</em> longer        the <code>canvas</code> element is <em>no</em> longer
1100        defined as empty.  There must be an end tag        defined as empty.  There must be an end tag
1101        <code>&lt;/canvas></code>.</dd>        <code class="html example">&lt;/canvas></code>.</dd>
1102      </dl>      </dl>
1103    
1104      <p>Note that misnesting tags, such as      <p>Note that misnesting tags, such as
# Line 516  Web Document Conformance Checker (BETA)< Line 1108  Web Document Conformance Checker (BETA)<
1108  </d:item>  </d:item>
1109    
1110  <d:item name="not first start tag"  <d:item name="not first start tag"
1111      class="parse-error">      class="parse-error"
1112        modules="HTML::Parser">
1113    <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
1114    the first start tag.</d:message>    the first start tag.</d:message>
1115    <d:desc>    <d:desc>
# Line 534  Web Document Conformance Checker (BETA)< Line 1127  Web Document Conformance Checker (BETA)<
1127  </d:item>  </d:item>
1128    
1129  <d:item name="not HTML5"  <d:item name="not HTML5"
1130      class="parse-error">      class="parse-error"
1131        modules="HTML::Parser">
1132    <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
1133    HTML.</d:message>    HTML.</d:message>
1134    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1135      <p>The document contains a <code>DOCTYPE</code> declaration      <p>The document contains a <code>DOCTYPE</code> declaration
1136      that is different from HTML5 <code>DOCTYPE</code> (i.e.      that is different from HTML5 <code>DOCTYPE</code> (i.e.
1137      <code>&lt;!DOCTYPE HTML&gt;</code>).  The document is non-conforming.</p>      <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
1138        The document is non‐conforming.</p>
1139    
1140      <p>The document might or might not be conformant to      <p>The document might or might not be conformant to
1141      some version of HTML.  However, conformance to any HTML      some version of HTML.  However, conformance to any HTML
# Line 550  Web Document Conformance Checker (BETA)< Line 1145  Web Document Conformance Checker (BETA)<
1145    </d:desc>    </d:desc>
1146  </d:item>  </d:item>
1147    
1148    <d:item name="start tag not allowed"
1149        class="parse-error"
1150        modules="HTML::Parser">
1151      <d:message xml:lang="en">Start tag <code>&lt;<var>{text}</var>></code> is
1152      not allowed here.</d:message>
1153    </d:item>
1154    
1155  <d:item name="unmatched end tag"  <d:item name="unmatched end tag"
1156      class="parse-error">      class="parse-error"
1157    <d:message xml:lang="en">Element <code><var>$0</var></code> is not      modules="HTML::Parser">
1158      <d:message xml:lang="en">Element <code><var>{text}</var></code> is not
1159    opened.</d:message>    opened.</d:message>
1160    <d:desc>    <d:desc>
1161      <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 672  Web Document Conformance Checker (BETA)< Line 1275  Web Document Conformance Checker (BETA)<
1275                    block-level content, any inline-level content must be                    block-level content, any inline-level content must be
1276                    put in e.g. paragraph element such as <code>p</code>.</p>                    put in e.g. paragraph element such as <code>p</code>.</p>
1277                    <p>For example, an HTML document fragment                    <p>For example, an HTML document fragment
1278                    <code class="bad example">&lt;div>&lt;p>Hello!&lt;/p> World!&lt;/div></code>                    <code class="html bad example">&lt;div>&lt;p>Hello!&lt;/p> World!&lt;/div></code>
1279                    is non-conforming, since a word <q>World!</q> does not belong                    is non-conforming, since a word <q>World!</q> does not belong
1280                    to any paragraph.  (If not part of any paragraph, what is                    to any paragraph.  (If not part of any paragraph, what is
1281                    it!?)  A conforming example would be:                    it!?)  A conforming example would be:
1282                      <pre class="example"><code>&lt;div>&lt;p>Hello!&lt;/p> &lt;p>World!&lt;/p>&lt;/div></code></pre>                      <pre class="html example"><code>&lt;div>&lt;p>Hello!&lt;/p> &lt;p>World!&lt;/p>&lt;/div></code></pre>
1283                    </p></dd>                    </p></dd>
1284                <dt>If the parent element does <em>not</em> allow                <dt>If the parent element does <em>not</em> allow
1285                block-level elements as content</dt>                block-level elements as content</dt>
# Line 720  Web Document Conformance Checker (BETA)< Line 1323  Web Document Conformance Checker (BETA)<
1323    
1324      <dl class="switch">      <dl class="switch">
1325      <dt><code>html</code> element in an XHTML document</dt>      <dt><code>html</code> element in an XHTML document</dt>
1326          <dd><p>In an XHTML document, the root <code>html</code>          <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
1327          element must have an <code>xmlns</code> attribute          element must have an <code>xmlns</code> attribute as:
1328          whose value is set to            <pre class="xml example"><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"></code></pre></p></dd>
         <code>http://www.w3.org/1999/xhtml</code>.</p></dd>  
1329      <dt><code>rss</code> element</dt>      <dt><code>rss</code> element</dt>
1330          <dd><p>The document is written in some version of RSS.</p>          <dd><p>The document is written in some version of RSS.</p>
1331          <p>The conformance checker does not support any version          <p>The conformance checker does not support any version
1332          of RSS.  Use Atom 1.0 for feed documents.</p></dd>          of RSS.  Use Atom 1.0 for feed documents.</p></dd>
1333      <dt><code>feed</code> element</dt>      <dt><code>feed</code> element</dt>
1334          <dd><p>The Atom <code>feed</code> element must be          <dd><p>The Atom <code>feed</code> element must be
1335          in the <code>http://www.w3.org/2004/Atom</code>          in the <code>http://www.w3.org/2005/Atom</code>
1336          namespace.</p>          namespace as:
1337              <pre class="xml example"><code>&lt;feed xmlns="http://www.w3.org/2005/Atom"></code></pre>
1338            </p>
1339          <p>The conformance checker does not support Atom 0.3.          <p>The conformance checker does not support Atom 0.3.
1340          Use Atom 1.0 for feed documents.</p></dd>          Use Atom 1.0 for feed documents.</p></dd>
1341      </dl>      </dl>
# Line 874  Web Document Conformance Checker (BETA)< Line 1478  Web Document Conformance Checker (BETA)<
1478  <section id="attribute-value-errors">  <section id="attribute-value-errors">
1479  <h2>Attribute Value Errors</h2>  <h2>Attribute Value Errors</h2>
1480    
1481    <d:item name="charset:not registered" class="attribute-value-warning warning"
1482        level="w">
1483      <d:message xml:lang="en">Character encoding name <code><var>$0</var></code>
1484      is not registered.</d:message>
1485      <d:desc xml:lang="en">
1486        <p>The specified character encoding name is not registered to
1487        <abbr>IANA</abbr>.  Use of registered character encoding name
1488        is a good practice to facilitate interoperability.</p>
1489    
1490        <dl class="switch">
1491        <dt><code>EUC-TW</code></dt>
1492          <dd><code>EUC-TW</code> is not registered.  Unfortunately, there
1493          is no registered name for that character encoding.  Use
1494          Big5 encoding with character encoding name <code>Big5</code>
1495          if it is enough to represent the document.</dd>
1496        <dt><code>ISO-2022-JP-1</code></dt>
1497          <dd><code>ISO-2022-JP-1</code> is not registered, nevertheless
1498          this character encoding name is documented in
1499          <a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>.  Use
1500          <code>ISO-2022-JP-2</code> instead, since that character encoding
1501          is a superset of ISO-2022-JP-1.</dd>
1502        <dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt>
1503          <dd>These names are not registered and obsoleted in favor of
1504          <code>ISO-2022-JP-2004</code> and
1505          <code>ISO-2022-JP-2004-plane1</code>.</dd>
1506        <dt><code>ISO-2022-JP-2003</code>,
1507        <code>ISO-2022-JP-2003-plane1</code></dt>
1508          <dd>These names are not registered and corrected to
1509          <code>ISO-2022-JP-2004</code> and
1510          <code>ISO-2022-JP-2004-plane1</code>.</dd>
1511        <dt><code>ISO-2022-JP-2004</code>,
1512        <code>ISO-2022-JP-2004-plane1</code></dt>
1513          <dd>These names are not registered.  Unfortunately, there is
1514          no registered name for these character encodings.</dd>
1515        <dt><code>UTF-8N</code></dt>
1516          <dd><code>UTF-8N</code> is not registered.  Character encoding
1517          name <code>UTF-8</code> represents UTF-8 encoding with or
1518          without <abbr>BOM</abbr>.</dd>
1519        </dl>
1520    
1521        <p><strong>WARNING</strong>: This error might be raised for
1522        a registered character encoding name, since the character encoding
1523        name database of the conformance checker is not complete yet.</p>
1524      </d:desc>
1525    </d:item>
1526    
1527    <d:item name="charset:private" class="attribute-value-warning warning"
1528        level="w">
1529      <d:message xml:lang="en"><code><var>$0</var></code> is a private
1530      character encoding name.</d:message>
1531      <d:desc xml:lang="en">
1532        <p>The specified character encoding name is a private name and
1533        not registered to <abbr>IANA</abbr>.  Use of registered character
1534        encoding name is a good practice to facilitate interoperability.</p>
1535    
1536        <dl class="switch">
1537        <dt><code>x-euc-jp</code></dt>
1538          <dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr>
1539          character encoding.</dd>
1540        <dt><code>x-sjis</code></dt>
1541          <dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of
1542          <abbr>JIS</abbr> coded character set, or <code>Windows-31J</code>
1543          for Microsoft standard character set as implemented by
1544          Microsoft Windows.</dd>
1545        </dl>
1546      </d:desc>
1547    </d:item>
1548    
1549    <d:item name="charset:syntax error" class="attribute-value-error"
1550        level="m">
1551      <d:message xml:lang="en">The specified value is syntactically not a
1552      character encoding name.</d:message>
1553      <d:desc xml:lang="en">
1554        <p>The attribute value must be a character encoding name.  However,
1555        the specified value is not a character encoding name syntactically.
1556        The document is non‐conforming.</p>
1557        <p>Character encoding name is a string of <abbr>ASCII</abbr>
1558        printable characters, up to 40 characters.</p>
1559      </d:desc>
1560    </d:item>
1561    
1562  <d:item name="enumerated:invalid"  <d:item name="enumerated:invalid"
1563      class="attribute-value-error">      class="attribute-value-error">
1564    <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
# Line 886  Web Document Conformance Checker (BETA)< Line 1571  Web Document Conformance Checker (BETA)<
1571    
1572      <dl>      <dl>
1573      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
1574          <dd><p>Only <code>Default-Style</code> and <code>Refresh</code>          <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
1575          is allowed.</p>          are allowed.</p>
1576          <p>Value <code>Content-Type</code> is obsolete; for charset          <p>Value <code>Content-Type</code> is obsolete; for charset
1577          declaration, the <code>charset</code> attribute can be used as:          declaration, the <code>charset</code> attribute can be used as:
1578          <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>          <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
# Line 905  Web Document Conformance Checker (BETA)< Line 1590  Web Document Conformance Checker (BETA)<
1590    </d:desc>    </d:desc>
1591  </d:item>  </d:item>
1592    
1593    <d:item name="enumerated:invalid:http-equiv:content-type"
1594        class="attribute-value-error">
1595      <d:message xml:lang="en">Character encoding declaration syntax
1596      <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code>
1597      is obsolete.</d:message>
1598      <d:desc xml:lang="en">
1599        <p>Old long character encoding declaration syntax
1600        <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"></code>
1601        is in use.  The document is non‐conforming.</p>
1602    
1603        <p>The new character encoding declaration syntax is:
1604          <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
1605        </p>
1606      </d:desc>
1607    </d:item>
1608    
1609  <d:item name="duplicate ID"  <d:item name="duplicate ID"
1610      class="attribute-value-error">      class="attribute-value-error">
1611    <d:message xml:lang="en">This identifier has already been    <d:message xml:lang="en">This identifier has already been
# Line 954  Web Document Conformance Checker (BETA)< Line 1655  Web Document Conformance Checker (BETA)<
1655    </d:desc>    </d:desc>
1656  </d:item>  </d:item>
1657    
1658    <d:item name="mismatched charset name" class="attribute-value-error"
1659        level="m">
1660      <d:message xml:lang="en">Character encoding name <code><var>$1</var></code>
1661      is different from document character encoding
1662      <code><var>$0</var></code>.</d:message>
1663      <d:desc xml:lang="en">
1664        <p>The specified character encoding name is different from
1665        the character encoding of the document.  The document
1666        is non‐conforming.</p>
1667      </d:desc>
1668    </d:item>
1669    
1670  <d:item name="reserved browsing context name"  <d:item name="reserved browsing context name"
1671      class="attribute-value-error">      class="attribute-value-error">
1672    <d:message xml:lang="en">Browsing context name    <d:message xml:lang="en">Browsing context name
# Line 1027  Web Document Conformance Checker (BETA)< Line 1740  Web Document Conformance Checker (BETA)<
1740      The document is non-conforming.</p>      The document is non-conforming.</p>
1741    
1742      <p>For example, the table below is non-conforming:      <p>For example, the table below is non-conforming:
1743        <pre class="html non-conforming example"><code>&lt;table>        <pre class="html bad example"><code>&lt;table>
1744  &lt;tbody>  &lt;tbody>
1745  &lt;tr>&lt;td rowspan=2>&lt;/td>&lt;/tr>  &lt;tr>&lt;td rowspan=2>&lt;/td>&lt;/tr>
1746  &lt;/tbody>  &lt;/tbody>
# Line 1194  Web Document Conformance Checker (BETA)< Line 1907  Web Document Conformance Checker (BETA)<
1907      <code>text/cache-manifest</code> must contain a cache manifest.</p>      <code>text/cache-manifest</code> must contain a cache manifest.</p>
1908    
1909      <p>A cache manifest must start with a line whose content is      <p>A cache manifest must start with a line whose content is
1910      <code>CACHE MANIFEST</code> (exactly one space character between      <code class="manifest example">CACHE MANIFEST</code>
1911        (exactly one space character between
1912      <code>CACHE</code> and <code>MANIFEST</code>).</p>      <code>CACHE</code> and <code>MANIFEST</code>).</p>
1913    </d:desc>    </d:desc>
1914  </d:item>  </d:item>
1915  </section>  </section>
1916    
1917    <section id="information">
1918    <h2>Stability Information</h2>
1919    
1920    <d:item name="status:cr:element" class="level-i" level="i">
1921      <d:message xml:lang="en">This element is in the
1922      <strong>call for implementation</strong> stage.</d:message>
1923      <d:desc xml:lang="en">
1924        <p>The element is in the call for implementation stage.</p>
1925        
1926        <p>Usually, using the element is safe.  However, it is a new feature
1927        so that it might not be implemented correctly.  If it is found that
1928        the feature is hard or impossible to implement, the feature
1929        might be revised, or in some case it might be dropped.</p>
1930    
1931        <p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0
1932        (W3C Candidate Recommendation) belong to this class.</p>
1933      </d:desc>
1934    </d:item>
1935    
1936    <d:item name="status:lc:element" class="level-i" level="i">
1937      <d:message xml:lang="en">This element is in the <strong>last
1938      call for comments</strong> stage.</d:message>
1939      <d:desc xml:lang="en">
1940        <p>The element is in the last call for comments stage.</p>
1941        
1942        <p>The element is relatively mature, though the standardization
1943        is not done yet.  It may be used for experiments.  Since it is a new
1944        feature, it might not be implemented correctly or at all.  If it is
1945        found that the feature is hard or impossible to implement, the feature
1946        might be revised or might be dropped.</p>
1947    
1948        <p>Elements defined by Web Forms 2.0 as well as some elements
1949        defined by HTML5 belong to this class.</p>
1950      </d:desc>
1951    </d:item>
1952    
1953    <d:item name="status:wd:element" class="level-i" level="i">
1954      <d:message xml:lang="en">This element is documented in a <strong>working
1955      draft</strong>.</d:message>
1956      <d:desc xml:lang="en">
1957        <p>The element is documented in a working or editor's draft
1958        and not yet completed.</p>
1959        
1960        <p>The element should not be used for any practical purpose.
1961        The feature might be drastically changed later or might be
1962        entirely removed.</p>
1963    
1964        <p>Most of new elements defined by HTML5 belong to this class.</p>
1965      </d:desc>
1966    </d:item>
1967    
1968    <d:item name="status:non-standard:element" class="level-i" level="i">
1969      <d:message xml:lang="en">This element is <strong>not part of any
1970      standard</strong> the conformance checker knows.</d:message>
1971      <d:desc xml:lang="en">
1972        <p>The element is not part of any standard or draft the conformance
1973        checker is aware of.</p>
1974        
1975        <p>The element should not be used for any practical purpose unless
1976        there is really a standard that defines the element.</p>
1977      </d:desc>
1978    </d:item>
1979    </section>
1980    
1981  <section id="unsupported-messages">  <section id="unsupported-messages">
1982  <h2><i>Unsupported</i> Messages</h2>  <h2><i>Unsupported</i> Messages</h2>
1983    
# Line 1280  Web Document Conformance Checker (BETA)< Line 2058  Web Document Conformance Checker (BETA)<
2058    
2059  </section>  </section>
2060    
2061  <d:catalog>  <d:cat name="WebHACC:Title">
2062  manakaiCompatMode:quirks;;Quirks Mode    <d:text xml:lang="en">WebHACC (β)</d:text>
2063  manakaiCompatMode:limited quirks;;Limited Quirks Mode  </d:cat>
2064  manakaiCompatMode:no quirks;;No Quirks Mode  
2065    <d:cat name="WebHACC:Heading">
2066  manakaiIsHTML:1;;HTML Document    <d:text xml:lang="en">
2067  manakaiIsHTML:0;;XML Document      <a href="../cc-about"><abbr title="Web Hypertext Application Conformance Checker (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a>
2068  </d:catalog>    </d:text>
2069      <d:text xml:lang="ja">
2070        <a href="../cc-about"><abbr title="Web ハイパーテキスト応用適合性検査器 (β)"><img src="../icons/title" alt="WebHACC"/></abbr></a>
2071      </d:text>
2072    </d:cat>
2073    
2074    <d:cat name="Input">
2075      <d:text xml:lang="en">Input</d:text>
2076      <d:text xml:lang="ja">入力</d:text>
2077    </d:cat>
2078    
2079    <d:cat name="By URL">
2080      <d:text xml:lang="en">By URL</d:text>
2081      <d:text xml:lang="ja">URL で指定</d:text>
2082    </d:cat>
2083    
2084    <d:cat name="By direct input">
2085      <d:text xml:lang="en">By direct input</d:text>
2086      <d:text xml:lang="ja">直接入力</d:text>
2087    </d:cat>
2088    
2089    <d:cat name="Options">
2090      <d:text xml:lang="en">More options</d:text>
2091      <d:text xml:lang="ja">検査オプション</d:text>
2092    </d:cat>
2093    
2094    <d:cat name="Check error page">
2095      <d:text xml:lang="en">Check an error page</d:text>
2096      <d:text xml:lang="ja">誤り頁を検査する</d:text>
2097    </d:cat>
2098    
2099    <d:cat name="Content type">
2100      <d:text xml:lang="en">Content type</d:text>
2101      <d:text xml:lang="ja">内容型</d:text>
2102    </d:cat>
2103    
2104    <d:cat name="Charset">
2105      <d:text xml:lang="en">Character encoding</d:text>
2106      <d:text xml:lang="ja">文字符号化</d:text>
2107    </d:cat>
2108    
2109    <d:cat name="As specified">
2110      <d:text xml:lang="en">As specified</d:text>
2111      <d:text xml:lang="ja">指定通り</d:text>
2112    </d:cat>
2113    
2114    <d:cat name="Japanese charsets">
2115      <d:text xml:lang="en">Japanese character encodings</d:text>
2116      <d:text xml:lang="ja">日本語用文字符号化</d:text>
2117    </d:cat>
2118    
2119    <d:cat name="European charsets">
2120      <d:text xml:lang="en">European character encodings</d:text>
2121      <d:text xml:lang="ja">欧米言語用文字符号化</d:text>
2122    </d:cat>
2123    
2124    <d:cat name="Asian charsets">
2125      <d:text xml:lang="en">Asian character encodings</d:text>
2126      <d:text xml:lang="ja">アジア諸語用文字符号化</d:text>
2127    </d:cat>
2128    
2129    <d:cat name="Unicode charsets">
2130      <d:text xml:lang="en">Unicode character encodings</d:text>
2131      <d:text xml:lang="ja">Unicode 系文字符号化</d:text>
2132    </d:cat>
2133    
2134    <d:cat name="Document source to check">
2135      <d:text xml:lang="en">Document source to check</d:text>
2136      <d:text xml:lang="ja">検査する文書のソース</d:text>
2137    </d:cat>
2138    
2139    <d:cat name="Check">
2140      <d:text xml:lang="en">Check</d:text>
2141      <d:text xml:lang="ja">検査</d:text>
2142    </d:cat>
2143    
2144    <d:cat name="Setting innerHTML">
2145      <d:text xml:lang="en">Setting <code>innerHTML</code> of HTML element</d:text>
2146      <d:text xml:lang="ja"><code>innerHTML</code> に値を設定する HTML 要素</d:text>
2147    </d:cat>
2148    
2149    <d:cat name="Information">
2150      <d:text xml:lang="en">Information</d:text>
2151      <d:text xml:lang="ja">情報</d:text>
2152    </d:cat>
2153    
2154    <d:cat name="HTTP Header">
2155      <d:text xml:lang="en"><abbr title="Hypertext Transfer Protocol">HTTP</abbr>
2156          Header</d:text>
2157      <d:text xml:lang="ja"><abbr lang="en" title="Hypertext Transfer Protocol">HTTP</abbr>
2158          頭部</d:text>
2159    </d:cat>
2160    
2161    <d:cat name="Parse Errors Section">
2162      <d:text xml:lang="en">Parse Errors</d:text>
2163      <d:text xml:lang="ja">構文誤り</d:text>
2164    </d:cat>
2165    
2166    <d:cat name="Parse Errors">
2167      <d:text xml:lang="en">Parse Errors</d:text>
2168      <d:text xml:lang="ja">構文誤り</d:text>
2169    </d:cat>
2170    
2171    <d:cat name="Document Source">
2172      <d:text xml:lang="en">Document Source</d:text>
2173      <d:text xml:lang="ja">文書のソース</d:text>
2174    </d:cat>
2175    
2176    <d:cat name="Source">
2177      <d:text xml:lang="en">Source</d:text>
2178      <d:text xml:lang="ja">ソース</d:text>
2179    </d:cat>
2180    
2181    <d:cat name="Tables Section">
2182      <d:text xml:lang="en">Structure of Tables</d:text>
2183      <d:text xml:lang="ja">表の構造</d:text>
2184    </d:cat>
2185    
2186    <d:cat name="Tables">
2187      <d:text xml:lang="en">Tables</d:text>
2188      <d:text xml:lang="ja">表</d:text>
2189    </d:cat>
2190    
2191    <d:cat name="Document Tree">
2192      <d:text xml:lang="en">Document Tree</d:text>
2193      <d:text xml:lang="ja">文書木</d:text>
2194    </d:cat>
2195    
2196    <d:cat name="Tree">
2197      <d:text xml:lang="en">Tree</d:text>
2198      <d:text xml:lang="ja">木</d:text>
2199    </d:cat>
2200    
2201    <d:cat name="Document">
2202      <d:text xml:lang="en">Document</d:text>
2203      <d:text xml:lang="ja">文書</d:text>
2204    </d:cat>
2205    
2206    <d:cat name="Document Structure">
2207      <d:text xml:lang="en">Document Structure</d:text>
2208      <d:text xml:lang="ja">文書構造</d:text>
2209    </d:cat>
2210    
2211    <d:cat name="Structure">
2212      <d:text xml:lang="en">Structure</d:text>
2213      <d:text xml:lang="ja">構造</d:text>
2214    </d:cat>
2215    
2216    <d:cat name="Reformatted Document Source">
2217      <d:text xml:lang="en">Reformatted Document Source</d:text>
2218      <d:text xml:lang="ja">再整形した文書のソース</d:text>
2219    </d:cat>
2220    
2221    <d:cat name="Reformatted">
2222      <d:text xml:lang="en">Reformatted</d:text>
2223      <d:text xml:lang="ja">再整形</d:text>
2224    </d:cat>
2225    
2226    <d:cat name="Structural Errors">
2227      <d:text xml:lang="en">Structural Errors</d:text>
2228      <d:text xml:lang="ja">構造的誤り</d:text>
2229    </d:cat>
2230    
2231    <d:cat name="Struct. Errors">
2232      <d:text xml:lang="en">Struct. Errors</d:text>
2233      <d:text xml:lang="ja">構造誤り</d:text>
2234    </d:cat>
2235    
2236    <d:cat name="Transfer Errors">
2237      <d:text xml:lang="en">Transfer Errors</d:text>
2238      <d:text xml:lang="ja">転送誤り</d:text>
2239    </d:cat>
2240    
2241    <d:cat name="Trans. Errors">
2242      <d:text xml:lang="en">Trans. Errors</d:text>
2243      <d:text xml:lang="ja">転送誤り</d:text>
2244    </d:cat>
2245    
2246    <d:cat name="Result">
2247      <d:text xml:lang="en">Result</d:text>
2248      <d:text xml:lang="ja">結果</d:text>
2249    </d:cat>
2250    
2251    <d:cat name="manakaiCompatMode:quirks">
2252      <d:text xml:lang="en">Quirks Mode</d:text>
2253      <d:text xml:lang="ja">奇癖モード</d:text>
2254    </d:cat>
2255    
2256    <d:cat name="manakaiCompatMode:limited quirks">
2257      <d:text xml:lang="en">Limited Quirks Mode</d:text>
2258      <d:text xml:lang="ja">限定奇癖モード</d:text>
2259    </d:cat>
2260    
2261    <d:cat name="manakaiCompatMode:no quirks">
2262      <d:text xml:lang="en">No Quirks Mode</d:text>
2263      <d:text xml:lang="ja">無奇癖モード</d:text>
2264    </d:cat>
2265    
2266    <d:cat name="manakaiIsHTML:1">
2267      <d:text xml:lang="en">HTML Document</d:text>
2268      <d:text xml:lang="ja">HTML 文書</d:text>
2269    </d:cat>
2270    
2271    <d:cat name="manakaiIsHTML:0">
2272      <d:text xml:lang="en">XML Document</d:text>
2273      <d:text xml:lang="ja">XML 文書</d:text>
2274    </d:cat>
2275    
2276    <d:cat name="manakaiCharset">
2277      <d:text xml:lang="en"><code>charset</code> parameter</d:text>
2278      <d:text xml:lang="ja"><code lang="en">charset</code> 引数</d:text>
2279    </d:cat>
2280    
2281    <d:cat name="inputEncoding">
2282      <d:text xml:lang="en">Input character encoding</d:text>
2283      <d:text xml:lang="ja">入力に用いた文字符号化</d:text>
2284    </d:cat>
2285    
2286    <d:cat name="xmlVersion">
2287      <d:text xml:lang="en">XML <code>version</code></d:text>
2288      <d:text xml:lang="ja">XML <code lang="en">version</code></d:text>
2289    </d:cat>
2290    
2291    <d:cat name="xmlEncoding">
2292      <d:text xml:lang="en">XML <code>encoding</code></d:text>
2293      <d:text xml:lang="ja">XML <code lang="en">encoding</code></d:text>
2294    </d:cat>
2295    
2296    <d:cat name="xmlStandalone">
2297      <d:text xml:lang="en">XML <code>standalone</code></d:text>
2298      <d:text xml:lang="ja">XML <code lang="en">standalone</code></d:text>
2299    </d:cat>
2300    
2301    <d:cat name="... with BOM">
2302      <d:text xml:lang="en"> (with <code class="charname"><abbr title="BYTE ORDER MARK">BOM</abbr></code>)</d:text>
2303      <d:text xml:lang="ja"> (<code class="charname" lang="en"><abbr title="BYTE ORDER MARK">BOM</abbr></code> つき)</d:text>
2304    </d:cat>
2305    
2306    <d:cat name="URL">
2307      <d:text xml:lang="en"><abbr title="Uniform Resource Locator">URL</abbr></d:text>
2308      <d:text xml:lang="ja"><abbr title="統一資源所在子">URL</abbr></d:text>
2309    </d:cat>
2310    
2311    <d:cat name="URLs">
2312      <d:text xml:lang="en"><abbr title="Uniform Resource Locators">URLs</abbr></d:text>
2313      <d:text xml:lang="ja"><abbr title="統一資源所在子">URL</abbr></d:text>
2314    </d:cat>
2315    
2316    <d:cat name="Container Node">
2317      <d:text xml:lang="en">Container Node</d:text>
2318      <d:text xml:lang="ja">この文書を含む節点</d:text>
2319    </d:cat>
2320    
2321    <d:cat name="Table Element">
2322      <d:text xml:lang="en">Table Element</d:text>
2323      <d:text xml:lang="ja">表要素</d:text>
2324    </d:cat>
2325    
2326    <d:cat name="Base URL">
2327      <d:text xml:lang="en">Base URL</d:text>
2328      <d:text xml:lang="ja">基底 URL</d:text>
2329    </d:cat>
2330    
2331    <d:cat name="Internet Media Type">
2332      <d:text xml:lang="en">Internet Media Type</d:text>
2333      <d:text xml:lang="ja">インターネット媒体型</d:text>
2334    </d:cat>
2335    
2336    <d:cat name="Character Encoding">
2337      <d:text xml:lang="en">Character Encoding</d:text>
2338      <d:text xml:lang="ja">文字符号化</d:text>
2339    </d:cat>
2340    
2341    <d:cat name="Byte Length">
2342      <d:text xml:lang="en">Byte Length</d:text>
2343      <d:text xml:lang="ja">バイト長</d:text>
2344    </d:cat>
2345    
2346    <d:cat name="Character Length">
2347      <d:text xml:lang="en">Character Length</d:text>
2348      <d:text xml:lang="ja">文字長</d:text>
2349    </d:cat>
2350    
2351    <d:cat name="... overridden">
2352      <d:text xml:lang="en"> (<i>overridden</i>)</d:text>
2353      <d:text xml:lang="ja"> (<i>上書き</i>)</d:text>
2354    </d:cat>
2355    
2356    <d:cat name="... overridden, official type is #">
2357      <d:text xml:lang="en"> (<i>overridden</i>; official type is
2358          <code lang="en" class="MIME"><var>{text}</var></code>)</d:text>
2359      <d:text xml:lang="ja"> (<i>上書き</i>, 公式型は
2360          <code lang="en" class="MIME"><var>{text}</var></code>)</d:text>
2361    </d:cat>
2362    
2363    <d:cat name="... sniffed">
2364      <d:text xml:lang="en"> (<i>sniffed</i>)</d:text>
2365      <d:text xml:lang="ja"> (<i>探知結果</i>)</d:text>
2366    </d:cat>
2367    
2368    <d:cat name="byte">
2369      <d:text xml:lang="en">byte</d:text>
2370      <d:text xml:lang="ja">バイト</d:text>
2371    </d:cat>
2372    
2373    <d:cat name="bytes">
2374      <d:text xml:lang="en">bytes</d:text>
2375      <d:text xml:lang="ja">バイト</d:text>
2376    </d:cat>
2377    
2378    <d:cat name="character">
2379      <d:text xml:lang="en">character</d:text>
2380      <d:text xml:lang="ja">文字</d:text>
2381    </d:cat>
2382    
2383    <d:cat name="characters">
2384      <d:text xml:lang="en">characters</d:text>
2385      <d:text xml:lang="ja">文字</d:text>
2386    </d:cat>
2387    
2388    <d:cat name="Line #">
2389      <d:text xml:lang="en">Line <var>{text}</var></d:text>
2390      <d:text xml:lang="ja"><var>{text}</var> 行</d:text>
2391    </d:cat>
2392    
2393    <d:cat name="column #">
2394      <d:text xml:lang="en">column <var>{text}</var></d:text>
2395      <d:text xml:lang="ja"><var>{text}</var> 列</d:text>
2396    </d:cat>
2397    
2398    <d:cat name="Index #">
2399      <d:text xml:lang="en">Index <var>{text}</var></d:text>
2400      <d:text xml:lang="ja">索引 #<var>{text}</var></d:text>
2401    </d:cat>
2402    
2403    <d:cat name="Unknown location">
2404      <d:text xml:lang="en">Unknown location</d:text>
2405      <d:text xml:lang="ja">位置不明</d:text>
2406    </d:cat>
2407    
2408    <d:cat name="Table #">
2409      <d:text xml:lang="en">Structure of Table #<var>{text}</var></d:text>
2410      <d:text xml:lang="ja">表 #<var>{text}</var> の構造</d:text>
2411    </d:cat>
2412    
2413    <d:cat name="Subdocument #">
2414      <d:text xml:lang="en">Subdocument #<var>{text}</var></d:text>
2415      <d:text xml:lang="ja">部分文書 #<var>{text}</var></d:text>
2416    </d:cat>
2417    
2418    <d:cat name="Sub #">
2419      <d:text xml:lang="en">Sub #<var>{text}</var></d:text>
2420      <d:text xml:lang="ja">部分 #<var>{text}</var></d:text>
2421    </d:cat>
2422    
2423    <d:cat name="...">
2424      <d:text xml:lang="en">..</d:text><!-- TODO: figure hyphen? -->
2425      <d:text xml:lang="ja">〜</d:text>
2426    </d:cat>
2427    
2428    <d:cat name="Score">
2429      <d:text xml:lang="en">Score</d:text>
2430      <d:text xml:lang="ja">得点</d:text>
2431    </d:cat>
2432    
2433    <d:cat name="Subtotal">
2434      <d:text xml:lang="en">Subtotal</d:text>
2435      <d:text xml:lang="ja">小計</d:text>
2436    </d:cat>
2437    
2438    <d:cat name="Total">
2439      <d:text xml:lang="en">Total</d:text>
2440      <d:text xml:lang="ja">合計</d:text>
2441    </d:cat>
2442    
2443    <d:cat name="Main document">
2444      <d:text xml:lang="en">Main document</d:text>
2445      <d:text xml:lang="ja">主文書</d:text>
2446    </d:cat>
2447    
2448    <d:cat name="Subdocuments">
2449      <d:text xml:lang="en">Subdocuments</d:text>
2450      <d:text xml:lang="ja">部分文書</d:text>
2451    </d:cat>
2452    
2453    <d:cat name="Transfer L.">
2454      <d:text xml:lang="en"><abbr title="Transfer protocol">Transfer</abbr></d:text>
2455      <d:text xml:lang="ja"><abbr title="転送プロトコル">転送</abbr></d:text>
2456    </d:cat>
2457    
2458    <d:cat name="Encode L.">
2459      <d:text xml:lang="en"><abbr title="Character encoding">Encoding</abbr></d:text>
2460      <d:text xml:lang="ja"><abbr title="文字符号化">符号</abbr></d:text>
2461    </d:cat>
2462    
2463    <d:cat name="Char L.">
2464      <d:text xml:lang="en"><abbr title="Coded characters">Character</abbr></d:text>
2465      <d:text xml:lang="ja"><abbr title="符号化文字">文字</abbr></d:text>
2466    </d:cat>
2467    
2468    <d:cat name="Syntax L.">
2469      <d:text xml:lang="en">Syntax</d:text>
2470      <d:text xml:lang="ja">構文</d:text>
2471    </d:cat>
2472    
2473    <d:cat name="Structure L.">
2474      <d:text xml:lang="en">Structure</d:text>
2475      <d:text xml:lang="ja">構造</d:text>
2476    </d:cat>
2477    
2478    <d:cat name="Semantics L.">
2479      <d:text xml:lang="en">Semantics</d:text>
2480      <d:text xml:lang="ja">意味</d:text>
2481    </d:cat>
2482    
2483    <d:cat name="N/A">
2484      <d:text xml:lang="en">N/A</d:text>
2485      <d:text xml:lang="ja">−</d:text>
2486    </d:cat>
2487    
2488    <d:cat name="No error found.">
2489      <d:text xml:lang="en">No error found.</d:text>
2490      <d:text xml:lang="ja">誤りは見つかりませんでした。</d:text>
2491    </d:cat>
2492    
2493    <d:cat name="No transfer error found.">
2494      <d:text xml:lang="en">This document has no transfer protocol header error.</d:text>
2495      <d:text xml:lang="ja">転送プロトコルの頭部に誤りは見つかりませんでした。</d:text>
2496    </d:cat>
2497    
2498    <d:cat name="No parse error found.">
2499      <d:text xml:lang="en">This document has no parse error.</d:text>
2500      <d:text xml:lang="ja">構文解析中に誤りは見つかりませんでした。</d:text>
2501    </d:cat>
2502    
2503    <d:cat name="No structural error found.">
2504      <d:text xml:lang="en">This document has no structral error.</d:text>
2505      <d:text xml:lang="ja">構造上の誤りは見つかりませんでした。</d:text>
2506    </d:cat>
2507    
2508    <d:cat name="This checker is work in progress.">
2509      <d:text xml:lang="en">
2510        <p><strong>Important</strong>: This conformance checking service
2511        is <em>under development</em>.  The result above might be <em>wrong</em>.</p>
2512      </d:text>
2513      <d:text xml:lang="ja">
2514        <p><strong>重要</strong>: この適合性検査サービスは<em>開発中</em>です。
2515        この結果は<em>間違い</em>かもしれません。</p>
2516      </d:text>
2517    </d:cat>
2518    
2519    <d:cat name="Conformance is conforming">
2520      <d:text xml:lang="en">No conformance‐error is
2521          found in this document.</d:text>
2522      <d:text xml:lang="ja">この文書に適合性に関わる誤りは見つかりませんでした。</d:text>
2523    </d:cat>
2524    
2525    <d:cat name="Conformance is should-error">
2526      <d:text xml:lang="en">This document
2527            is <strong>likely <em>non</em>-conforming</strong>, but in rare case
2528            it might be conforming.  The checker cannot determine whether
2529            this document is in the rare case or not.</d:text>
2530      <d:text xml:lang="ja">この文書は<strong>おそらく<em>不</em>適合</strong>ですが、
2531          稀に適合している場合もあります。適合性検査器はこの文書が稀な場合に該当するかどうか判定できません。</d:text>
2532    </d:cat>
2533    
2534    <d:cat name="Conformance is non-conforming">
2535      <d:text xml:lang="en">This document is
2536            <strong><em>non</em>-conforming</strong>.</d:text>
2537      <d:text xml:lang="ja">この文書は<strong><em>不</em>適合</strong>です。</d:text>
2538    </d:cat>
2539    
2540    <d:cat name="Conformance is uncertain">
2541      <d:text xml:lang="en">The conformance
2542            checker cannot decide whether the document is conforming or
2543            not, since the document contains one or more unsupported
2544            features.  The document might or might not be conforming.</d:text>
2545      <d:text xml:lang="ja">適合性検査器はこの文書が適合するかどうか判定できませんでした。
2546          この文書は適合性検査器が対応していない機能を使っています。
2547          この文書は適合しているかもしれませんし、していないかもしれません。</d:text>
2548    </d:cat>
2549    
2550    <d:cat name="Error level m">
2551      <d:text xml:lang="en"><a href="../error-description#level-m"><em class="rfc2119">MUST</em>‐level
2552            error</a></d:text>
2553      <d:text xml:lang="ja"><a href="../error-description#level-m"><em class="rfc2119" title="REQUIRED">必須</em>級の誤り</a></d:text>
2554    </d:cat>
2555    
2556    <d:cat name="Error level s">
2557      <d:text xml:lang="en"><a href="../error-description#level-s"><em class="rfc2119">SHOULD</em>‐level
2558            error</a></d:text>
2559      <d:text xml:lang="ja"><a href="../error-description#level-s"><em class="rfc2119" title="RECOMMENDED">推奨</em>級の誤り</a></d:text>
2560    </d:cat>
2561    
2562    <d:cat name="Error level w">
2563      <d:text xml:lang="en"><a href="../error-description#level-w">Warning</a></d:text>
2564      <d:text xml:lang="ja"><a href="../error-description#level-w">警告</a></d:text>
2565    </d:cat>
2566    
2567    <d:cat name="Error level i">
2568      <d:text xml:lang="en"><a href="../error-description#level-i">Information</a></d:text>
2569      <d:text xml:lang="ja"><a href="../error-description#level-i">情報</a></d:text>
2570    </d:cat>
2571    
2572    <d:cat name="Error level u">
2573      <d:text xml:lang="en"><a href="../error-description#level-u">Not
2574          supported</a></d:text>
2575      <d:text xml:lang="ja"><a href="../error-description#level-u">未対応</a></d:text>
2576    </d:cat>
2577    
2578  <section id="levels">  <section id="levels">
2579  <h2>Error Levels</h2>  <h2>Error Levels</h2>
# Line 1322  to solve a problem in a confusing or pos Line 2608  to solve a problem in a confusing or pos
2608  It does not affect to the conformance of the document, and  It does not affect to the conformance of the document, and
2609  may sometimes be inappropriate.</td>  may sometimes be inappropriate.</td>
2610  </tr>  </tr>
2611  <tr id="level-unsupported" class="level-unsupported">  <tr id="level-i" class="level-i">
2612    <th scope="row">Information</th>
2613    <td>Conforming.</td>
2614    <td>An informational message just provides an additional information
2615    on the feature used in the document or the status of the retrieval
2616    or so on.
2617    It does not affect to the conformance of the document.</td>
2618    </tr>
2619    <tr id="level-u" class="level-u">
2620  <th scope="row">Not supported</th>  <th scope="row">Not supported</th>
2621  <td><em>Unknown</em>.</td>  <td><em>Unknown</em>.</td>
2622  <td>Some feature that is not supported by the conformance checker  <td>Some feature that is not supported by the conformance checker
# Line 1335  is used in the document.</td> Line 2629  is used in the document.</td>
2629  <section id="license">  <section id="license">
2630  <h2>License of This Document</h2>  <h2>License of This Document</h2>
2631    
2632  <p>Copyright <time>2007</time>  <p>Copyright <time>2007</time>‐<time>2008</time>
2633  <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>  <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>
2634  <code class="mail">&lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></code>.</p>  <code class="mail">&lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></code>.</p>
2635    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.29

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24