/[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.5 by wakaba, Tue Jul 17 13:52:54 2007 UTC revision 1.6 by wakaba, Sat Jul 21 04:58:17 2007 UTC
# Line 58  Web Document Conformance Checker (BETA)< Line 58  Web Document Conformance Checker (BETA)<
58    
59  <div class="section tokenize-error" id="bare-stago"><h3>A <code>&lt;</code> character is not followed  <div class="section tokenize-error" id="bare-stago"><h3>A <code>&lt;</code> character is not followed
60    by tag name or by a <code>!</code> character.</h3>    by tag name or by a <code>!</code> character.</h3>
61      <p>A <code>&lt;</code> (<code>U+003C</code> <code class="charname">LESS-THAN      <p>A <code>&lt;</code> (<code>U+003C</code>
62      SIGN</code>) character which is not part of any markup appears      <code class="charname">LESS-THAN SIGN</code>) character which is not part
63      in the input stream.</p>      of any markup appears in the input stream.</p>
64    
65      <p>The <code>&lt;</code> character as a data character must      <p>The <code>&lt;</code> character as a data character must
66      be escaped as:      be escaped as:
67      <pre class="html example">      <pre class="html example">
68  <code>&lt;lt;</code></pre>  <code>&amp;lt;</code></pre>
69      </p>      </p>
70    </div>    </div>
71    
# Line 79  Web Document Conformance Checker (BETA)< Line 79  Web Document Conformance Checker (BETA)<
79      The document is non-conforming.</p>      The document is non-conforming.</p>
80    
81      <p>The string <code>&amp;#</code> must be the first two characters      <p>The string <code>&amp;#</code> must be the first two characters
     <code>NUMBER SIGN</code>) character must be the first two characters  
