/[pub]/test/html-webhacc/error-description-source.xml
Suika

Diff of /test/html-webhacc/error-description-source.xml

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

revision 1.6 by wakaba, Sat Jul 21 04:58:17 2007 UTC revision 1.8 by wakaba, Sun Sep 2 07:59:01 2007 UTC
# Line 28  Web Document Conformance Checker (BETA)< Line 28  Web Document Conformance Checker (BETA)<
28    </d:desc>    </d:desc>
29  </d:item>  </d:item>
30    
31    <d:item name="after body"
32        class="parse-error">
33      <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>
34      is not allowed after the end tag <code>&lt;/body></code>.</d:message>
35      <d:desc xml:lang="en">
36        <p>The start or end tag of an element appears after the
37        <code>body</code> element has been closed.  The document is
38        non-conforming.</p>
39    
40        <p>Any content of the document other than <code>head</code>
41        contents and comments must be put into the <code>body</code>
42        element.</p>
43      </d:desc>
44    </d:item>
45    
46  <d:item name="bare ero"  <d:item name="bare ero"
47      class="tokenize-error">      class="tokenize-error">
48    <d:message xml:lang="en">The <code>&amp;</code> character must    <d:message xml:lang="en">The <code>&amp;</code> character must
# Line 63  Web Document Conformance Checker (BETA)< Line 78  Web Document Conformance Checker (BETA)<
78    </d:desc>    </d:desc>
79  </d:item>  </d:item>
80    
81    <d:item name="bare etago"
82        class="tokenize-error">
83      <d:message xml:lang="en">A <code>&lt;/</code> string is not followed
84      by a tag name.</d:message><!-- </ EOF -->
85      <d:desc xml:lang="en">
86        <p>There is a <code>&lt;</code> (<code>U+003C</code>
87        <code class="charname">LESS-THAN SIGN</code>) character
88        immediately followed by a <code>/</code> (<code>U+005F</code>
89        <code>SOLIDUS</code>) character, which is not part
90        of any end tag, in the input stream.  The document
91        is non-conforming.</p>
92    
93        <p>The <code>&lt;/</code> sequence immediately followed
94        by an <abbr title="End of file pseudo-character">EOF</abbr> is
95        interpreted as a string data of <code>&lt;/</code>.</p>
96    
97        <p>The <code>&lt;/</code> sequence as string data must
98        be escaped as:
99        <pre class="html example"><code>&amp;lt;/</code></pre>
100        </p>
101      </d:desc>
102    </d:item>
103    
104  <d:item name="bare stago"  <d:item name="bare stago"
105      class="tokenize-error">      class="tokenize-error">
106    <d:message xml:lang="en">A <code>&lt;</code> character is not followed    <d:message xml:lang="en">A <code>&lt;</code> character is not followed
# Line 134  Web Document Conformance Checker (BETA)< Line 172  Web Document Conformance Checker (BETA)<
172    </d:desc>    </d:desc>
173  </d:item>  </d:item>
174    
175    <d:item name="bogus end tag"
176        class="tokenize-error">
177      <d:message xml:lang="en">A <code>&lt;/</code> string is not followed
178      by a tag name.</d:message><!-- </ non-name-start-char-non-EOF -->
179      <d:desc xml:lang="en">
180        <p>There is a <code>&lt;</code> (<code>U+003C</code>
181        <code class="charname">LESS-THAN SIGN</code>) character
182        immediately followed by a <code>/</code> (<code>U+005F</code>
183        <code>SOLIDUS</code>) character, which is not part
184        of any end tag, in the input stream.  The document
185        is non-conforming.</p>
186    
187        <p>The <code>&lt;/</code> sequence not followed by a
188        tag name is parsed as an opening of bogus comment.</p>
189    
190        <p>The <code>&lt;/</code> sequence as string data must
191        be escaped as:
192        <pre class="html example"><code>&amp;lt;/</code></pre>
193        </p>
194      </d:desc>
195    </d:item>
196    
197  <d:item name="dash in comment"  <d:item name="dash in comment"
198      class="tokenize-error">      class="tokenize-error">
199    <d:message xml:lang="en">There is a <code>--</code> sequence    <d:message xml:lang="en">There is a <code>--</code> sequence
# Line 513  Web Document Conformance Checker (BETA)< Line 573  Web Document Conformance Checker (BETA)<
573            element must have an <code>xmlns</code> attribute            element must have an <code>xmlns</code> attribute
574            whose value is set to            whose value is set to
575            <code>http://www.w3.org/1999/xhtml</code>.</p></dd>            <code>http://www.w3.org/1999/xhtml</code>.</p></dd>
576          <dt>If the element with the error is <code>blink</code>,
577          <code>center</code>, or <code>marquee</code> element</dt>
578              <dd>These elements are not part of the HTML standard.
579              Use CSS for styling control.</dd>
580        </dl>        </dl>
581      </p>      </p>
582    </d:desc>    </d:desc>
# Line 553  Web Document Conformance Checker (BETA)< Line 617  Web Document Conformance Checker (BETA)<
617    </d:desc>    </d:desc>
618  </d:item>  </d:item>
619    
620    <d:item name="attribute not allowed" class="attribute-error">
621      <d:message xml:lang="en">Attribute
622      <code><var>{local-name}</var></code> is not allowed for
623      <code><var>{element-local-name}</var></code> element.</d:message>
624      <d:desc xml:lang="en">
625        <p>An attribute is specified where it is not allowed.
626        The document is non-conforming.</p>
627    
628        <dl>
629        <dt>HTML <code>meta</code> element</dt>
630            <dd>For HTML <code>meta</code> element, <em>only one</em> of
631            <code>name</code>, <code>http-equiv</code>, or <code>charset</code>
632            attribute is allowed.</dd>
633        </dl>
634      </d:desc>
635    </d:item>
636    
637  <d:item name="in HTML:xml:lang"  <d:item name="in HTML:xml:lang"
638      class="attribute-error">      class="attribute-error">
639    <d:message xml:lang="en">The <code>xml:lang</code> attribute is not    <d:message xml:lang="en">The <code>xml:lang</code> attribute is not
640    allowed in HTML document.</d:message>    allowed in HTML document.</d:message>
641    <d:desc>    <d:desc xml:lang="en">
642      <p>The <code>xml:lang</code> attribute is not allowed in      <p>The <code>xml:lang</code> attribute is not allowed in
643      HTML document.  The document is non-conforming.</p>      HTML document.  The document is non-conforming.</p>
644    
# Line 621  Web Document Conformance Checker (BETA)< Line 702  Web Document Conformance Checker (BETA)<
702      <p>The <code>xmlns</code> attribute in the <code>null</code>      <p>The <code>xmlns</code> attribute in the <code>null</code>
703      namespace is not allowed in XHTML document.</p>      namespace is not allowed in XHTML document.</p>
704    
705      <p>This error should not occur in conformance-checking      <p>This error should not occur in conformance-checking of
706      static documents.</p>      static documents.</p>
707    </d:desc>    </d:desc>
708  </d:item>  </d:item>
# Line 636  Web Document Conformance Checker (BETA)< Line 717  Web Document Conformance Checker (BETA)<
717    <d:message xml:lang="en">This attribute only allow a limited set of    <d:message xml:lang="en">This attribute only allow a limited set of
718    values and the specified value <code><var>{@}</var></code> is not one    values and the specified value <code><var>{@}</var></code> is not one
719    of them.</d:message>    of them.</d:message>
720      <d:desc xml:lang="en">
721        <p>For this attribute only several values are allowed and the
722        value of the attribute is not one of them.  The document
723        is non-conforming.</p>
724    
725        <dl>
726        <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
727            <dd><p>Only <code>Default-Style</code> and <code>Refresh</code>
728            is allowed.</p>
729            <p>Value <code>Content-Type</code> is obsolete; for charset
730            declaration, the <code>charset</code> attribute can be used as:
731            <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
732            ... where <var>charset-name</var> is a name of the character encoding
733            of the document, such as <code>utf-8</code>.</p>
734            <p>Values <code>Content-Style-Type</code> and
735            <code>Content-Script-Type</code> are currently not allowed.</p>
736            <p>Value <code>Keywords</code> is not allowed.  Use
737            <code>name</code> attribute instead of <code>http-equiv</code>
738            attribute.</p>
739            <p>Values <code>Expires</code>, <code>Pragma</code>,
740            and <code>Cache-Control</code> are not allowed;
741            use <em>real</em> HTTP header fields for cache control.</p></dd>
742        </dl>
743      </d:desc>
744  </d:item>  </d:item>
745    
746  <d:item name="duplicate ID"  <d:item name="duplicate ID"
# Line 927  Web Document Conformance Checker (BETA)< Line 1032  Web Document Conformance Checker (BETA)<
1032      The link type might have been added to the registry since then.      The link type might have been added to the registry since then.
1033      In such case it might be conforming.  Otherwise, the      In such case it might be conforming.  Otherwise, the
1034      document is non-conforming.</p>      document is non-conforming.</p>
1035    
1036        <dl>
1037        <dt>Link types <code>shortcut icon</code></dt>
1038            <dd>Link type <code>shortcut</code> is not registered.
1039            Use only <code>icon</code> for linking to so-called favicon.</dd>
1040        </dl>
1041    </d:desc>    </d:desc>
1042  </d:item>  </d:item>
1043    

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24