/[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.10 by wakaba, Tue Sep 4 11:40:02 2007 UTC revision 1.11 by wakaba, Sun Nov 4 09:15:02 2007 UTC
# Line 235  Web Document Conformance Checker (BETA)< Line 235  Web Document Conformance Checker (BETA)<
235      <code>embed</code>, <code>param</code>, <code>area</code>,      <code>embed</code>, <code>param</code>, <code>area</code>,
236      <code>col</code>, and <code>input</code> elements.</p>      <code>col</code>, and <code>input</code> elements.</p>
237    
238      <dl>      <dl class="switch">
239      <dt><code>&lt;script/&gt;</code></dt>      <dt><code>&lt;script/&gt;</code></dt>
240          <dd><p>The polytheistic slash cannot be used for <code>script</code>          <dd><p>The polytheistic slash cannot be used for <code>script</code>
241          element.  Even for an empty <code>script</code> element,          element.  Even for an empty <code>script</code> element,
# Line 251  Web Document Conformance Checker (BETA)< Line 251  Web Document Conformance Checker (BETA)<
251          <dd>These elements are themselves non-conforming.</dd>          <dd>These elements are themselves non-conforming.</dd>
252      <!-- isindex, image -->      <!-- isindex, image -->
253      <dt><code>&lt;command/&gt;</code>, <code>&lt;event-source/&gt;</code>,      <dt><code>&lt;command/&gt;</code>, <code>&lt;event-source/&gt;</code>,
254      <code>&lt;source/&gt;</code></dt>      <code>&lt;nest/&gt;</code>, or <code>&lt;source/&gt;</code></dt>
255          <dd>Future revision of HTML5 parsing algorithm is expected          <dd>Future revision of HTML5 parsing algorithm is expected
256          to allow polytheistic slash for these elements.</dd>          to allow polytheistic slash for these elements.</dd>
257      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>      <dt><code>&lt;a/&gt;</code>, <code>&lt;p/&gt;</code></dt>
# Line 272  Web Document Conformance Checker (BETA)< Line 272  Web Document Conformance Checker (BETA)<
272      (<code>&lt;?xml-stylesheet <var>...</var>?&gt;</code>), are not allowed      (<code>&lt;?xml-stylesheet <var>...</var>?&gt;</code>), are not allowed
273      in the HTML syntax.  The document is non-conforming.</p>      in the HTML syntax.  The document is non-conforming.</p>
274    
275      <dl>      <dl class="switch">
276        <dt><code>&lt;?xbl?&gt;</code> (<abbr>XBL</abbr> Association)</dt>
277          <dd>An <abbr>XBL</abbr> binding cannot be associated by
278          <abbr title="processing instruction">PI</abbr> in <abbr>HTML</abbr>
279          document.  Use <code>binding</code> property in <abbr>CSS</abbr>
280          style sheet.</dd>
281      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
282          <dd>XML declaration is unnecessary for HTML documents.</dd>          <dd>XML declaration is unnecessary for HTML documents.</dd>
283      <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet      <dt><code>&lt;?xml-stylesheet?&gt;</code> (XML style sheet
284      <abbr title="processing instruction">PI</abbr></dt>      <abbr title="processing instruction">PI</abbr>)</dt>
285          <dd>Use HTML <code>link</code> element with <code>rel</code>          <dd>Use HTML <code>link</code> element with <code>rel</code>
286          attribute set to <code>stylesheet</code> (or,          attribute set to <code>stylesheet</code> (or,
287          <code>alternate stylesheet</code> for an alternate style          <code>alternate stylesheet</code> for an alternate style
288          sheet).</dd>          sheet).</dd>
289      <dt><code>&lt;?php?&gt;</code> (PHP code)</dt>      <dt><code>&lt;?php?&gt;</code> or
290        <code>&lt;? <var>... <abbr>PHP</abbr> code ...</var> ?&gt;</code>
291        (<abbr>PHP</abbr> code)</dt>
292          <dd>The conformance checker does <em>not</em> support          <dd>The conformance checker does <em>not</em> support
293          checking for PHP source documents.</dd>          checking for PHP source documents.</dd>
294      <dt>Other processing instructions</dt>      <dt>Other processing instructions</dt>
# Line 393  Web Document Conformance Checker (BETA)< Line 400  Web Document Conformance Checker (BETA)<
400      </p>      </p>
401    
402      <p>Only white space characters and comments are allowed      <p>Only white space characters and comments are allowed
403      before the <code>DOCTYPE</code>.</p>      before the <code>DOCTYPE</code>.  XML declaration is <em>not</em>
404        allowed in HTML document.</p>
405    </div>    </div>
406    
407  <div class="section parse-error" id="not-closed"><h3>Element <code><var>$0</var></code> is not  <div class="section parse-error" id="not-closed"><h3>Element <code><var>$0</var></code> is not
# Line 402  Web Document Conformance Checker (BETA)< Line 410  Web Document Conformance Checker (BETA)<
410      an end tag of another element appears or      an end tag of another element appears or
411      the end of the document.  The document is non-conforming.</p>      the end of the document.  The document is non-conforming.</p>
412    
413      <p>Only <code>body</code>, <code>dd</code>, <code>dt</code>,      <p>Only <code>body</code>, <code>colgroup</code>, <code>dd</code>,
414      <code>head</code>, <code>html</code>, <code>li</code>,      <code>dt</code>, <code>head</code>, <code>html</code>, <code>li</code>,
415      <code>ol</code>, <code>option</code>, <code>optgroup</code>,      <code>ol</code>, <code>option</code>, <code>optgroup</code>,
416      <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, or      <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>,
417      <code>ul</code> end tag can be implied in HTML documents.      <code>tbody</code>, <code>td</code>, <code>tfoot</code>,
418        <code>th</code>, <code>thead</code>, <code>tr</code>,
419        <code>ul</code> end tag can be omitted in HTML documents.
420      For any element except for void element, there must be an explicit      For any element except for void element, there must be an explicit
421      end tag.</p>      end tag.</p>
422    
423        <dl class="switch">
424        <dt>HTML <code>canvas</code> element</dt>
425          <dd>Though the element is void in earlier versions of Safari,
426          the <code>canvas</code> element is <em>no</em> longer
427          defined as empty.  There must be an end tag
428          <code>&lt;/canvas&gt;</code>.</dd>
429        </dl>
430    
431      <p>Note that misnesting tags, such as      <p>Note that misnesting tags, such as
432      <code class="bad example">&lt;a&gt;&lt;b&gt;&lt;/a&gt;&lt;/b&gt;</code>, are not      <code class="bad example">&lt;a&gt;&lt;b&gt;&lt;/a&gt;&lt;/b&gt;</code>, are not
433      allowed and they also cause this error.</p>      allowed and they also cause this error.</p>
# Line 449  Web Document Conformance Checker (BETA)< Line 467  Web Document Conformance Checker (BETA)<
467    
468      <p>For any end tag in HTML document, there must be a      <p>For any end tag in HTML document, there must be a
469      corresponding start tag.</p>      corresponding start tag.</p>
470    
471        <dl class="switch">
472        <dt>HTML <code>base</code>, <code>basefont</code>,
473        <code>bgsound</code>, <code>br</code>, <code>col</code>,
474        <code>embed</code>, <code>frame</code>, <code>hr</code>,
475        <code>image</code>, <code>img</code>, <code>input</code>,
476        <code>isindex</code>, <code>link</code>, <code>meta</code>,
477        <code>param</code>, <code>spacer</code>, or <code>wbr</code> element</dt>
478          <dd>End tag is not allowed for these elements, since
479          those content must always be empty.  Remove end tag.</dd>
480        <!-- keygen -->
481        <!-- command, event-source, nest, source -->
482        </dl>
483    </div>    </div>
484    
485  </section>  </section>
# Line 485  Web Document Conformance Checker (BETA)< Line 516  Web Document Conformance Checker (BETA)<
516      must contain a <code><var>$0</var></code> child element.      must contain a <code><var>$0</var></code> child element.
517      The document is non-conforming.</p>      The document is non-conforming.</p>
518    
519      <p>For example:      <dl class="switch">
520        <ul>      <dt>HTML <code>head</code> element</dt>
521        <li>The <code>head</code> element must contain exactly one        <dd>There must be a <code>title</code> child element.</dd>
522        <code>title</code> child element.</li>      <dt>HTML <code>html</code> element</dt>
523        <li><a href="#child-element-missing:td%7Cth">The <code>tr</code>        <dd>There must be a <code>head</code> child element followed
524        element must contain one or more <code>td</code> or <code>th</code>        by a <code>body</code> element.</dd>
525        child element.</a></li>      <dt>HTML <code>tr</code> element</dt>
526        </ul>        <dd><a href="#child-element-missing:td%7Cth">There must be
527      </p>        one or more <code>td</code> or <code>th</code> child element.</a></dd>
528        </dl>
529    </div>    </div>
530    
531  <div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code>  <div class="section content-model-error" id="child-element-missing:td|th"><h3>There must be a <code>td</code>
# Line 550  Web Document Conformance Checker (BETA)< Line 582  Web Document Conformance Checker (BETA)<
582            and in the <code>head</code> element.            and in the <code>head</code> element.
583            It cannot be used in e.g. <code>ul</code>, <code>table</code>,            It cannot be used in e.g. <code>ul</code>, <code>table</code>,
584            or <code>select</code>.</dd>            or <code>select</code>.</dd>
       <dt>If the element with the error is the <code>html</code> element  
       that is the root element of an XHTML document</dt>  
           <dd><p>In an XHTML document, the root <code>html</code>  
           element must have an <code>xmlns</code> attribute  
           whose value is set to  
           <code>http://www.w3.org/1999/xhtml</code>.</p></dd>  
585        <dt>If the element with the error is <code>blink</code>,        <dt>If the element with the error is <code>blink</code>,
586        <code>center</code>, or <code>marquee</code> element</dt>        <code>center</code>, or <code>marquee</code> element</dt>
587            <dd>These elements are not part of the HTML standard.            <dd>These elements are not part of the HTML standard.
588            Use CSS for styling control.</dd>            Use CSS for styling control.</dd>
589    
590        <dt><code>button</code>, <code>datalist</code>, <code>form</code>,        <dt><code>button</code>, <code>datalist</code>,
591          <code>fieldset</code>, <code>form</code>,
592        <code>input</code>, <code>label</code>,        <code>input</code>, <code>label</code>,
593        <code>optgroup</code>, <code>option</code>, <code>output</code>,        <code>optgroup</code>, <code>option</code>, <code>output</code>,
594        <code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>,        <code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>,
# Line 573  Web Document Conformance Checker (BETA)< Line 600  Web Document Conformance Checker (BETA)<
600      </p>      </p>
601    </div>    </div>
602    
603    <div class="section content-model-error" id="element-not-allowed:root"><h3>This element is not allowed as a root
604      element.</h3>
605        <p>An element that is not allowed as the root element
606        is used as the root element of the document.  The document is
607        non-conforming, as far as the conformance checker can tell.</p>
608    
609        <dl class="switch">
610        <dt><code>html</code> element in an XHTML document</dt>
611            <dd><p>In an XHTML document, the root <code>html</code>
612            element must have an <code>xmlns</code> attribute
613            whose value is set to
614            <code>http://www.w3.org/1999/xhtml</code>.</p></dd>
615        <dt><code>rss</code> element</dt>
616            <dd><p>The document is written in some version of RSS.</p>
617            <p>The conformance checker does not support any version
618            of RSS.  Use Atom 1.0 for feed documents.</p></dd>
619        <dt><code>feed</code> element</dt>
620            <dd><p>The Atom <code>feed</code> element must be
621            in the <code>http://www.w3.org/2004/Atom</code>
622            namespace.</p>
623            <p>The conformance checker does not support Atom 0.3.
624            Use Atom 1.0 for feed documents.</p></dd>
625        </dl>
626      </div>
627    
628  <div class="section content-model-error" id="ps-element-missing"><h3>There is no <code><var>$0</var></code>  <div class="section content-model-error" id="ps-element-missing"><h3>There is no <code><var>$0</var></code>
629    element before this element.</h3>    element before this element.</h3>
630      <p>There must be an element before another element, but there      <p>There must be an element before another element, but there
# Line 732  Web Document Conformance Checker (BETA)< Line 784  Web Document Conformance Checker (BETA)<
784      <p>The specified link type is non-conforming, and therefore      <p>The specified link type is non-conforming, and therefore
785      the document is non-conforming.</p>      the document is non-conforming.</p>
786    
787      <dl>      <dl class="switch">
788      <dt>Link type <code>contents</code></dt>      <dt>Link type <code>contents</code></dt>
789        <dd>Use link type <code>index</code>.</dd>        <dd>Use link type <code>index</code>.</dd>
790      <dt>Link type <code>copyright</code></dt>      <dt>Link type <code>copyright</code></dt>
791        <dd>Use link type <code>license</code>.</dd>        <dd>Use link type <code>license</code>.</dd>
792      <dt>Link type <code>home</code></dt>      <dt>Link type <code>home</code></dt>
793        <dd>Use link type <code>index</code>.</dd>        <dd>Use link type <code>index</code>.</dd>
794        <dt>Link type <code>previous</code></dt>
795          <dd>Use link type <code>prev</code>.</dd>
796      <dt>Link type <code>start</code></dt>      <dt>Link type <code>start</code></dt>
797        <dd>Use link type <code>first</code>.</dd>        <dd>Use link type <code>first</code>.</dd>
798      <dt>Link type <code>toc</code></dt>      <dt>Link type <code>toc</code> or <code>top</code></dt>
799        <dd>Use link type <code>index</code>.</dd>        <dd>Use link type <code>index</code>.</dd>
800      </dl>      </dl>
801    </div>    </div>
# Line 776  Web Document Conformance Checker (BETA)< Line 830  Web Document Conformance Checker (BETA)<
830    
831      <p><strong>Warning</strong>: The data served to the      <p><strong>Warning</strong>: The data served to the
832      conforming checker might be out of date; it might have already      conforming checker might be out of date; it might have already
833      been accepted or rejected, depending on which the document      been accepted or rejected.  The document might or might not be
834      might be conforming or non-conforming.  See WHATWG Wiki      conforming depending on the status.  See WHATWG Wiki
835      for the latest information.</p>      for the latest information.</p>
836    </div>    </div>
837    
# Line 898  Web Document Conformance Checker (BETA)< Line 952  Web Document Conformance Checker (BETA)<
952    
953  </section>  </section>
954    
955    <section id="cache-manifest-errors">
956    <h2>Cache Manifest Errors</h2>
957    
958    <div class="section must" id="m:not-manifest"><h3>This document is not a cache manifest.</h3>
959        <p>The specified document is <em>not</em> a cache manifest.
960        The document is non-conforming.</p>
961    
962        <p>An entity labeled as Internet media type
963        <code>text/cache-manifest</code> must contain a cache manifest.</p>
964    
965        <p>A cache manifest must start with a line whose content is
966        <code>CACHE MANIFEST</code> (exactly one space character between
967        <code>CACHE</code> and <code>MANIFEST</code>).</p>
968      </div>
969    </section>
970    
971  <section id="unsupported-messages">  <section id="unsupported-messages">
972  <h2><i>Unsupported</i> Messages</h2>  <h2><i>Unsupported</i> Messages</h2>
973    
# Line 941  Web Document Conformance Checker (BETA)< Line 1011  Web Document Conformance Checker (BETA)<
1011  <div class="section unsupported" id="unsupported:event-handler"><h3>Conformance checking for event handler attribute  <div class="section unsupported" id="unsupported:event-handler"><h3>Conformance checking for event handler attribute
1012    is not supported; <em>it might or might not be conforming.</em></h3></div>    is not supported; <em>it might or might not be conforming.</em></h3></div>
1013    
 <div class="section unsupported" id="unsupported:language-tag"><h3>Conformance checking for language tag  
   is not supported; <em>it might or might not be conforming.</em></h3></div>  
   
1014  <div class="section unsupported" id="unsupported:media-query"><h3>Conformance checking for media query  <div class="section unsupported" id="unsupported:media-query"><h3>Conformance checking for media query
1015    is not supported; <em>it might or might not be conforming.</em></h3></div>    is not supported; <em>it might or might not be conforming.</em></h3></div>
1016    
# Line 962  Web Document Conformance Checker (BETA)< Line 1029  Web Document Conformance Checker (BETA)<
1029  <section id="license">  <section id="license">
1030  <h2>License of This Document</h2>  <h2>License of This Document</h2>
1031    
1032  <p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a></p>  <p>Copyright <time>2007</time>
1033    <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a>
1034    <code class="mail">&lt;<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>&gt;</code>.</p>
1035    
1036  <p>This document is free software; you can redistribute it  <p>This document is free software; you can redistribute it
1037  and/or modify it under the same terms as Perl itself.</p>  and/or modify it under the same terms as Perl itself.</p>
1038  </section>  </section>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24