82      of a reference:      of a reference:
83        <dl>        <dl>
84        <dt>Numeric character reference</dt>        <dt>Numeric character reference</dt>
# Line 96  Web Document Conformance Checker (BETA)< Line 95  Web Document Conformance Checker (BETA)<
95      </p>      </p>
96    
97      <p>To represent <code>&amp;#</code> as data characters, use      <p>To represent <code>&amp;#</code> as data characters, use
98      named entity reference:      a named entity reference for the <code>&amp;</code> character:
99        <pre class="html example">        <pre class="html example">
100  <code>&amp;amp;#</code></pre>  <code>&amp;amp;#</code></pre>
101      </p>      </p>
# Line 116  Web Document Conformance Checker (BETA)< Line 115  Web Document Conformance Checker (BETA)<
115      of the code point of the character to be referenced.</p>      of the code point of the character to be referenced.</p>
116    
117      <p>To represent <code>&amp;#x</code> as data characters, use      <p>To represent <code>&amp;#x</code> as data characters, use
118      named entity reference:      a named entity reference for the <code>&amp;</code> character:
119        <pre class="html example">        <pre class="html example">
120  <code>&amp;amp;#x</code></pre>  <code>&amp;amp;#x</code></pre>
121      </p>      </p>
# Line 135  Web Document Conformance Checker (BETA)< Line 134  Web Document Conformance Checker (BETA)<
134      declaration.</p>      declaration.</p>
135    </div>    </div>
136    
137  <div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with same name.</h3>  <div class="section tokenize-error" id="duplicate-attribute"><h3>There are two attributes with name
138          <code><var>$0</var></code>.</h3>
139      <p>There are more than one attributes with the same      <p>There are more than one attributes with the same
140      name in a tag.  The document is non-conforming.</p>      name in a tag.  The document is non-conforming.</p>
141    
# Line 175  Web Document Conformance Checker (BETA)< Line 175  Web Document Conformance Checker (BETA)<
175      <p>Instead of XML style sheet,      <p>Instead of XML style sheet,
176      <abbr title="processing instruction">PI</abbr>s, you must      <abbr title="processing instruction">PI</abbr>s, you must
177      use the HTML <code>link</code> element whose <code>rel</code>      use the HTML <code>link</code> element whose <code>rel</code>
178      attribute is set to <code>stylesheet</code> (or <code>alternate      attribute is set to <code>stylesheet</code> (or
179      stylesheet</code> for an aleternate style sheet).</p>      <code>alternate stylesheet</code> for an aleternate style sheet).</p>
180    
181      <p>Web browsers will parse processing instructions as bogus      <p>Web browsers will parse processing instructions as bogus
182      comments.  Some legacy Web browsers, such as IE:mac and      comments.  Some legacy Web browsers, such as IE:mac and
# Line 215  Web Document Conformance Checker (BETA)< Line 215  Web Document Conformance Checker (BETA)<
215    </div>    </div>
216    
217  <div class="section parse-error" id="in-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>  <div class="section parse-error" id="in-body"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
218    is not allowed in <code>body</code>.</h3>    is not allowed in a <code>body</code> element.</h3>
219      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
220      cannot be a descendant of <code>body</code> element, appears      cannot be a descendant of <code>body</code> element, appears
221      in the input stream while the <code>body</code> element has been opened.      in the input stream while the <code>body</code> element has been opened.
222      The document is non-conforming.</p>      The document is non-conforming.</p>
223    </div>    </div>
224    
225    <div class="section parse-error" id="in-head:head"><h3>Start tag <code>&lt;<var>head</var>&gt;</code>
226      is not allowed in the <code>head</code> element.</h3>
227        <p>There is a start tag <code>&lt;head&gt;</code> in the
228        <code>&lt;head&gt;</code> element.  The document is non-conforming.</p>
229    
230        <p>In an HTML document there must not be more than
231        one <code>head</code> element, therefore no more than one
232        start tag <code>&lt;head&gt;</code> can appear in the input stream.</p>
233      </div>
234    
235  <div class="section parse-error" id="in-table"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>  <div class="section parse-error" id="in-table"><h3>Tag <code>&lt;<var>$0</var>&gt;</code>
236    is not allowed in <code>table</code>.</h3>    is not allowed in a <code>table</code> element.</h3>
237      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
238      cannot be a child of <code>table</code> element, appears      cannot be a child of <code>table</code> element, appears
239      in the input stream while the <code>table</code> element has been opened      in the input stream while the <code>table</code> element has been opened
# Line 260  Web Document Conformance Checker (BETA)< Line 270  Web Document Conformance Checker (BETA)<
270      these start tags, it must be explicitly specified.</p>      these start tags, it must be explicitly specified.</p>
271    </div>    </div>
272    
273  <div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with the  <div class="section parse-error" id="no-DOCTYPE"><h3>This document does not start with a
274    <code>DOCTYPE</code>.</h3>    <code>DOCTYPE</code>.</h3>
275      <p>The document does not start with a <code>DOCTYPE</code>.      <p>The document does not start with a <code>DOCTYPE</code>.
276      The document is non-conforming.</p>      The document is non-conforming.</p>
# Line 281  Web Document Conformance Checker (BETA)< Line 291  Web Document Conformance Checker (BETA)<
291      the end of the document.  The document is non-conforming.</p>      the end of the document.  The document is non-conforming.</p>
292    </div>    </div>
293    
294    <div class="section parse-error" id="not-first-start-tag"><h3>This <code>&lt;html&gt;</code> tag is not
295      the first start tag.</h3>
296        <p>There is a start tag of the <code>html</code> element
297        that it not the first start tag in the input stream.
298        The document is non-conforming.</p>
299    
300        <p>In an HTML document, there cannot be more than one
301        <code>html</code> element and therefore there cannot be
302        more than one <code>&lt;html&gt;</code> tag.  In addition,
303        nothing can be placed before the <code>&lt;html&gt;</code> tag
304        except a <code>DOCTYPE</code>, white space characters,
305        and comments.</p>
306      </div>
307    
308  <div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of  <div class="section parse-error" id="not-HTML5"><h3>This document is written in an old version of
309    HTML.</h3>    HTML.</h3>
310      <p>The document contains a <code>DOCTYPE</code> declaration      <p>The document contains a <code>DOCTYPE</code> declaration
311      that is different from HTML5 <code>DOCTYPE</code> (i.e. <code>&lt;!DOCTYPE      that is different from HTML5 <code>DOCTYPE</code> (i.e.
312      HTML&gt;</code>).  The document is non-conforming.</p>      <code>&lt;!DOCTYPE HTML&gt;</code>).  The document is non-conforming.</p>
313    
314      <p>The document might or might not be conformant to      <p>The document might or might not be conformant to
315      some version of HTML.  However, conformance to any HTML      some version of HTML.  However, conformance to any HTML
# Line 314  Web Document Conformance Checker (BETA)< Line 338  Web Document Conformance Checker (BETA)<
338      context.  The document is non-conforming.</p>      context.  The document is non-conforming.</p>
339    
340      <p>Possible causes:      <p>Possible causes:
341        <dl>        <ul>
342        <dt>If the erred element is an inline-level element (such        <li><p>A data character cannot be a child
343        as <code>a</code> or <code>span</code>)</dt>        of certain sectioning elements such as <code>body</code>,
344            <dd><p>A data character cannot be a child        <code>section</code>, and <code>blockquote</code>.</p>
345            of certain sectioning elements such as <code>body</code>,  
346            <code>section</code>, and <code>blockquote</code>.</p>        <p>Any inline-level content must be put
347          in e.g. paragraph element such as <code>p</code>.</p></li>
348            <p>Any inline-level content must be put        <li><p>Though some elements such as <code>div</code>,
349            in e.g. paragraph element such as <code>p</code>.</p></dd>        <code>li</code>, and <code>td</code> allow
350        <dt>If the erred element is a block-level element (such as        <em>either one</em> of block-level or inline-level content
351        <code>div</code> or <code>h<var>n</var></code>)</dt>        is allowed.  If there is a block-level content,
352            <dd><p>Though some elements such as <code>div</code>,        any inline-level content must be put
353            <code>li</code>, and <code>td</code> allow        in e.g. paragraph element such as <code>p</code>.</p></li>
354            <em>either one</em> of block-level or inline-level content        </ul>
           is allowed.  If there is a block-level content,  
           any inline-level content must be put  
           in e.g. paragraph element such as <code>p</code>.</p></dd>  
       </dl>  
