/[suikacvs]/test/html-webhacc/error-description.en.html.u8
Suika

Diff of /test/html-webhacc/error-description.en.html.u8

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

revision 1.11 by wakaba, Sun Nov 4 09:15:02 2007 UTC revision 1.23 by wakaba, Thu Aug 14 15:50:42 2008 UTC
# Line 8  Web Document Conformance Checker (BETA)< Line 8  Web Document Conformance Checker (BETA)<
8  <body>  <body>
9  <h1>Description of Errors</h1>  <h1>Description of Errors</h1>
10    
11    <section id="character-encoding-layer">
12    <h2>Character Encoding Layer Errors</h2>
13    
14    <div class="section error-category-charset" id="m:illegal-octets-error"><h3>An illegal octet in the input stream.</h3></div>
15    </section>
16    
17    <section id="html5-character-encoding">
18    <h2>HTML5 Character Encoding Errors</h2>
19    
20    <div class="section format-charset must" id="m:character-encoding"><h3>Character encoding <code><var>$0</var></code>
21      is not allowed for <abbr>HTML</abbr> document.</h3>
22        <p>The character encoding used for the document is not allowed
23        for <abbr>HTML</abbr> document.  The document is non‐conforming.</p>
24      </div>
25    
26    <div class="section format-charset should" id="s:character-encoding"><h3>Character encoding <code><var>$0</var></code>
27      should not be used for <abbr>HTML</abbr> document.</h3>
28        <p>The character encoding used for the document is not recommended
29        for <abbr>HTML</abbr> document.  The document is non‐conforming
30        unless there is any good reason to use that encoding.</p>
31      </div>
32    
33    <div class="section format-charset warning" id="w:character-encoding"><h3>Use of UTF-8 is encouraged.</h3>
34        <p>Use of UTF-8 as the character encoding of the document is encouraged,
35        though the use of another character encoding is still conforming.</p>
36      </div>
37    
38    <div class="section format-charset unsupported" id="unsupported:character-encoding"><h3>Conformance for character encoding requirements
39      cannot be checked.</h3>
40        <p>The conformance checker cannot detect whether the input document
41        met the requirements on character encoding, since the document
42        is not inputed as a serialized byte sequence.  The document is
43        not conforming if it is not encoded in an appropriate character
44        encoding with appropriate labeling.</p>
45      </div>
46    
47    <div class="section format-charset error" id="m:no-character-encoding-declaration"><h3>There is no character encoding
48      declaration.</h3>
49        <p>The document does not contain a character encoding
50        declaration.  Unless the character encoding is explicitly
51        specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>,
52        or is implied by <abbr>BOM</abbr>, there must be a character
53        encoding declaration.  The document is non‐conforming.</p>
54    
55        <p>The long character encoding declaration syntax
56        <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
57        is obsolete.  The new syntax is:</p>
58        <pre class="html example">
59    <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
60    
61        <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>
62        declaration has no effect for <abbr>HTML</abbr> document.</p>
63      </div>
64    
65    <div class="section format-charset error" id="m:non-ascii-superset"><h3>No character encoding metadata is found
66      in lower‐level protocol nor is there <abbr>BOM</abbr>, while
67      character encoding <code><var>$0</var></code>
68      is not a superset of <abbr>ASCII</abbr>.</h3>
69        <p>The document is not labeled with character encoding name
70        in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and
71        the document is not begin with <abbr>BOM</abbr>.  In addition,
72        the character encoding of the document is not a superset of
73        <abbr>ASCII</abbr>.  The document is non‐conforming.</p>
74    
75        <p>Unless there is a <abbr>BOM</abbr>, the character encoding
76        for the document must be specified in e.g. <abbr>HTTP</abbr>‐level,
77        as:</p>
78        <pre class="http example">
79    <code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>
80    
81        <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.
82        <code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>,
83        does not allow to omit <code>charset</code> parameter
84        for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>
85        compatible encoding.</p>
86    
87        <p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>,
88        and <code>ISO-2022-JP</code> are <em>not</em> a superset of
89        <abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p>
90      </div>
91    
92    <div class="section format-charset warning" id="w:charset-label-detected"><h3>While parsing the document as
93      <code><var>$0</var></code>, a character encoding declaration specifying
94      character encoding as <code><var>$1</var></code> is found.  The document
95      is reparsed.</h3>
96        <p>While parsing a document in a character encoding,
97        a character encoding declaration which declares the character
98        encoding of the document as another character encoding is found.
99        The occurence of this warning itself does not make the document
100        non‐conforming.  However, the failure of the first attempt to
101        to detect the character encoding might be a result of non‐conformance
102        of the document.</p>
103    
104        <p>The document will be reparsed from the beginning.  Some error
105        or warning might be reported again.</p>
106    
107        <p>These are suggestions to avoid this warning:</p>
108        <ul>
109        <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>
110        field in the <abbr>HTTP</abbr> header, as:
111        <pre class="HTTP example">
112    <code>Content-Type: text/html; charset="<var>charset-name</var>"</code></pre></li>
113        <li>Put the character encoding declaration
114        (<code class="html example">&lt;meta charset="<var>charset-name</var>"&gt;</code>)
115        just after <code class="html example">&lt;head&gt;</code> start tag.</li>
116        <li>Use <code>UTF-8</code>.</li>
117        </ul>
118      </div>
119    </section>
120    
121  <section id="html5-tokenize-error">  <section id="html5-tokenize-error">
122  <h2>HTML5 Parse Errors in Tokenization Stage</h2>  <h2>HTML5 Parse Errors in Tokenization Stage</h2>
123    
# Line 33  Web Document Conformance Checker (BETA)< Line 143  Web Document Conformance Checker (BETA)<
143    </div>    </div>
144    
145  <div class="section tokenize-error" id="bare-ero"><h3>The <code>&amp;</code> character must  <div class="section tokenize-error" id="bare-ero"><h3>The <code>&amp;</code> character must
146    introduce a reference.</h3>    be escaped as <code class="html example">&amp;amp;</code>.</h3>
147      <p>An <code>&amp;</code> (<code>U+0026</code>      <p>An <code>&amp;</code> character which
     <code class="charname">AMPERSAND</code>) character which  
