/[pub]/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.19 by wakaba, Fri Mar 21 08:59:47 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="html5-character-encoding">
12    <h2>HTML5 Character Encoding Errors</h2>
13    
14    <div class="section format-charset must" id="m:character-encoding"><h3>Character encoding <code><var>$0</var></code>
15      is not allowed for <abbr>HTML</abbr> document.</h3>
16        <p>The character encoding used for the document is not allowed
17        for <abbr>HTML</abbr> document.  The document is non‐conforming.</p>
18      </div>
19    
20    <div class="section format-charset should" id="s:character-encoding"><h3>Character encoding <code><var>$0</var></code>
21      should not be used for <abbr>HTML</abbr> document.</h3>
22        <p>The character encoding used for the document is not recommended
23        for <abbr>HTML</abbr> document.  The document is non‐conforming
24        unless there is any good reason to use that encoding.</p>
25      </div>
26    
27    <div class="section format-charset warning" id="w:character-encoding"><h3>Use of UTF-8 is encouraged.</h3>
28        <p>Use of UTF-8 as the character encoding of the document is encouraged,
29        though the use of another character encoding is conforming.</p>
30      </div>
31    
32    <div class="section format-charset unsupported" id="unsupported:character-encoding"><h3>Conformance for character encoding requirements
33      cannot be checked.</h3>
34        <p>The conformance checker cannot detect whether the input document
35        met the requirements on character encoding, since the document
36        is not inputed as a serialized byte sequence.  The document is
37        not conforming if it is not encoded in an appropriate character
38        encoding with appropriate labeling.</p>
39      </div>
40    
41    <div class="section format-charset error" id="m:no-character-encoding-declaration"><h3>There is no character encoding
42      declaration.</h3>
43        <p>The document does not contain a character encoding
44        declaration.  Unless the character encoding is explicitly
45        specified in lower‐level protocol, e.g. in <abbr>HTTP</abbr>,
46        or is implied by <abbr>BOM</abbr>, there must be a character
47        encoding declaration.  The document is non‐conforming.</p>
48    
49        <p>The long character encoding declaration syntax
50        <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>
51        is obsolete.  The new syntax is:</p>
52        <pre class="html example">
53    <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>
54    
55        <p>Note that the <code>encoding</code> declaration in <abbr>XML</abbr>
56        declaration has no effect for <abbr>HTML</abbr> document.</p>
57      </div>
58    
59    <div class="section format-charset error" id="m:non-ascii-superset"><h3>No character encoding metadata is found
60      in lower‐level protocol nor is there <abbr>BOM</abbr>, while
61      character encoding <code><var>$0</var></code>
62      is not a superset of <abbr>ASCII</abbr>.</h3>
63        <p>The document is not labeled with character encoding name
64        in lower‐level protocol, e.g. in <abbr>HTTP</abbr>, and
65        the document is not begin with <abbr>BOM</abbr>.  In addition,
66        the character encoding of the document is not a superset of
67        <abbr>ASCII</abbr>.  The document is non‐conforming.</p>
68    
69        <p>Unless there is a <abbr>BOM</abbr>, the character encoding
70        for the document must be specified in e.g. <abbr>HTTP</abbr>‐level,
71        as:</p>
72        <pre class="http example">
73    <code>Content-Type: text/html; charset=<var>charset-name</var></code></pre>
74    
75        <p>Existence of <abbr>HTML</abbr> character encoding declaration, i.e.
76        <code class="html example">&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code>,
77        does not allow to omit <code>charset</code> parameter
78        for <abbr>HTML</abbr> document encoded in non‐<abbr>ASCII</abbr>
79        compatible encoding.</p>
80    
81        <p>Character encodings <code>Shift_JIS</code>, <code>Windows-31J</code>,
82        and <code>ISO-2022-JP</code> are <em>not</em> a superset of
83        <abbr>ASCII</abbr> for the purpose of <abbr>HTML</abbr> conformance.</p>
84      </div>
85    
86    <div class="section format-charset warning" id="w:charset-label-detected"><h3>While parsing the document as
87      <code><var>$0</var></code>, a character encoding declaration specifying
88      character encoding as <code><var>$1</var></code> is found.  The document
89      is reparsed.</h3>
90        <p>While parsing a document in a character encoding,
91        a character encoding declaration which declares the character
92        encoding of the document as another character encoding is found.
93        The occurence of this warning itself does not make the document
94        non‐conforming.  However, the failure of the first attempt to
95        to detect the character encoding might be the result of non‐conformance
96        of the document.</p>
97    
98        <p>The document will be reparsed from the beginning.  Some error
99        or warning might be reported again.</p>
100    
101        <p>These are suggestions to avoid this warning:</p>
102        <ul>
103        <li>Specify <code>charset</code> parameter in the <code>Content-Type</code>
104        field in the <abbr>HTTP</abbr> header, as:
105        <pre class="HTTP example">
106    <code>Content-Type: text/html; charset=&quot;<var>charset-name</var>&quot;</code></pre></li>
107        <li>Put the character encoding declaration
108        (<code class="html example">&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code>)
109        just after <code class="html example">&lt;head&gt;</code> start tag.</li>
110        <li>Use <code>UTF-8</code>.</li>
111        </ul>
112      </div>
113    </section>
114    
115  <section id="html5-tokenize-error">  <section id="html5-tokenize-error">
116  <h2>HTML5 Parse Errors in Tokenization Stage</h2>  <h2>HTML5 Parse Errors in Tokenization Stage</h2>
117    
# Line 34  Web Document Conformance Checker (BETA)< Line 138  Web Document Conformance Checker (BETA)<
138    
139  <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
140    introduce a reference.</h3>    introduce a reference.</h3>
141      <p>An <code>&amp;</code> (<code>U+0026</code>      <p>An <code>&amp;</code> character which
     <code class="charname">AMPERSAND</code>) character which  