355      </p>      </p>
356    </div>    </div>
357    
# Line 368  Web Document Conformance Checker (BETA)< Line 388  Web Document Conformance Checker (BETA)<
388      <em>not</em> support form elements yet.</p>      <em>not</em> support form elements yet.</p>
389    
390      <p>Possible causes:      <p>Possible causes:
391        <dl>        <dl class="switch">
392        <dt>If the erred element is an inline-level element (such        <dt>If the element with the error is an inline-level element,
393        as <code>a</code> or <code>span</code>)</dt>        such as <code>a</code>, <code>progress</code>, or <code>img</code></dt>
394            <dd><p>An inline-level element cannot be a child            <dd><p>An inline-level element cannot be a child
395            of certain sectioning elements such as <code>body</code>,            of certain sectioning elements such as <code>body</code>,
396            <code>section</code>, and <code>blockquote</code>.</p>            <code>section</code>, and <code>blockquote</code>.</p>
397    
398            <p>Any inline-level content must be put            <p>Any inline-level content must be put
399            in e.g. paragraph element such as <code>p</code>.</p></dd>            in e.g. paragraph element such as <code>p</code>.</p></dd>
400        <dt>If the erred element is a block-level element (such as        <dt>If the element with the error is a block-level element,
401        <code>div</code> or <code>h<var>n</var></code>)</dt>        such as <code>div</code>, <code>h<var>n</var></code>, or
402          <code>section</code></dt>
403            <dd><p>Though some elements such as <code>div</code>,            <dd><p>Though some elements such as <code>div</code>,
404            <code>li</code>, and <code>td</code> allow            <code>li</code>, and <code>td</code> allow
405            <em>either one</em> of block-level or inline-level content            <em>either one</em> of block-level or inline-level content
406            is allowed.  If there is a block-level content,            is allowed.  If there is a block-level content,
407            any inline-level content must be put            any inline-level content must be put
408            in e.g. paragraph element such as <code>p</code>.</p></dd>            in e.g. paragraph element such as <code>p</code>.</p></dd>
409        <dt>If the erred element is the root <code>html</code> element</dt>        <dt>If the element with the error is a <code>noscript</code> element</dt>
410              <dd>The <code>noscript</code> element is allowed only in the context
411              where a block-level or inline-level content is expected
412              and in the <code>head</code> element.
413              It cannot be used in e.g. <code>ul</code>, <code>table</code>,
414              or <code>select</code>.</dd>
415          <dt>If the element with the error is the <code>html</code> element
416          that is the root element of an XHTML document</dt>
417            <dd><p>In an XHTML document, the root <code>html</code>            <dd><p>In an XHTML document, the root <code>html</code>
418            element must have an <code>xmlns</code> attribute            element must have an <code>xmlns</code> attribute
419            whose value is set to            whose value is set to
# Line 394  Web Document Conformance Checker (BETA)< Line 422  Web Document Conformance Checker (BETA)<
422      </p>      </p>
423    </div>    </div>
424    
425    <div class="section content-model-error" id="ps-element-missing"><h3>There is no <code><var>$0</var></code>
426      element before this element.</h3>
427        <p>There must be an element before another element, but there
428        is not.  The document is non-conforming.</p>
429    
430        <p>For example, there must be a <code>dt</code> element
431        before any <code>dd</code> element.</p>
432      </div>
433    
434  </section>  </section>
435    
436  <section id="attribute-errors">  <section id="attribute-errors">
# Line 423  Web Document Conformance Checker (BETA)< Line 460  Web Document Conformance Checker (BETA)<
460    
461      <p>To specify natural language information in HTML document,      <p>To specify natural language information in HTML document,
462      use <code>lang</code> attribute instead.</p>      use <code>lang</code> attribute instead.</p>
463    
464        <p>XHTML 1.0 Appendix C was encouraged to specify both
465        <code>lang</code> and <code>xml:lang</code> attributes with
466        the same value.  Such a duplication has <em>no effect</em> in practice.
467        Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in
468        XML).</p>
469    
470      <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created      <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
471           from an HTML document? -->           from an HTML document? -->
472    </div>    </div>
# Line 469  Web Document Conformance Checker (BETA)< Line 513  Web Document Conformance Checker (BETA)<
513  <h2>Attribute Value Errors</h2>  <h2>Attribute Value Errors</h2>
514    
515  <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
516    values and the specified value is not one of them.</h3></div>    values and the specified value <code><var>{@}</var></code> is not one
517      of them.</h3></div>
518    
519  <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
520    assigned to another element.</h3></div>    assigned to another element.</h3></div>
# Line 489  Web Document Conformance Checker (BETA)< Line 534  Web Document Conformance Checker (BETA)<
534    
535  <div class="section attribute-value-error" id="link-type:non-conforming"><h3>The link type <code><var>$0</var></code>  <div class="section attribute-value-error" id="link-type:non-conforming"><h3>The link type <code><var>$0</var></code>
536    is non-conforming.</h3>    is non-conforming.</h3>
537      <p>The specified link type is non-conforming.  The entire document      <p>The specified link type is non-conforming, and therefore
538      is non-conforming.</p>      the document is non-conforming.</p>
539    
540      <p>For example, in place of non-conforming link type <code>copyright</code>      <dl>
541      you must use link type <code>license</code>.</p>      <dt>Link type <code>contents</code></dt>
542    </div>        <dd>Use link type <code>index</code>.</dd>
543        <dt>Link type <code>copyright</code></dt>
544          <dd>Use link type <code>license</code>.</dd>
545        <dt>Link type <code>home</code></dt>
546          <dd>Use link type <code>index</code>.</dd>
547        <dt>Link type <code>start</code></dt>
548          <dd>Use link type <code>first</code>.</dd>
549        <dt>Link type <code>toc</code></dt>
550          <dd>Use link type <code>index</code>.</dd>
551        </dl>
552      </div>
553    
554    <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>Browsing context name
555      <code><var>{@}</var></code> is reserved.</h3>
556        <p>The specified browsing context name is reserved.
557        The document is non-conforming.</p>
558    
559  <div class="section attribute-value-error" id="reserved-browsing-context-name"><h3>This browsing context name is reserved.</h3></div>      <p>Names of browsing contexts starting with <code>_</code>
560        (<code>U+005F</code> <code class="charname">LOW LINE</code>)
561        are reserved so that it must not be used.</p>
562    
563        <p>Old version of HTML, non-HTML markup languages, and
564        Web browsers define or implements special reserved
565        browsing context names <code>_blank</code>,
566        <code>_main</code>, and <code>_replace</code>.
567        However, they are <em>not</em> conforming attribute values.</p>
568      </div>
569    
570  </section>  </section>
571    
# Line 529  Web Document Conformance Checker (BETA)< Line 598  Web Document Conformance Checker (BETA)<
598  <div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or  <div class="section table-model-error" id="table:no-cell-in-last-row"><h3>The table has no cell (<code>td</code> or
599    <code>th</code>) in the last row.</h3></div>    <code>th</code>) in the last row.</h3></div>
600    
601    <div class="section table-model-error" id="table:rowspan-extends-table"><h3>This <code>rowspan</code> attribute
602      results in creating a table row that does not contain
603      any cell anchored to it.</h3>
604        <p>The <code>rowspan</code> attribute value of the cell
605        is so specified that it extends a table in the row axis.
606        However, the extended row does not contain any cell by itself.
607        The document is non-conforming.</p>
608    
609        <p>For example, the table below is non-conforming:
610          <pre class="html non-conforming example">
611    <code>&lt;table&gt;
612    &lt;tbody&gt;
613    &lt;tr&gt;&lt;td rowspan=2&gt;&lt;/td&gt;&lt;/tr&gt;
614    &lt;/tbody&gt;
615    &lt;/table&gt;</code></pre>
616        ... is non-conforming, since the second row contains only
617        a cell that spans the first and the second rows.</p>
618      </div>
619    
620  </section>  </section>
621    
622  <section id="imt-warnings">  <section id="imt-warnings">
623  <h2>Internet Media Type Warnings</h2>  <h2>Internet Media Type Warnings</h2>
624    
625  <div class="section should" id="s:IMT:obsolete-subtype"><h3>An <em>obsolete</em> subtype is used.</h3></div>  <div class="section should" id="s:IMT:obsolete-subtype"><h3><code><var>{@}</var></code>: An <em>obsolete</em>
   
 <div class="section should" id="s:IMT:private-subtype"><h3>A private (<code>x-</code> or <code>x.</code>)  