148      is not part of any reference appears in the input stream.      is not part of any reference appears in the input stream.
149      The document is non-conforming.</p>      The document is non‐conforming.</p>
150    
151      <p><strong>Any <code>&amp;</code> character in URI (or IRI)      <p><em>Any <code>&amp;</code> character in URI (or IRI)
152      must be escaped as <code>&amp;amp;</code>.</strong></p>      must be escaped as <code class="example">&amp;amp;</code>.</em></p>
153    
154      <p>The <code>&amp;</code> character must      <p>The <code>&amp;</code> character must
155      be the first character of a reference:      be the first character of a reference:
156        <dl>        <dl class="switch">
157        <dt>Named entity reference</dt>        <dt>Named entity reference</dt>
158            <dd><pre class="html example">            <dd><pre class="html example">
159  <code>&amp;<var>entity-name</var>;</code></pre>  <code>&amp;<var>entity-name</var>;</code></pre>
# Line 114  Web Document Conformance Checker (BETA)< Line 223  Web Document Conformance Checker (BETA)<
223    
224      <p>The string <code>&amp;#</code> must be the first two characters      <p>The string <code>&amp;#</code> must be the first two characters
225      of a reference:      of a reference:
226        <dl>        <dl class="switch">
227        <dt>Numeric character reference</dt>        <dt>Numeric character reference</dt>
228            <dd><pre class="html example">            <dd><pre class="html example">
229  <code>&amp;#<var>d</var>;</code></pre>  <code>&amp;#<var>d</var>;</code></pre>
# Line 166  Web Document Conformance Checker (BETA)< Line 275  Web Document Conformance Checker (BETA)<
275    
276      <dl class="switch">      <dl class="switch">
277      <dt>Comments</dt>      <dt>Comments</dt>
278        <dd>In HTML documents, comments must be introduced by        <dd>In HTML document, comments must be introduced by
279        <code>&lt;!--</code> (<code>&lt;!</code> <em>immediately</em> followed        <code class="example">&lt;!--</code> (<code>&lt;!</code>
280          <em>immediately</em> followed
281        by <em>two</em> <code>-</code>s) and must be terminated by        by <em>two</em> <code>-</code>s) and must be terminated by
282        <code>--&gt;</code>.  Strings <code>&lt;!</code> not followed        <code class="example">--&gt;</code>.
283          Strings <code>&lt;!</code> not followed
284        by <code>--</code> and <code>&lt;!-</code> not followed by        by <code>--</code> and <code>&lt;!-</code> not followed by
285        <code>-</code> are not valid open delimiters for comments.</dd>        <code>-</code> are not valid open delimiters for comments.</dd>
286      <dt>Marked sections, including <code>CDATA</code> sections</dt>      <dt>Marked sections, including <code>CDATA</code> sections</dt>
287        <dd>Marked sections are not allowed in HTML documents.</dd>        <dd>Marked sections are not allowed in HTML document.</dd>
288      <dt>Markup declarations</dt>      <dt>Markup declarations</dt>
289        <dd>Markup declarations, except <code>DOCTYPE</code>        <dd>Markup declarations, except for <code>DOCTYPE</code>
290        and comment declarations, are not allowed in HTML documents.</dd>        and comment declarations, are not allowed in HTML document.</dd>
291      <dt>String <code>&lt;!</code></dt>      <dt>String <code>&lt;!</code></dt>
292        <dd>String <code>&lt;!</code> must be escaped as        <dd>String <code>&lt;!</code> must be escaped as
293        <code>&amp;lt;!</code>.</dd>        <code class="example">&amp;lt;!</code>.</dd>
294      </dl>      </dl>
295    </div>    </div>
296    
# Line 239  Web Document Conformance Checker (BETA)< Line 350  Web Document Conformance Checker (BETA)<
350      <dt><code>&lt;script/&gt;</code></dt>      <dt><code>&lt;script/&gt;</code></dt>
351          <dd><p>The polytheistic slash cannot be used for <code>script</code>          <dd><p>The polytheistic slash cannot be used for <code>script</code>
352          element.  Even for an empty <code>script</code> element,          element.  Even for an empty <code>script</code> element,
353          there must be an explicit end tag <code>&lt;/script&gt;</code>.</p>          there must be an explicit end tag
354            <code class="html example">&lt;/script&gt;</code>.</p>
355    
356          <p><strong>NOTE</strong>: Though some user agents interpret          <p><strong>NOTE</strong>: Though some user agents interpret
357          polytheistic slash for <code>script</code> element as the          polytheistic slash for <code>script</code> element as the
# Line 256  Web Document Conformance Checker (BETA)< Line 368  Web Document Conformance Checker (BETA)<
368          to allow polytheistic slash for these elements.</dd>          to allow polytheistic slash for these elements.</dd>
369      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>
370          <dd>These elements are not always empty and therefore          <dd>These elements are not always empty and therefore
371          polytheistic slash is not allowed.</dd>          polytheistic slash is not allowed.  Use explicit end tag
372            to represent empty element as:
373              <pre class="example html">
374    <code>&lt;p&gt;&lt;/p&gt;</code></pre>
375            </dd>
376      </dl>      </dl>
377    
378      <p>Note that, unlike in XML, the polytheistic slash has      <p>Note that, unlike in XML, the polytheistic slash has
# Line 277  Web Document Conformance Checker (BETA)< Line 393  Web Document Conformance Checker (BETA)<
393        <dd>An <abbr>XBL</abbr> binding cannot be associated by        <dd>An <abbr>XBL</abbr> binding cannot be associated by
394        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
395        document.  Use <code>binding</code> property in <abbr>CSS</abbr>        document.  Use <code>binding</code> property in <abbr>CSS</abbr>
396        style sheet.</dd>        style sheet as:
397            <pre class="html example">
398    <code>&lt;style&gt;
399    p {
400      binding: url(binding.xbl);
401    }
402    &lt;/style&gt;</code></pre>
403          </dd>
404      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
405          <dd>XML declaration is unnecessary for HTML documents.</dd>          <dd>XML declaration is unnecessary for HTML documents.</dd>
406      <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet      <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet
# Line 285  Web Document Conformance Checker (BETA)< Line 408  Web Document Conformance Checker (BETA)<
408          <dd>Use HTML <code>link</code> element with <code>rel</code>          <dd>Use HTML <code>link</code> element with <code>rel</code>
409          attribute set to <code>stylesheet</code> (or,          attribute set to <code>stylesheet</code> (or,
410          <code>alternate stylesheet</code> for an alternate style          <code>alternate stylesheet</code> for an alternate style
411          sheet).</dd>          sheet).
412              <pre class="example html">
413    <code>&lt;link rel=stylesheet href="path/to/stylesheet.css"&gt;</code></pre>
414            </dd>
415      <dt><code>&lt;?php?&gt;</code> or      <dt><code>&lt;?php?&gt;</code> or
416      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
417      (<abbr>PHP</abbr> code)</dt>      (<abbr>PHP</abbr> code)</dt>
# Line 425  Web Document Conformance Checker (BETA)< Line 551  Web Document Conformance Checker (BETA)<
551        <dd>Though the element is void in earlier versions of Safari,        <dd>Though the element is void in earlier versions of Safari,
552        the <code>canvas</code> element is <em>no</em> longer        the <code>canvas</code> element is <em>no</em> longer
553        defined as empty.  There must be an end tag        defined as empty.  There must be an end tag
554        <code>&lt;/canvas&gt;</code>.</dd>        <code class="html example">&lt;/canvas&gt;</code>.</dd>
555      </dl>      </dl>
556    
557      <p>Note that misnesting tags, such as      <p>Note that misnesting tags, such as
# Line 451  Web Document Conformance Checker (BETA)< Line 577  Web Document Conformance Checker (BETA)<
577    HTML.</h3>    HTML.</h3>
578      <p>The document contains a <code>DOCTYPE</code> declaration      <p>The document contains a <code>DOCTYPE</code> declaration
579      that is different from HTML5 <code>DOCTYPE</code> (i.e.      that is different from HTML5 <code>DOCTYPE</code> (i.e.
580      <code>&lt;!DOCTYPE HTML&gt;</code>).  The document is non-conforming.</p>      <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
581        The document is non‐conforming.</p>
582    
583      <p>The document might or might not be conformant to      <p>The document might or might not be conformant to
584      some version of HTML.  However, conformance to any HTML      some version of HTML.  However, conformance to any HTML
# Line 563  Web Document Conformance Checker (BETA)< Line 690  Web Document Conformance Checker (BETA)<
690                    block-level content, any inline-level content must be                    block-level content, any inline-level content must be
691                    put in e.g. paragraph element such as <code>p</code>.</p>                    put in e.g. paragraph element such as <code>p</code>.</p>
692                    <p>For example, an HTML document fragment                    <p>For example, an HTML document fragment
693                    <code class="bad example">&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; World!&lt;/div&gt;</code>                    <code class="html bad example">&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; World!&lt;/div&gt;</code>
694                    is non-conforming, since a word <q>World!</q> does not belong                    is non-conforming, since a word <q>World!</q> does not belong
695                    to any paragraph.  (If not part of any paragraph, what is                    to any paragraph.  (If not part of any paragraph, what is
696                    it!?)  A conforming example would be:                    it!?)  A conforming example would be:
697                      <pre class="example">                      <pre class="html example">
698  <code>&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; &lt;p&gt;World!&lt;/p&gt;&lt;/div&gt;</code></pre>  <code>&lt;div&gt;&lt;p&gt;Hello!&lt;/p&gt; &lt;p&gt;World!&lt;/p&gt;&lt;/div&gt;</code></pre>
699                    </p></dd>                    </p></dd>
700                <dt>If the parent element does <em>not</em> allow                <dt>If the parent element does <em>not</em> allow
# Line 608  Web Document Conformance Checker (BETA)< Line 735  Web Document Conformance Checker (BETA)<
735    
736      <dl class="switch">      <dl class="switch">
737      <dt><code>html</code> element in an XHTML document</dt>      <dt><code>html</code> element in an XHTML document</dt>
738          <dd><p>In an XHTML document, the root <code>html</code>          <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
739          element must have an <code>xmlns</code> attribute          element must have an <code>xmlns</code> attribute as:
740          whose value is set to            <pre class="xml example">
741          <code>http://www.w3.org/1999/xhtml</code>.</p></dd>  <code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</code></pre></p></dd>
742      <dt><code>rss</code> element</dt>      <dt><code>rss</code> element</dt>
743          <dd><p>The document is written in some version of RSS.</p>          <dd><p>The document is written in some version of RSS.</p>
744          <p>The conformance checker does not support any version          <p>The conformance checker does not support any version
745          of RSS.  Use Atom 1.0 for feed documents.</p></dd>          of RSS.  Use Atom 1.0 for feed documents.</p></dd>
746      <dt><code>feed</code> element</dt>      <dt><code>feed</code> element</dt>
747          <dd><p>The Atom <code>feed</code> element must be          <dd><p>The Atom <code>feed</code> element must be
748          in the <code>http://www.w3.org/2004/Atom</code>          in the <code>http://www.w3.org/2005/Atom</code>
749          namespace.</p>          namespace as:
750              <pre class="xml example">
751    <code>&lt;feed xmlns="http://www.w3.org/2005/Atom"&gt;</code></pre>
752            </p>
753          <p>The conformance checker does not support Atom 0.3.          <p>The conformance checker does not support Atom 0.3.
754          Use Atom 1.0 for feed documents.</p></dd>          Use Atom 1.0 for feed documents.</p></dd>
755      </dl>      </dl>
# Line 703  Web Document Conformance Checker (BETA)< Line 833  Web Document Conformance Checker (BETA)<
833      <p>To specify the character encoding used for serialization,      <p>To specify the character encoding used for serialization,
834      if necessary, use XML declaration instead:      if necessary, use XML declaration instead:
835        <pre class="xml example">        <pre class="xml example">
836  <code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;<var>encoding-name</var>&quot;?&gt;</code></pre>  <code>&lt;?xml version="1.0" encoding="<var>encoding-name</var>"?&gt;</code></pre>
837      </p>      </p>
838    </div>    </div>
839    
# Line 735  Web Document Conformance Checker (BETA)< Line 865  Web Document Conformance Checker (BETA)<
865  <section id="attribute-value-errors">  <section id="attribute-value-errors">
866  <h2>Attribute Value Errors</h2>  <h2>Attribute Value Errors</h2>
867    
868    <div class="section attribute-value-warning warning" id="w:charset:not-registered"><h3>Character encoding name <code><var>$0</var></code>
869      is not registered.</h3>
870        <p>The specified character encoding name is not registered to
871        <abbr>IANA</abbr>.  Use of registered character encoding name
872        is a good practice to facilitate interoperability.</p>
873    
874        <dl class="switch">
875        <dt><code>EUC-TW</code></dt>
876          <dd><code>EUC-TW</code> is not registered.  Unfortunately, there
877          is no registered name for that character encoding.  Use
878          Big5 encoding with character encoding name <code>Big5</code>
879          if it is enough to represent the document.</dd>
880        <dt><code>ISO-2022-JP-1</code></dt>
881          <dd><code>ISO-2022-JP-1</code> is not registered, nevertheless
882          this character encoding name is documented in
883          <a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>.  Use
884          <code>ISO-2022-JP-2</code> instead, since that character encoding
885          is a superset of ISO-2022-JP-1.</dd>
886        <dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt>
887          <dd>These names are not registered and obsoleted in favor of
888          <code>ISO-2022-JP-2004</code> and
889          <code>ISO-2022-JP-2004-plane1</code>.</dd>
890        <dt><code>ISO-2022-JP-2003</code>,
891        <code>ISO-2022-JP-2003-plane1</code></dt>
892          <dd>These names are not registered and corrected to
893          <code>ISO-2022-JP-2004</code> and
894          <code>ISO-2022-JP-2004-plane1</code>.</dd>
895        <dt><code>ISO-2022-JP-2004</code>,
896        <code>ISO-2022-JP-2004-plane1</code></dt>
897          <dd>These names are not registered.  Unfortunately, there is
898          no registered name for these character encodings.</dd>
899        <dt><code>UTF-8N</code></dt>
900          <dd><code>UTF-8N</code> is not registered.  Character encoding
901          name <code>UTF-8</code> represents UTF-8 encoding with or
902          without <abbr>BOM</abbr>.</dd>
903        </dl>
904    
905        <p><strong>WARNING</strong>: This error might be raised for
906        a registered character encoding name, since the character encoding
907        name database of the conformance checker is not complete yet.</p>
908      </div>
909    
910    <div class="section attribute-value-warning warning" id="w:charset:private"><h3><code><var>$0</var></code> is a private
911      character encoding name.</h3>
912        <p>The specified character encoding name is a private name and
913        not registered to <abbr>IANA</abbr>.  Use of registered character
914        encoding name is a good practice to facilitate interoperability.</p>
915    
916        <dl class="switch">
917        <dt><code>x-euc-jp</code></dt>
918          <dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr>
919          character encoding.</dd>
920        <dt><code>x-sjis</code></dt>
921          <dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of
922          <abbr>JIS</abbr> coded character set, or <code>Windows-31J</code>
923          for Microsoft standard character set as implemented by
924          Microsoft Windows.</dd>
925        </dl>
926      </div>
927    
928    <div class="section attribute-value-error" id="m:charset:syntax-error"><h3>The specified value is syntactically not a
929      character encoding name.</h3>
930        <p>The attribute value must be a character encoding name.  However,
931        the specified value is not a character encoding name syntactically.
932        The document is non‐conforming.</p>
933        <p>Character encoding name is a string of <abbr>ASCII</abbr>
934        printable characters, up to 40 characters.</p>
935      </div>
936    
937  <div class="section attribute-value-error" id="enumerated:invalid"><h3>This attribute only allow a limited set of  <div class="section attribute-value-error" id="enumerated:invalid"><h3>This attribute only allow a limited set of
938    values and the specified value <code><var>{@}</var></code> is not one    values and the specified value <code><var>{@}</var></code> is not one
939    of them.</h3>    of them.</h3>
# Line 744  Web Document Conformance Checker (BETA)< Line 943  Web Document Conformance Checker (BETA)<
943    
944      <dl>      <dl>
945      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
946          <dd><p>Only <code>Default-Style</code> and <code>Refresh</code>          <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
947          is allowed.</p>          are allowed.</p>
948          <p>Value <code>Content-Type</code> is obsolete; for charset          <p>Value <code>Content-Type</code> is obsolete; for charset
949          declaration, the <code>charset</code> attribute can be used as:          declaration, the <code>charset</code> attribute can be used as:
950          <pre class="html example">          <pre class="html example">
951  <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>  <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
952          ... where <var>charset-name</var> is a name of the character encoding          ... where <var>charset-name</var> is a name of the character encoding
953          of the document, such as <code>utf-8</code>.</p>          of the document, such as <code>utf-8</code>.</p>
954          <p>Values <code>Content-Style-Type</code> and          <p>Values <code>Content-Style-Type</code> and
# Line 763  Web Document Conformance Checker (BETA)< Line 962  Web Document Conformance Checker (BETA)<
962      </dl>      </dl>
963    </div>    </div>
964    
965    <div class="section attribute-value-error" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax
966      <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
967      is obsolete.</h3>
968        <p>Old long character encoding declaration syntax
969        <code class="html bad example">&lt;meta http-equiv="Content-Type" content="text/html; charset=<var>charset-name</var>"&gt;</code>
970        is in use.  The document is non‐conforming.</p>
971    
972        <p>The new character encoding declaration syntax is:
973          <pre class="html example">
974    <code>&lt;meta charset="<var>charset-name</var>"&gt;</code></pre>
975        </p>
976      </div>
977    
978  <div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been  <div class="section attribute-value-error" id="duplicate-ID"><h3>This identifier has already been
979    assigned to another element.</h3></div>    assigned to another element.</h3></div>
980    
# Line 800  Web Document Conformance Checker (BETA)< Line 1012  Web Document Conformance Checker (BETA)<
1012      </dl>      </dl>
1013    </div>    </div>
1014    
1015    <div class="section attribute-value-error" id="m:mismatched-charset-name"><h3>Character encoding name <code><var>$1</var></code>
1016      is different from document character encoding
1017      <code><var>$0</var></code>.</h3>
1018        <p>The specified character encoding name is different from
1019        the character encoding of the document.  The document
1020        is non‐conforming.</p>
1021      </div>
1022    
1023  <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>Browsing context name  <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>Browsing context name
1024    <code><var>{@}</var></code> is reserved.</h3>    <code><var>{@}</var></code> is reserved.</h3>
1025      <p>The specified browsing context name is reserved.      <p>The specified browsing context name is reserved.
# Line 856  Web Document Conformance Checker (BETA)< Line 1076  Web Document Conformance Checker (BETA)<
1076      The document is non-conforming.</p>      The document is non-conforming.</p>
1077    
1078      <p>For example, the table below is non-conforming:      <p>For example, the table below is non-conforming:
1079        <pre class="html non-conforming example">        <pre class="html bad example">
1080  <code>&lt;table&gt;  <code>&lt;table&gt;
1081  &lt;tbody&gt;  &lt;tbody&gt;
1082  &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;
# Line 963  Web Document Conformance Checker (BETA)< Line 1183  Web Document Conformance Checker (BETA)<
1183      <code>text/cache-manifest</code> must contain a cache manifest.</p>      <code>text/cache-manifest</code> must contain a cache manifest.</p>
1184    
1185      <p>A cache manifest must start with a line whose content is      <p>A cache manifest must start with a line whose content is
1186      <code>CACHE MANIFEST</code> (exactly one space character between      <code class="manifest example">CACHE MANIFEST</code>
1187        (exactly one space character between
1188      <code>CACHE</code> and <code>MANIFEST</code>).</p>      <code>CACHE</code> and <code>MANIFEST</code>).</p>
1189    </div>    </div>
1190  </section>  </section>
1191    
1192    <section id="information">
1193    <h2>Stability Information</h2>
1194    
1195    <div class="section level-i" id="i:status:cr:element"><h3>This element is in the
1196      <strong>call for implementation</strong> stage.</h3>
1197        <p>The element is in the call for implementation stage.</p>
1198        
1199        <p>Usually, using the element is safe.  However, it is a new feature
1200        so that it might not be implemented correctly.  If it is found that
1201        the feature is hard or impossible to implement, the feature
1202        might be revised, or in some case it might be dropped.</p>
1203    
1204        <p>Elements defined by Atom 1.0 (IETF Proposed Standard), and XBL 2.0
1205        (W3C Candidate Recommendation) belong to this class.</p>
1206      </div>
1207    
1208    <div class="section level-i" id="i:status:lc:element"><h3>This element is in the <strong>last
1209      call for comments</strong> stage.</h3>
1210        <p>The element is in the last call for comments stage.</p>
1211        
1212        <p>The element is relatively mature, though the standardization
1213        is not done yet.  It may be used for experiments.  Since it is a new
1214        feature, it might not be implemented correctly or at all.  If it is
1215        found that the feature is hard or impossible to implement, the feature
1216        might be revised or might be dropped.</p>
1217    
1218        <p>Elements defined by Web Forms 2.0 as well as some elements
1219        defined by HTML5 belong to this class.</p>
1220      </div>
1221    
1222    <div class="section level-i" id="i:status:wd:element"><h3>This element is documented in a <strong>working
1223      draft</strong>.</h3>
1224        <p>The element is documented in a working or editor's draft
1225        and not yet completed.</p>
1226        
1227        <p>The element should not be used for any practical purpose.
1228        The feature might be drastically changed later or might be
1229        entirely removed.</p>
1230    
1231        <p>Most of new elements defined by HTML5 belong to this class.</p>
1232      </div>
1233    
1234    <div class="section level-i" id="i:status:non-standard:element"><h3>This element is <strong>not part of any
1235      standard</strong> the conformance checker knows.</h3>
1236        <p>The element is not part of any standard or draft the conformance
1237        checker is aware of.</p>
1238        
1239        <p>The element should not be used for any practical purpose unless
1240        there is really a standard that defines the element.</p>
1241      </div>
1242    </section>
1243    
1244  <section id="unsupported-messages">  <section id="unsupported-messages">
1245  <h2><i>Unsupported</i> Messages</h2>  <h2><i>Unsupported</i> Messages</h2>
1246    
# Line 1026  Web Document Conformance Checker (BETA)< Line 1299  Web Document Conformance Checker (BETA)<
1299    
1300    
1301    
1302    
1303    
1304    
1305    
1306    
1307    
1308    
1309    
1310    
1311    
1312    
1313    
1314    
1315    
1316    
1317    
1318    
1319    
1320    
1321    
1322    
1323    
1324    
1325    
1326    
1327    
1328    
1329    
1330    
1331    
1332    
1333    
1334    
1335    
1336    
1337    
1338    
1339    
1340    
1341    
1342    
1343    
1344    
1345    
1346    
1347    
1348    
1349    
1350    
1351    
1352    
1353    
1354    
1355    
1356    
1357    
1358    
1359    
1360    
1361    
1362    
1363    
1364    
1365    
1366    
1367    
1368    
1369    
1370    
1371    
1372    
1373    
1374    
1375    
1376    
1377    
1378    
1379    
1380    
1381    
1382    
1383    
1384    
1385    
1386    
1387    
1388    
1389    
1390    
1391    
1392    
1393    
1394    
1395    
1396    
1397    
1398    
1399    
1400    
1401    
1402    
1403    
1404    
1405    
1406    
1407    
1408    
1409    
1410    
1411    
1412    
1413    
1414    
1415    
1416    
1417    
1418    
1419    
1420    
1421    
1422    
1423    
1424    
1425    
1426    
1427    
1428    <!-- Structure -->
1429    
1430    
1431    
1432    
1433    
1434    
1435    
1436    
1437    
1438    
1439    
1440    
1441    
1442    
1443    
1444    
1445    
1446    
1447    
1448    
1449    
1450    
1451    
1452    
1453    
1454    <section id="levels">
1455    <h2>Error Levels</h2>
1456    
1457    <table id="levels-table">
1458    <thead>
1459    <tr><th scope="col">Level</th>
1460    <th scope="col">Conforming?</th>
1461    <th scope="col">Description</th>
1462    </tr>
1463    </thead>
1464    <tbody>
1465    <tr class="level-m" id="level-m">
1466    <th scope="row"><em class="rfc2119">MUST</em>‐level error</th>
1467    <td>Non‐conforming.</td>
1468    <td>A violation to a hard requirement of the specification.
1469    The document is non‐conforming.</td>
1470    </tr>
1471    <tr class="level-s" id="level-s">
1472    <th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th>
1473    <td>Non‐conforming, but <em>in some case</em>
1474    conforming.</td>
1475    <td>A violation to a requirement of the specification.
1476    The violation might be legitimize in some case.  Otherwise,
1477    the document is non‐conforming.</td>
1478    </tr>
1479    <tr class="level-w" id="level-w">
1480    <th scope="row">Warning</th>
1481    <td>Conforming.</td>
1482    <td>A warning is an advice from the conformance checker to avoid
1483    to solve a problem in a confusing or possibly wrong way.
1484    It does not affect to the conformance of the document, and
1485    may sometimes be inappropriate.</td>
1486    </tr>
1487    <tr class="level-i" id="level-i">
1488    <th scope="row">Information</th>
1489    <td>Conforming.</td>
1490    <td>An informational message just provides an additional information
1491    on the feature used in the document or the status of the retrieval
1492    or so on.
1493    It does not affect to the conformance of the document.</td>
1494    </tr>
1495    <tr class="level-u" id="level-u">
1496    <th scope="row">Not supported</th>
1497    <td><em>Unknown</em>.</td>
1498    <td>Some feature that is not supported by the conformance checker
1499    is used in the document.</td>
1500    </tr>
1501    </tbody>
1502    </table>
1503    </section>
1504    
1505  <section id="license">  <section id="license">
1506  <h2>License of This Document</h2>  <h2>License of This Document</h2>
1507    
1508  <p>Copyright <time>2007</time>  <p>Copyright <time>2007</time>‐<time>2008</time>
1509  <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>
1510  <code class="mail">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</code>.</p>  <code class="mail">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</code>.</p>
1511    

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24