/[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.4 by wakaba, Mon Jul 16 13:56:26 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
107    by tag name or by a <code>!</code> character.</d:message>    by tag name or by a <code>!</code> character.</d:message>
108    <d:desc xml:lang="en">    <d:desc xml:lang="en">
109      <p>A <code>&lt;</code> (<code>U+003C</code> <code class="charname">LESS-THAN      <p>A <code>&lt;</code> (<code>U+003C</code>
110      SIGN</code>) character which is not part of any markup appears      <code class="charname">LESS-THAN SIGN</code>) character which is not part
111      in the input stream.</p>      of any markup appears in the input stream.</p>
112    
113      <p>The <code>&lt;</code> character as a data character must      <p>The <code>&lt;</code> character as a data character must
114      be escaped as:      be escaped as:
115      <pre class="html example"><code>&lt;lt;</code></pre>      <pre class="html example"><code>&amp;lt;</code></pre>
116      </p>      </p>
117    </d:desc>    </d:desc>
118  </d:item>  </d:item>
# Line 92  Web Document Conformance Checker (BETA)< Line 130  Web Document Conformance Checker (BETA)<
130      The document is non-conforming.</p>      The document is non-conforming.</p>
131    
132      <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  
133      of a reference:      of a reference:
134        <dl>        <dl>
135        <dt>Numeric character reference</dt>        <dt>Numeric character reference</dt>
# Line 107  Web Document Conformance Checker (BETA)< Line 144  Web Document Conformance Checker (BETA)<
144      </p>      </p>
145    
146      <p>To represent <code>&amp;#</code> as data characters, use      <p>To represent <code>&amp;#</code> as data characters, use
147      named entity reference:      a named entity reference for the <code>&amp;</code> character:
148        <pre class="html example"><code>&amp;amp;#</code></pre>        <pre class="html example"><code>&amp;amp;#</code></pre>
149      </p>      </p>
150    </d:desc>    </d:desc>
# Line 129  Web Document Conformance Checker (BETA)< Line 166  Web Document Conformance Checker (BETA)<
166      of the code point of the character to be referenced.</p>      of the code point of the character to be referenced.</p>
167    
168      <p>To represent <code>&amp;#x</code> as data characters, use      <p>To represent <code>&amp;#x</code> as data characters, use
169      named entity reference:      a named entity reference for the <code>&amp;</code> character:
170        <pre class="html example"><code>&amp;amp;#x</code></pre>        <pre class="html example"><code>&amp;amp;#x</code></pre>
171      </p>      </p>
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 154  Web Document Conformance Checker (BETA)< Line 213  Web Document Conformance Checker (BETA)<
213    
214  <d:item name="duplicate attribute"  <d:item name="duplicate attribute"
215      class="tokenize-error">      class="tokenize-error">
216    <d:message xml:lang="en">There are two attributes with same name.</d:message>    <d:message xml:lang="en">There are two attributes with name
217          <code><var>$0</var></code>.</d:message>
218    <d:desc xml:lang="en">    <d:desc xml:lang="en">
219      <p>There are more than one attributes with the same      <p>There are more than one attributes with the same
220      name in a tag.  The document is non-conforming.</p>      name in a tag.  The document is non-conforming.</p>
# Line 183  Web Document Conformance Checker (BETA)< Line 243  Web Document Conformance Checker (BETA)<
243    </d:desc>    </d:desc>
244  </d:item>  </d:item>
245    
246    
247    <d:item name="pio"
248        class="tokenize-error">
249      <d:message xml:lang="en">Processing instruction
250      (<code>&lt;?<var>...</var>?></code>) cannot be used.</d:message>
251      <d:desc xml:lang="en">
252        <p>Processing instructions (<code>&lt;?<var>...</var>?></code>),
253        including XML declaration (<code>&lt;?xml <var>...</var>?></code>)
254        and XML style sheet <abbr title="processing instruction">PI</abbr>
255        (<code>&lt;xml-stylesheet <var>...</var>?></code>), are not allowed
256        in the HTML syntax.  The document is non-conforming.</p>
257    
258        <p>If it is necessary to embed a processing instruction
259        in the HTML document, you must use the XML syntax instead.</p>
260    
261        <p>In the HTML syntax, XML declaration is not necessary.</p>
262    
263        <p>Instead of XML style sheet,
264        <abbr title="processing instruction">PI</abbr>s, you must
265        use the HTML <code>link</code> element whose <code>rel</code>
266        attribute is set to <code>stylesheet</code> (or
267        <code>alternate stylesheet</code> for an aleternate style sheet).</p>
268    
269        <p>Web browsers will parse processing instructions as bogus
270        comments.  Some legacy Web browsers, such as IE:mac and
271        some mobile browsers, will display processing instructions
272        as string.</p>
273      </d:desc>
274    </d:item>
275    
276  </section>  </section>
277    
278  <section id="html5-parse-errors">  <section id="html5-parse-errors">
# Line 213  Web Document Conformance Checker (BETA)< Line 303  Web Document Conformance Checker (BETA)<
303    </d:desc>    </d:desc>
304  </d:item>  </d:item>
305    
306    <d:item name="in a:a"
307        class="parse-error">
308      <d:message xml:lang="en">Anchor cannot be nested.</d:message>
309      <d:desc xml:lang="en">
310        <p>HTML <code>a</code> elements cannot be nested.
311        The document is non-conforming.</p>
312    
313        <p>In the HTML syntax, a start tag of the <code>a</code>
314        implies the end tag of any opening <code>a</code> element.</p>
315      </d:desc>
316    </d:item>
317    
318  <d:item name="in body"  <d:item name="in body"
319      class="parse-error">      class="parse-error">
320    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>
321    is not allowed in <code>body</code>.</d:message>    is not allowed in a <code>body</code> element.</d:message>
322    <d:desc xml:lang="en">    <d:desc xml:lang="en">
323      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
324      cannot be a descendant of <code>body</code> element, appears      cannot be a descendant of <code>body</code> element, appears
# Line 225  Web Document Conformance Checker (BETA)< Line 327  Web Document Conformance Checker (BETA)<
327    </d:desc>    </d:desc>
328  </d:item>  </d:item>
329    
330    <d:item name="in head:head"
331        class="parse-error">
332      <d:message xml:lang="en">Start tag <code>&lt;<var>head</var>&gt;</code>
333      is not allowed in the <code>head</code> element.</d:message>
334      <d:desc xml:lang="en">
335        <p>There is a start tag <code>&lt;head></code> in the
336        <code>&lt;head></code> element.  The document is non-conforming.</p>
337    
338        <p>In an HTML document there must not be more than
339        one <code>head</code> element, therefore no more than one
340        start tag <code>&lt;head></code> can appear in the input stream.</p>
341      </d:desc>
342    </d:item>
343    
344  <d:item name="in table"  <d:item name="in table"
345      class="parse-error">      class="parse-error">
346    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>    <d:message xml:lang="en">Tag <code>&lt;<var>$0</var>&gt;</code>
347    is not allowed in <code>table</code>.</d:message>    is not allowed in a <code>table</code> element.</d:message>
348    <d:desc xml:lang="en">    <d:desc xml:lang="en">
349      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
350      cannot be a child of <code>table</code> element, appears      cannot be a child of <code>table</code> element, appears
# Line 277  Web Document Conformance Checker (BETA)< Line 393  Web Document Conformance Checker (BETA)<
393    
394  <d:item name="no DOCTYPE"  <d:item name="no DOCTYPE"
395      class="parse-error">      class="parse-error">
396    <d:message xml:lang="en">This document does not start with the    <d:message xml:lang="en">This document does not start with a
397    <code>DOCTYPE</code>.</d:message>    <code>DOCTYPE</code>.</d:message>
398    <d:desc>    <d:desc>
399      <p>The document does not start with a <code>DOCTYPE</code>.      <p>The document does not start with a <code>DOCTYPE</code>.
# Line 303  Web Document Conformance Checker (BETA)< Line 419  Web Document Conformance Checker (BETA)<
419    </d:desc>    </d:desc>
420  </d:item>  </d:item>
421    
422    <d:item name="not first start tag"
423        class="parse-error">
424      <d:message xml:lang="en">This <code>&lt;html></code> tag is not
425      the first start tag.</d:message>
426      <d:desc>
427        <p>There is a start tag of the <code>html</code> element
428        that it not the first start tag in the input stream.
429        The document is non-conforming.</p>
430    
431        <p>In an HTML document, there cannot be more than one
432        <code>html</code> element and therefore there cannot be
433        more than one <code>&lt;html></code> tag.  In addition,
434        nothing can be placed before the <code>&lt;html></code> tag
435        except a <code>DOCTYPE</code>, white space characters,
436        and comments.</p>
437      </d:desc>
438    </d:item>
439    
440  <d:item name="not HTML5"  <d:item name="not HTML5"
441      class="parse-error">      class="parse-error">
442    <d:message xml:lang="en">This document is written in an old version of    <d:message xml:lang="en">This document is written in an old version of
443    HTML.</d:message>    HTML.</d:message>
444    <d:desc xml:lang="en">    <d:desc xml:lang="en">
445      <p>The document contains a <code>DOCTYPE</code> declaration      <p>The document contains a <code>DOCTYPE</code> declaration
446      that is different from HTML5 <code>DOCTYPE</code> (i.e. <code>&lt;!DOCTYPE      that is different from HTML5 <code>DOCTYPE</code> (i.e.
447      HTML&gt;</code>).  The document is non-conforming.</p>      <code>&lt;!DOCTYPE HTML&gt;</code>).  The document is non-conforming.</p>
448    
449      <p>The document might or might not be conformant to      <p>The document might or might not be conformant to
450      some version of HTML.  However, conformance to any HTML      some version of HTML.  However, conformance to any HTML
# Line 347  Web Document Conformance Checker (BETA)< Line 481  Web Document Conformance Checker (BETA)<
481      context.  The document is non-conforming.</p>      context.  The document is non-conforming.</p>
482    
483      <p>Possible causes:      <p>Possible causes:
484        <dl>        <ul>
485        <dt>If the erred element is an inline-level element (such        <li><p>A data character cannot be a child
486        as <code>a</code> or <code>span</code>)</dt>        of certain sectioning elements such as <code>body</code>,
487            <dd><p>A data character cannot be a child        <code>section</code>, and <code>blockquote</code>.</p>
488            of certain sectioning elements such as <code>body</code>,  
489            <code>section</code>, and <code>blockquote</code>.</p>        <p>Any inline-level content must be put
490          in e.g. paragraph element such as <code>p</code>.</p></li>
491            <p>Any inline-level content must be put        <li><p>Though some elements such as <code>div</code>,
492            in e.g. paragraph element such as <code>p</code>.</p></dd>        <code>li</code>, and <code>td</code> allow
493        <dt>If the erred element is a block-level element (such as        <em>either one</em> of block-level or inline-level content
494        <code>div</code> or <code>h<var>n</var></code>)</dt>        is allowed.  If there is a block-level content,
495            <dd><p>Though some elements such as <code>div</code>,        any inline-level content must be put
496            <code>li</code>, and <code>td</code> allow        in e.g. paragraph element such as <code>p</code>.</p></li>
497            <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>  
498      </p>      </p>
499    </d:desc>    </d:desc>
500  </d:item>  </d:item>
# Line 413  Web Document Conformance Checker (BETA)< Line 543  Web Document Conformance Checker (BETA)<
543      <em>not</em> support form elements yet.</p>      <em>not</em> support form elements yet.</p>
544    
545      <p>Possible causes:      <p>Possible causes:
546        <dl>        <dl class="switch">
547        <dt>If the erred element is an inline-level element (such        <dt>If the element with the error is an inline-level element,
548        as <code>a</code> or <code>span</code>)</dt>        such as <code>a</code>, <code>progress</code>, or <code>img</code></dt>
549            <dd><p>An inline-level element cannot be a child            <dd><p>An inline-level element cannot be a child
550            of certain sectioning elements such as <code>body</code>,            of certain sectioning elements such as <code>body</code>,
551            <code>section</code>, and <code>blockquote</code>.</p>            <code>section</code>, and <code>blockquote</code>.</p>
552    
553            <p>Any inline-level content must be put            <p>Any inline-level content must be put
554            in e.g. paragraph element such as <code>p</code>.</p></dd>            in e.g. paragraph element such as <code>p</code>.</p></dd>
555        <dt>If the erred element is a block-level element (such as        <dt>If the element with the error is a block-level element,
556        <code>div</code> or <code>h<var>n</var></code>)</dt>        such as <code>div</code>, <code>h<var>n</var></code>, or
557          <code>section</code></dt>
558            <dd><p>Though some elements such as <code>div</code>,            <dd><p>Though some elements such as <code>div</code>,
559            <code>li</code>, and <code>td</code> allow            <code>li</code>, and <code>td</code> allow
560            <em>either one</em> of block-level or inline-level content            <em>either one</em> of block-level or inline-level content
561            is allowed.  If there is a block-level content,            is allowed.  If there is a block-level content,
562            any inline-level content must be put            any inline-level content must be put
563            in e.g. paragraph element such as <code>p</code>.</p></dd>            in e.g. paragraph element such as <code>p</code>.</p></dd>
564        <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>
565              <dd>The <code>noscript</code> element is allowed only in the context
566              where a block-level or inline-level content is expected
567              and in the <code>head</code> element.
568              It cannot be used in e.g. <code>ul</code>, <code>table</code>,
569              or <code>select</code>.</dd>
570          <dt>If the element with the error is the <code>html</code> element
571          that is the root element of an XHTML document</dt>
572            <dd><p>In an XHTML document, the root <code>html</code>            <dd><p>In an XHTML document, the root <code>html</code>
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>
583  </d:item>  </d:item>
584    
585    <d:item name="ps element missing"
586        class="content-model-error">
587      <d:message xml:lang="en">There is no <code><var>$0</var></code>
588      element before this element.</d:message>
589      <d:desc xml:lang="en">
590        <p>There must be an element before another element, but there
591        is not.  The document is non-conforming.</p>
592    
593        <p>For example, there must be a <code>dt</code> element
594        before any <code>dd</code> element.</p>
595      </d:desc>
596    </d:item>
597    
598  </section>  </section>
599    
600  <section id="attribute-errors">  <section id="attribute-errors">
# Line 462  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 476  Web Document Conformance Checker (BETA)< Line 648  Web Document Conformance Checker (BETA)<
648    
649      <p>To specify natural language information in HTML document,      <p>To specify natural language information in HTML document,
650      use <code>lang</code> attribute instead.</p>      use <code>lang</code> attribute instead.</p>
651    
652        <p>XHTML 1.0 Appendix C was encouraged to specify both
653        <code>lang</code> and <code>xml:lang</code> attributes with
654        the same value.  Such a duplication has <em>no effect</em> in practice.
655        Use only one of <code>lang</code> (in HTML) or <code>xml:lang</code> (in
656        XML).</p>
657    
658      <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created      <!-- @@ ISSUE: xml:lang in non-HTML element in DOM5 HTML created
659           from an HTML document? -->           from an HTML document? -->
660    </d:desc>    </d:desc>
# Line 523  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 536  Web Document Conformance Checker (BETA)< Line 715  Web Document Conformance Checker (BETA)<
715  <d:item name="enumerated:invalid"  <d:item name="enumerated:invalid"
716      class="attribute-value-error">      class="attribute-value-error">
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 is not one of them.</d:message>    values and the specified value <code><var>{@}</var></code> is not one
719      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 546  Web Document Conformance Checker (BETA)< Line 750  Web Document Conformance Checker (BETA)<
750    <!-- @@ <id=a xml:id=a>? -->    <!-- @@ <id=a xml:id=a>? -->
751  </d:item>  </d:item>
752    
753  <d:item name="link type:bad-context"  <d:item name="link type:bad context"
754      class="attribute-value-error">      class="attribute-value-error">
755    <d:message xml:lang="en">The link type <code><var>$0</var></code>    <d:message xml:lang="en">The link type <code><var>$0</var></code>
756    cannot be specified for this element.</d:message>    cannot be specified for this element.</d:message>
# Line 568  Web Document Conformance Checker (BETA)< Line 772  Web Document Conformance Checker (BETA)<
772    <d:message xml:lang="en">The link type <code><var>$0</var></code>    <d:message xml:lang="en">The link type <code><var>$0</var></code>
773    is non-conforming.</d:message>    is non-conforming.</d:message>
774    <d:desc xml:lang="en">    <d:desc xml:lang="en">
775      <p>The specified link type is non-conforming.  The entire document      <p>The specified link type is non-conforming, and therefore
776      is non-conforming.</p>      the document is non-conforming.</p>
777    
778      <p>For example, in place of non-conforming link type <code>copyright</code>      <dl>
779      you must use link type <code>license</code>.</p>      <dt>Link type <code>contents</code></dt>
780          <dd>Use link type <code>index</code>.</dd>
781        <dt>Link type <code>copyright</code></dt>
782          <dd>Use link type <code>license</code>.</dd>
783        <dt>Link type <code>home</code></dt>
784          <dd>Use link type <code>index</code>.</dd>
785        <dt>Link type <code>start</code></dt>
786          <dd>Use link type <code>first</code>.</dd>
787        <dt>Link type <code>toc</code></dt>
788          <dd>Use link type <code>index</code>.</dd>
789        </dl>
790    </d:desc>    </d:desc>
791  </d:item>  </d:item>
792    
793  <d:item name="reserved browsing context name"  <d:item name="reserved browsing context name"
794      class="attribute-value-error">      class="attribute-value-error">
795    <d:message xml:lang="en">This browsing context name is reserved.</d:message>    <d:message xml:lang="en">Browsing context name
796    <d:item>    <code><var>{@}</var></code> is reserved.</d:message>
797      <d:desc xml:lang="en">
798      <p>The specified browsing context name is reserved.      <p>The specified browsing context name is reserved.
799      The document is non-conforming.</p>      The document is non-conforming.</p>
800    
# Line 592  Web Document Conformance Checker (BETA)< Line 807  Web Document Conformance Checker (BETA)<
807      browsing context names <code>_blank</code>,      browsing context names <code>_blank</code>,
808      <code>_main</code>, and <code>_replace</code>.      <code>_main</code>, and <code>_replace</code>.
809      However, they are <em>not</em> conforming attribute values.</p>      However, they are <em>not</em> conforming attribute values.</p>
810    </d:item>    </d:desc>
811  </d:item>  </d:item>
812    
813  </section>  </section>
# Line 636  Web Document Conformance Checker (BETA)< Line 851  Web Document Conformance Checker (BETA)<
851    <code>th</code>) in the last row.</d:message>    <code>th</code>) in the last row.</d:message>
852  </d:item>  </d:item>
853    
854    <d:item name="table:rowspan extends table"
855        class="table-model-error">
856      <d:message xml:lang="en">This <code>rowspan</code> attribute
857      results in creating a table row that does not contain
858      any cell anchored to it.</d:message>
859      <d:desc xml:lang="en">
860        <p>The <code>rowspan</code> attribute value of the cell
861        is so specified that it extends a table in the row axis.
862        However, the extended row does not contain any cell by itself.
863        The document is non-conforming.</p>
864    
865        <p>For example, the table below is non-conforming:
866          <pre class="html non-conforming example"><code>&lt;table>
867    &lt;tbody>
868    &lt;tr>&lt;td rowspan=2>&lt;/td>&lt;/tr>
869    &lt;/tbody>
870    &lt;/table></code></pre>
871        ... is non-conforming, since the second row contains only
872        a cell that spans the first and the second rows.</p>
873      </d:desc>
874    </d:item>
875    
876  </section>  </section>
877    
878  <section id="imt-warnings">  <section id="imt-warnings">
# Line 643  Web Document Conformance Checker (BETA)< Line 880  Web Document Conformance Checker (BETA)<
880    
881  <d:item name="IMT:obsolete subtype"  <d:item name="IMT:obsolete subtype"
882      class="should" level="s">      class="should" level="s">
883    <d:message xml:lang="en">An <em>obsolete</em> subtype is used.</d:message>    <d:message xml:lang="en"><code><var>{@}</var></code>: An <em>obsolete</em>
884      subtype is used.</d:message>
885  </d:item>  </d:item>
886    
887  <d:item name="IMT:private subtype"  <d:item name="IMT:private subtype"
888      class="should" level="s">      class="should" level="s">
889    <d:message xml:lang="en">A private (<code>x-</code> or <code>x.</code>)    <d:message xml:lang="en"><code><var>{@}</var></code>: A private
890    subtype is used.</d:message>    (<code>x-</code> or <code>x.</code>) subtype is used.</d:message>
891  </d:item>  </d:item>
892    
893  <d:item name="IMT:unregistered subtype"  <d:item name="IMT:unregistered subtype"
894      class="should" level="s">      class="should" level="s">
895    <d:message xml:lang="en">The subtype is not registered to IANA.</d:message>    <d:message xml:lang="en"><code><var>{@}</var></code>: The subtype is
896      not registered to IANA.</d:message>
897  <!-- TODO: Unknown message?? -->  <!-- TODO: Unknown message?? -->
898  </d:item>  </d:item>
899    
# Line 665  Web Document Conformance Checker (BETA)< Line 904  Web Document Conformance Checker (BETA)<
904    
905  <d:item name="URI::syntax error"  <d:item name="URI::syntax error"
906      class="must" level="m">      class="must" level="m">
907    <d:message xml:lang="en">This string is not an IRI syntactically.</d:message>    <d:message xml:lang="en">The specified value is syntactically not an IRI
908      reference.</d:message>
909      <d:desc xml:lang="en">
910        <p>The specified value does not satisfy the syntactical requirements
911        for IRI references.  The document is non-conforming.</p>
912    
913        <p>Possible causes:
914          <ul>
915          <li>The string might contain one or more white space characters.
916          Especially, the <code> </code> (<code>U+0020</code>
917          <code class="charname">SPACE</code>) character cannot be
918          used in IRI references.</li>
919          </ul>
920        </p>
921      </d:desc>
922  </d:item>  </d:item>
923    
924  </section>  </section>
# Line 717  Web Document Conformance Checker (BETA)< Line 970  Web Document Conformance Checker (BETA)<
970    </d:desc>    </d:desc>
971  </d:item>  </d:item>
972    
973    <d:item name="URI::uppercase scheme name"
974        class="should" level="s">
975      <d:message xml:lang="en">URI scheme name is in uppercase.</d:message>
976      <d:desc xml:lang="en">
977        <p>The scheme part of the IRI is written in uppercase letter.</p>
978    
979        <p>Uppercase scheme names are not required to be processed
980        correctly.</p>
981    <!-- @@
982     RFC 3986 3.1.
983     > Although schemes are case-
984       insensitive, the canonical form is lowercase and documents that
985       specify schemes must do so with lowercase letters.
986    
987     > An implementation ... should only produce lowercase scheme names for
988       consistency.
989    -->
990      </d:desc>
991    </d:item>
992    
993  </section>  </section>
994    
995  <section id="unsupported-messages">  <section id="unsupported-messages">
# Line 759  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.4  
changed lines
  Added in v.1.8

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24