626    subtype is used.</h3></div>    subtype is used.</h3></div>
627    
628  <div class="section should" id="s:IMT:unregistered-subtype"><h3>The subtype is not registered to IANA.</h3></div>  <div class="section should" id="s:IMT:private-subtype"><h3><code><var>{@}</var></code>: A private
629      (<code>x-</code> or <code>x.</code>) subtype is used.</h3></div>
630    
631    <div class="section should" id="s:IMT:unregistered-subtype"><h3><code><var>{@}</var></code>: The subtype is
632      not registered to IANA.</h3></div>
633    
634  </section>  </section>
635    
636  <section id="uri-errors">  <section id="uri-errors">
637  <h2>URI (or IRI) Errors</h2>  <h2>URI (or IRI) Errors</h2>
638    
639  <div class="section must" id="m:URI::syntax-error"><h3>This string is syntactically not an IRI.</h3></div>  <div class="section must" id="m:URI::syntax-error"><h3>The specified value is syntactically not an IRI
640      reference.</h3>
641        <p>The specified value does not satisfy the syntactical requirements
642        for IRI references.  The document is non-conforming.</p>
643    
644        <p>Possible causes:
645          <ul>
646          <li>The string might contain one or more white space characters.
647          Especially, the <code> </code> (<code>U+0020</code>
648          <code class="charname">SPACE</code>) character cannot be
649          used in IRI references.</li>
650          </ul>
651        </p>
652      </div>
653    
654  </section>  </section>
655    
# Line 582  Web Document Conformance Checker (BETA)< Line 685  Web Document Conformance Checker (BETA)<
685      decoded (or bare) form.</p>      decoded (or bare) form.</p>
686    </div>    </div>
687    
688    <div class="section should" id="s:URI::uppercase-scheme-name"><h3>URI scheme name is in uppercase.</h3>
689        <p>The scheme part of the IRI is written in uppercase letter.</p>
690    
691        <p>Uppercase scheme names are not required to be processed
692        correctly.</p>
693    <!-- @@
694     RFC 3986 3.1.
695     > Although schemes are case-
696       insensitive, the canonical form is lowercase and documents that
697       specify schemes must do so with lowercase letters.
698    
699     > An implementation ... should only produce lowercase scheme names for
700       consistency.
701    -->
702      </div>
703    
704  </section>  </section>
705    
706  <section id="unsupported-messages">  <section id="unsupported-messages">

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24