142      is not part of any reference appears in the input stream.      is not part of any reference appears in the input stream.
143      The document is non-conforming.</p>      The document is non‐conforming.</p>
144    
145      <p><strong>Any <code>&amp;</code> character in URI (or IRI)      <p><em>Any <code>&amp;</code> character in URI (or IRI)
146      must be escaped as <code>&amp;amp;</code>.</strong></p>      must be escaped as <code class="example">&amp;amp;</code>.</em></p>
147    
148      <p>The <code>&amp;</code> character must      <p>The <code>&amp;</code> character must
149      be the first character of a reference:      be the first character of a reference:
150        <dl>        <dl class="switch">
151        <dt>Named entity reference</dt>        <dt>Named entity reference</dt>
152            <dd><pre class="html example">            <dd><pre class="html example">
153  <code>&amp;<var>entity-name</var>;</code></pre>  <code>&amp;<var>entity-name</var>;</code></pre>
# Line 114  Web Document Conformance Checker (BETA)< Line 217  Web Document Conformance Checker (BETA)<
217    
218      <p>The string <code>&amp;#</code> must be the first two characters      <p>The string <code>&amp;#</code> must be the first two characters
219      of a reference:      of a reference:
220        <dl>        <dl class="switch">
221        <dt>Numeric character reference</dt>        <dt>Numeric character reference</dt>
222            <dd><pre class="html example">            <dd><pre class="html example">
223  <code>&amp;#<var>d</var>;</code></pre>  <code>&amp;#<var>d</var>;</code></pre>
# Line 166  Web Document Conformance Checker (BETA)< Line 269  Web Document Conformance Checker (BETA)<
269    
270      <dl class="switch">      <dl class="switch">
271      <dt>Comments</dt>      <dt>Comments</dt>
272        <dd>In HTML documents, comments must be introduced by        <dd>In HTML document, comments must be introduced by
273        <code>&lt;!--</code> (<code>&lt;!</code> <em>immediately</em> followed        <code class="example">&lt;!--</code> (<code>&lt;!</code>
274          <em>immediately</em> followed
275        by <em>two</em> <code>-</code>s) and must be terminated by        by <em>two</em> <code>-</code>s) and must be terminated by
276        <code>--&gt;</code>.  Strings <code>&lt;!</code> not followed        <code class="example">--&gt;</code>.
277          Strings <code>&lt;!</code> not followed
278        by <code>--</code> and <code>&lt;!-</code> not followed by        by <code>--</code> and <code>&lt;!-</code> not followed by
279        <code>-</code> are not valid open delimiters for comments.</dd>        <code>-</code> are not valid open delimiters for comments.</dd>
280      <dt>Marked sections, including <code>CDATA</code> sections</dt>      <dt>Marked sections, including <code>CDATA</code> sections</dt>
281        <dd>Marked sections are not allowed in HTML documents.</dd>        <dd>Marked sections are not allowed in HTML document.</dd>
282      <dt>Markup declarations</dt>      <dt>Markup declarations</dt>
283        <dd>Markup declarations, except <code>DOCTYPE</code>        <dd>Markup declarations, except for <code>DOCTYPE</code>
284        and comment declarations, are not allowed in HTML documents.</dd>        and comment declarations, are not allowed in HTML document.</dd>
285      <dt>String <code>&lt;!</code></dt>      <dt>String <code>&lt;!</code></dt>
286        <dd>String <code>&lt;!</code> must be escaped as        <dd>String <code>&lt;!</code> must be escaped as
287        <code>&amp;lt;!</code>.</dd>        <code class="example">&amp;lt;!</code>.</dd>
288      </dl>      </dl>
289    </div>    </div>
290    
# Line 239  Web Document Conformance Checker (BETA)< Line 344  Web Document Conformance Checker (BETA)<
344      <dt><code>&lt;script/&gt;</code></dt>      <dt><code>&lt;script/&gt;</code></dt>
345          <dd><p>The polytheistic slash cannot be used for <code>script</code>          <dd><p>The polytheistic slash cannot be used for <code>script</code>
346          element.  Even for an empty <code>script</code> element,          element.  Even for an empty <code>script</code> element,
347          there must be an explicit end tag <code>&lt;/script&gt;</code>.</p>          there must be an explicit end tag
348            <code class="html example">&lt;/script&gt;</code>.</p>
349    
350          <p><strong>NOTE</strong>: Though some user agents interpret          <p><strong>NOTE</strong>: Though some user agents interpret
351          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 362  Web Document Conformance Checker (BETA)<
362          to allow polytheistic slash for these elements.</dd>          to allow polytheistic slash for these elements.</dd>
363      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>
364          <dd>These elements are not always empty and therefore          <dd>These elements are not always empty and therefore
365          polytheistic slash is not allowed.</dd>          polytheistic slash is not allowed.  Use explicit end tag
366            to represent empty element as:
367              <pre class="example html">
368    <code>&lt;p&gt;&lt;/p&gt;</code></pre>
369            </dd>
370      </dl>      </dl>
371    
372      <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 387  Web Document Conformance Checker (BETA)<
387        <dd>An <abbr>XBL</abbr> binding cannot be associated by        <dd>An <abbr>XBL</abbr> binding cannot be associated by
388        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>        <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
389        document.  Use <code>binding</code> property in <abbr>CSS</abbr>        document.  Use <code>binding</code> property in <abbr>CSS</abbr>
390        style sheet.</dd>        style sheet as:
391            <pre class="html example">
392    <code>&lt;style&gt;
393    p {
394      binding: url(binding.xbl);
395    }
396    &lt;/style&gt;</code></pre>
397          </dd>
398      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
399          <dd>XML declaration is unnecessary for HTML documents.</dd>          <dd>XML declaration is unnecessary for HTML documents.</dd>
400      <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 402  Web Document Conformance Checker (BETA)<
402          <dd>Use HTML <code>link</code> element with <code>rel</code>          <dd>Use HTML <code>link</code> element with <code>rel</code>
403          attribute set to <code>stylesheet</code> (or,          attribute set to <code>stylesheet</code> (or,
404          <code>alternate stylesheet</code> for an alternate style          <code>alternate stylesheet</code> for an alternate style
405          sheet).</dd>          sheet).
406              <pre class="example html">
407    <code>&lt;link rel=stylesheet href=&quot;path/to/stylesheet.css&quot;&gt;</code></pre>
408            </dd>
409      <dt><code>&lt;?php?&gt;</code> or      <dt><code>&lt;?php?&gt;</code> or
410      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>      <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
411      (<abbr>PHP</abbr> code)</dt>      (<abbr>PHP</abbr> code)</dt>
# Line 425  Web Document Conformance Checker (BETA)< Line 545  Web Document Conformance Checker (BETA)<
545        <dd>Though the element is void in earlier versions of Safari,        <dd>Though the element is void in earlier versions of Safari,
546        the <code>canvas</code> element is <em>no</em> longer        the <code>canvas</code> element is <em>no</em> longer
547        defined as empty.  There must be an end tag        defined as empty.  There must be an end tag
548        <code>&lt;/canvas&gt;</code>.</dd>        <code class="html example">&lt;/canvas&gt;</code>.</dd>
549      </dl>      </dl>
550    
551      <p>Note that misnesting tags, such as      <p>Note that misnesting tags, such as
# Line 451  Web Document Conformance Checker (BETA)< Line 571  Web Document Conformance Checker (BETA)<
571    HTML.</h3>    HTML.</h3>
572      <p>The document contains a <code>DOCTYPE</code> declaration      <p>The document contains a <code>DOCTYPE</code> declaration
573      that is different from HTML5 <code>DOCTYPE</code> (i.e.      that is different from HTML5 <code>DOCTYPE</code> (i.e.
574      <code>&lt;!DOCTYPE HTML&gt;</code>).  The document is non-conforming.</p>      <code class="example html">&lt;!DOCTYPE HTML&gt;</code>).
575        The document is non‐conforming.</p>
576    
577      <p>The document might or might not be conformant to      <p>The document might or might not be conformant to
578      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 684  Web Document Conformance Checker (BETA)<
684                    block-level content, any inline-level content must be                    block-level content, any inline-level content must be
685                    put in e.g. paragraph element such as <code>p</code>.</p>                    put in e.g. paragraph element such as <code>p</code>.</p>
686                    <p>For example, an HTML document fragment                    <p>For example, an HTML document fragment
687                    <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>
688                    is non-conforming, since a word <q>World!</q> does not belong                    is non-conforming, since a word <q>World!</q> does not belong
689                    to any paragraph.  (If not part of any paragraph, what is                    to any paragraph.  (If not part of any paragraph, what is
690                    it!?)  A conforming example would be:                    it!?)  A conforming example would be:
691                      <pre class="example">                      <pre class="html example">
692  <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>
693                    </p></dd>                    </p></dd>
694                <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 729  Web Document Conformance Checker (BETA)<
729    
730      <dl class="switch">      <dl class="switch">
731      <dt><code>html</code> element in an XHTML document</dt>      <dt><code>html</code> element in an XHTML document</dt>
732          <dd><p>In an XHTML document, the root <code>html</code>          <dd><p>In <abbr>XHTML</abbr> document, the root <code>html</code>
733          element must have an <code>xmlns</code> attribute          element must have an <code>xmlns</code> attribute as:
734          whose value is set to            <pre class="xml example">
735          <code>http://www.w3.org/1999/xhtml</code>.</p></dd>  <code>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;</code></pre></p></dd>
736      <dt><code>rss</code> element</dt>      <dt><code>rss</code> element</dt>
737          <dd><p>The document is written in some version of RSS.</p>          <dd><p>The document is written in some version of RSS.</p>
738          <p>The conformance checker does not support any version          <p>The conformance checker does not support any version
739          of RSS.  Use Atom 1.0 for feed documents.</p></dd>          of RSS.  Use Atom 1.0 for feed documents.</p></dd>
740      <dt><code>feed</code> element</dt>      <dt><code>feed</code> element</dt>
741          <dd><p>The Atom <code>feed</code> element must be          <dd><p>The Atom <code>feed</code> element must be
742          in the <code>http://www.w3.org/2004/Atom</code>          in the <code>http://www.w3.org/2005/Atom</code>
743          namespace.</p>          namespace as:
744              <pre class="xml example">
745    <code>&lt;feed xmlns=&quot;http://www.w3.org/2005/Atom&quot;&gt;</code></pre>
746            </p>
747          <p>The conformance checker does not support Atom 0.3.          <p>The conformance checker does not support Atom 0.3.
748          Use Atom 1.0 for feed documents.</p></dd>          Use Atom 1.0 for feed documents.</p></dd>
749      </dl>      </dl>
# Line 735  Web Document Conformance Checker (BETA)< Line 859  Web Document Conformance Checker (BETA)<
859  <section id="attribute-value-errors">  <section id="attribute-value-errors">
860  <h2>Attribute Value Errors</h2>  <h2>Attribute Value Errors</h2>
861    
862    <div class="section attribute-value-warning warning" id="w:charset:not-registered"><h3>Character encoding name <code><var>$0</var></code>
863      is not registered.</h3>
864        <p>The specified character encoding name is not registered to
865        <abbr>IANA</abbr>.  Use of registered character encoding name
866        is a good practice to facilitate interoperability.</p>
867    
868        <dl class="switch">
869        <dt><code>EUC-TW</code></dt>
870          <dd><code>EUC-TW</code> is not registered.  Unfortunately, there
871          is no registered name for that character encoding.  Use
872          Big5 encoding with character encoding name <code>Big5</code>
873          if it is enough to represent the document.</dd>
874        <dt><code>ISO-2022-JP-1</code></dt>
875          <dd><code>ISO-2022-JP-1</code> is not registered, nevertheless
876          this character encoding name is documented in
877          <a href="urn:ietf:rfc:2237"><abbr>RFC</abbr> 2237</a>.  Use
878          <code>ISO-2022-JP-2</code> instead, since that character encoding
879          is a superset of ISO-2022-JP-1.</dd>
880        <dt><code>ISO-2022-JP-3</code>, <code>ISO-2022-JP-3-plane1</code></dt>
881          <dd>These names are not registered and obsoleted in favor of
882          <code>ISO-2022-JP-2004</code> and
883          <code>ISO-2022-JP-2004-plane1</code>.</dd>
884        <dt><code>ISO-2022-JP-2003</code>,
885        <code>ISO-2022-JP-2003-plane1</code></dt>
886          <dd>These names are not registered and corrected to
887          <code>ISO-2022-JP-2004</code> and
888          <code>ISO-2022-JP-2004-plane1</code>.</dd>
889        <dt><code>ISO-2022-JP-2004</code>,
890        <code>ISO-2022-JP-2004-plane1</code></dt>
891          <dd>These names are not registered.  Unfortunately, there is
892          no registered name for these character encodings.</dd>
893        <dt><code>UTF-8N</code></dt>
894          <dd><code>UTF-8N</code> is not registered.  Character encoding
895          name <code>UTF-8</code> represents UTF-8 encoding with or
896          without <abbr>BOM</abbr>.</dd>
897        </dl>
898    
899        <p><strong>WARNING</strong>: This error might be raised for
900        a registered character encoding name, since the character encoding
901        name database of the conformance checker is not complete yet.</p>
902      </div>
903    
904    <div class="section attribute-value-warning warning" id="w:charset:private"><h3><code><var>$0</var></code> is a private
905      character encoding name.</h3>
906        <p>The specified character encoding name is a private name and
907        not registered to <abbr>IANA</abbr>.  Use of registered character
908        encoding name is a good practice to facilitate interoperability.</p>
909    
910        <dl class="switch">
911        <dt><code>x-euc-jp</code></dt>
912          <dd>Use <code>EUC-JP</code> for the Japanese <abbr>EUC</abbr>
913          character encoding.</dd>
914        <dt><code>x-sjis</code></dt>
915          <dd>Use <code>Shift_JIS</code> for standard Shift encoding scheme of
916          <abbr>JIS</abbr> coded character set, or <code>Windows-31J</code>
917          for Microsoft standard character set as implemented by
918          Microsoft Windows.</dd>
919        </dl>
920      </div>
921    
922    <div class="section attribute-value-error" id="m:charset:syntax-error"><h3>The specified value is syntactically not a
923      character encoding name.</h3>
924        <p>The attribute value must be a character encoding name.  However,
925        the specified value is not a character encoding name syntactically.
926        The document is non‐conforming.</p>
927        <p>Character encoding name is a string of <abbr>ASCII</abbr>
928        printable characters, up to 40 characters.</p>
929      </div>
930    
931  <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
932    values and the specified value <code><var>{@}</var></code> is not one    values and the specified value <code><var>{@}</var></code> is not one
933    of them.</h3>    of them.</h3>
# Line 744  Web Document Conformance Checker (BETA)< Line 937  Web Document Conformance Checker (BETA)<
937    
938      <dl>      <dl>
939      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>      <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
940          <dd><p>Only <code>Default-Style</code> and <code>Refresh</code>          <dd><p>Only values <code>Default-Style</code> and <code>Refresh</code>
941          is allowed.</p>          are allowed.</p>
942          <p>Value <code>Content-Type</code> is obsolete; for charset          <p>Value <code>Content-Type</code> is obsolete; for charset
943          declaration, the <code>charset</code> attribute can be used as:          declaration, the <code>charset</code> attribute can be used as:
944          <pre class="html example">          <pre class="html example">
# Line 763  Web Document Conformance Checker (BETA)< Line 956  Web Document Conformance Checker (BETA)<
956      </dl>      </dl>
957    </div>    </div>
958    
959    <div class="section attribute-value-error" id="enumerated:invalid:http-equiv:content-type"><h3>Character encoding declaration syntax
960      <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>
961      is obsolete.</h3>
962        <p>Old long character encoding declaration syntax
963        <code class="html bad example">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=<var>charset-name</var>&quot;&gt;</code>
964        is in use.  The document is non‐conforming.</p>
965    
966        <p>The new character encoding declaration syntax is:
967          <pre class="html example">
968    <code>&lt;meta charset=&quot;<var>charset-name</var>&quot;&gt;</code></pre>
969        </p>
970      </div>
971    
972  <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
973    assigned to another element.</h3></div>    assigned to another element.</h3></div>
974    
# Line 800  Web Document Conformance Checker (BETA)< Line 1006  Web Document Conformance Checker (BETA)<
1006      </dl>      </dl>
1007    </div>    </div>
1008    
1009    <div class="section attribute-value-error" id="m:mismatched-charset-name"><h3>Character encoding name <code><var>$1</var></code>
1010      is different from document character encoding
1011      <code><var>$0</var></code>.</h3>
1012        <p>The specified character encoding name is different from
1013        the character encoding of the document.  The document
1014        is non‐conforming.</p>
1015      </div>
1016    
1017  <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
1018    <code><var>{@}</var></code> is reserved.</h3>    <code><var>{@}</var></code> is reserved.</h3>
1019      <p>The specified browsing context name is reserved.      <p>The specified browsing context name is reserved.
# Line 856  Web Document Conformance Checker (BETA)< Line 1070  Web Document Conformance Checker (BETA)<
1070      The document is non-conforming.</p>      The document is non-conforming.</p>
1071    
1072      <p>For example, the table below is non-conforming:      <p>For example, the table below is non-conforming:
1073        <pre class="html non-conforming example">        <pre class="html bad example">
1074  <code>&lt;table&gt;  <code>&lt;table&gt;
1075  &lt;tbody&gt;  &lt;tbody&gt;
1076  &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 1177  Web Document Conformance Checker (BETA)<
1177      <code>text/cache-manifest</code> must contain a cache manifest.</p>      <code>text/cache-manifest</code> must contain a cache manifest.</p>
1178    
1179      <p>A cache manifest must start with a line whose content is      <p>A cache manifest must start with a line whose content is
1180      <code>CACHE MANIFEST</code> (exactly one space character between      <code class="manifest example">CACHE MANIFEST</code>
1181        (exactly one space character between
1182      <code>CACHE</code> and <code>MANIFEST</code>).</p>      <code>CACHE</code> and <code>MANIFEST</code>).</p>
1183    </div>    </div>
1184  </section>  </section>
1185    
1186    <section id="information">
1187    <h2>Stability Information</h2>
1188    
1189    <div class="section level-i" id="i:status:cr:element"><h3>This element is in the
1190      <strong>call for implementation</strong> stage.</h3>
1191        <p>The element is in the call for implementation stage.</p>
1192        
1193        <p>Usually, using the element is safe.  However, it is a new feature
1194        so that it might not be implemented correctly.  If it is found that
1195        the feature is hard or impossible to implement, the feature
1196        might be revised, or in some case it might be dropped.</p>
1197    
1198        <p>Elements defined by Atom 1.0, and XBL 2.0 belong to this
1199        class.</p>
1200      </div>
1201    
1202    <div class="section level-i" id="i:status:lc:element"><h3>This element is in the <strong>last
1203      call for comments</strong> stage.</h3>
1204        <p>The element is in the last call for comments stage.</p>
1205        
1206        <p>The element is relatively mature, though the standardization
1207        is not done yet.  It may be used for experiments.  Since it is a new
1208        feature, it might not be implemented correctly or at all.  If it is
1209        found that the feature is hard or impossible to implement, the feature
1210        might be revised or might be dropped.</p>
1211    
1212        <p>Elements defined by Web Forms 2.0 as well as some elements
1213        defined by HTML5 belong to this class.</p>
1214      </div>
1215    
1216    <div class="section level-i" id="i:status:wd:element"><h3>This element is documented in a <strong>working
1217      draft</strong>.</h3>
1218        <p>The element is documented in a working or editor's draft
1219        and not yet completed.</p>
1220        
1221        <p>The element should not be used for any practical purpose.
1222        The feature might be drastically changed later or might be
1223        entirely removed.</p>
1224    
1225        <p>Most of new elements defined by HTML5 belong to this class.</p>
1226      </div>
1227    
1228    <div class="section level-i" id="i:status:non-standard:element"><h3>This element is <strong>not part of any
1229      standard</strong> the conformance checker knows.</h3>
1230        <p>The element is not part of any standard or draft the conformance
1231        checker is aware of.</p>
1232        
1233        <p>The element should not be used for any practical purpose unless
1234        there is really a standard that defines the element.</p>
1235      </div>
1236    </section>
1237    
1238  <section id="unsupported-messages">  <section id="unsupported-messages">
1239  <h2><i>Unsupported</i> Messages</h2>  <h2><i>Unsupported</i> Messages</h2>
1240    
# Line 1026  Web Document Conformance Checker (BETA)< Line 1293  Web Document Conformance Checker (BETA)<
1293    
1294    
1295    
1296    <section id="levels">
1297    <h2>Error Levels</h2>
1298    
1299    <table id="levels-table">
1300    <thead>
1301    <tr><th scope="col">Level</th>
1302    <th scope="col">Conforming?</th>
1303    <th scope="col">Description</th>
1304    </tr>
1305    </thead>
1306    <tbody>
1307    <tr class="level-m" id="level-m">
1308    <th scope="row"><em class="rfc2119">MUST</em>‐level error</th>
1309    <td>Non‐conforming.</td>
1310    <td>A violation to a hard requirement of the specification.
1311    The document is non‐conforming.</td>
1312    </tr>
1313    <tr class="level-s" id="level-s">
1314    <th scope="row"><em class="rfc2119">SHOULD</em>‐level error</th>
1315    <td>Non‐conforming, but <em>in some case</em>
1316    conforming.</td>
1317    <td>A violation to a requirement of the specification.
1318    The violation might be legitimize in some case.  Otherwise,
1319    the document is non‐conforming.</td>
1320    </tr>
1321    <tr class="level-w" id="level-w">
1322    <th scope="row">Warning</th>
1323    <td>Conforming.</td>
1324    <td>A warning is an advice from the conformance checker to avoid
1325    to solve a problem in a confusing or possibly wrong way.
1326    It does not affect to the conformance of the document, and
1327    may sometimes be inappropriate.</td>
1328    </tr>
1329    <tr class="level-i" id="level-i">
1330    <th scope="row">Information</th>
1331    <td>Conforming.</td>
1332    <td>An informational message just provides an additional information
1333    on the feature used in the document or the status of the retrieval
1334    or so on.
1335    It does not affect to the conformance of the document.</td>
1336    </tr>
1337    <tr class="level-u" id="level-u">
1338    <th scope="row">Not supported</th>
1339    <td><em>Unknown</em>.</td>
1340    <td>Some feature that is not supported by the conformance checker
1341    is used in the document.</td>
1342    </tr>
1343    </tbody>
1344    </table>
1345    </section>
1346    
1347  <section id="license">  <section id="license">
1348  <h2>License of This Document</h2>  <h2>License of This Document</h2>
1349    
1350  <p>Copyright <time>2007</time>  <p>Copyright <time>2007</time>‐<time>2008</time>
1351  <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>
1352  <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>
1353    

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24