/[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.10 by wakaba, Tue Sep 4 11:40:02 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 38  Web Document Conformance Checker (BETA)< Line 53  Web Document Conformance Checker (BETA)<
53      is not part of any reference appears in the input stream.      is not part of any reference appears in the input stream.
54      The document is non-conforming.</p>      The document is non-conforming.</p>
55    
56        <p><strong>Any <code>&amp;</code> character in URI (or IRI)
57        must be escaped as <code>&amp;amp;</code>.</strong></p>
58    
59      <p>The <code>&amp;</code> character must      <p>The <code>&amp;</code> character must
60      be the first character of a reference:      be the first character of a reference:
61        <dl>        <dl>
# Line 63  Web Document Conformance Checker (BETA)< Line 81  Web Document Conformance Checker (BETA)<
81    </d:desc>    </d:desc>
82  </d:item>  </d:item>
83    
84    <d:item name="bare etago"
85        class="tokenize-error">
86      <d:message xml:lang="en">A <code>&lt;/</code> string is not followed
87      by a tag name.</d:message><!-- </ EOF -->
88      <d:desc xml:lang="en">
89        <p>There is a <code>&lt;</code> (<code>U+003C</code>
90        <code class="charname">LESS-THAN SIGN</code>) character
91        immediately followed by a <code>/</code> (<code>U+005F</code>
92        <code>SOLIDUS</code>) character, which is not part
93        of any end tag, in the input stream.  The document
94        is non-conforming.</p>
95    
96        <p>The <code>&lt;/</code> sequence immediately followed
97        by an <abbr title="End of file pseudo-character">EOF</abbr> is
98        interpreted as a string data of <code>&lt;/</code>.</p>
99    
100        <p>The <code>&lt;/</code> sequence as string data must
101        be escaped as:
102        <pre class="html example"><code>&amp;lt;/</code></pre>
103        </p>
104      </d:desc>
105    </d:item>
106    
107  <d:item name="bare stago"  <d:item name="bare stago"
108      class="tokenize-error">      class="tokenize-error">
109    <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 175  Web Document Conformance Checker (BETA)<
175    </d:desc>    </d:desc>
176  </d:item>  </d:item>
177    
178    <d:item name="bogus comment"
179        class="tokenize-error">
180      <d:message xml:lang="en">String <code>&lt;!</code> is not followed
181      by <code>--</code>.</d:message>
182      <d:desc xml:lang="en">
183        <p>There is a <code>&lt;</code> (<code>U+003C</code>
184        <code class="charname">LESS-THAN SIGN</code>) character
185        followed by a <code>!</code> (<code>U+0021</code>
186        <code class="charname">EXCLAMATION MARK</code>) character,
187        which is not followed by a <code>--</code> or
188        <code>!DOCTYPE</code>.  The document is non-conforming.</p>
189    
190        <dl class="switch">
191        <dt>Comments</dt>
192          <dd>In HTML documents, comments must be introduced by
193          <code>&lt;!--</code> (<code>&lt;!</code> <em>immediately</em> followed
194          by <em>two</em> <code>-</code>s) and must be terminated by
195          <code>--></code>.  Strings <code>&lt;!</code> not followed
196          by <code>--</code> and <code>&lt;!-</code> not followed by
197          <code>-</code> are not valid open delimiters for comments.</dd>
198        <dt>Marked sections, including <code>CDATA</code> sections</dt>
199          <dd>Marked sections are not allowed in HTML documents.</dd>
200        <dt>Markup declarations</dt>
201          <dd>Markup declarations, except <code>DOCTYPE</code>
202          and comment declarations, are not allowed in HTML documents.</dd>
203        <dt>String <code>&lt;!</code></dt>
204          <dd>String <code>&lt;!</code> must be escaped as
205          <code>&amp;lt;!</code>.</dd>
206        </dl>
207      </d:desc>
208    </d:item>
209    
210    <d:item name="bogus end tag"
211        class="tokenize-error">
212      <d:message xml:lang="en">String <code>&lt;/</code> is not followed
213      by tag name.</d:message><!-- </ non-name-start-char-non-EOF -->
214      <d:desc xml:lang="en">
215        <p>There is a <code>&lt;</code> (<code>U+003C</code>
216        <code class="charname">LESS-THAN SIGN</code>) character
217        immediately followed by a <code>/</code> (<code>U+005F</code>
218        <code>SOLIDUS</code>) character, which is not part
219        of any end tag, in the input stream.  The document
220        is non-conforming.</p>
221    
222        <p>The <code>&lt;/</code> sequence not followed by a
223        tag name is parsed as an opening of bogus comment.</p>
224    
225        <p>The <code>&lt;/</code> sequence as string data must
226        be escaped as:
227        <pre class="html example"><code>&amp;lt;/</code></pre>
228        </p>
229      </d:desc>
230    </d:item>
231    
232  <d:item name="dash in comment"  <d:item name="dash in comment"
233      class="tokenize-error">      class="tokenize-error">
234    <d:message xml:lang="en">There is a <code>--</code> sequence    <d:message xml:lang="en">There is a <code>--</code> sequence
# Line 166  Web Document Conformance Checker (BETA)< Line 261  Web Document Conformance Checker (BETA)<
261    
262  <d:item name="nestc"  <d:item name="nestc"
263      class="tokenize-error">      class="tokenize-error">
264    <d:message xml:lang="en">Void element syntax (<code>/></code>) cannot be    <d:message xml:lang="en">Polytheistic slash (<code>/></code>) cannot be
265    used for this element.</d:message>    used for this element.</d:message>
266    <d:desc xml:lang="en">    <d:desc xml:lang="en">
267      <p>Void element syntax (<code>/></code>) must not be used      <p>Polytheistic slash (<code>/></code>) must not be used
268      for the element.  The document is non-conforming.</p>      for the element.  The document is non-conforming.</p>
269    
270      <p>The void element syntax can only be      <p>The polytheistic slash can only be
271      used for <code>base</code>, <code>link</code>, <code>meta</code>,      used for <code>base</code>, <code>link</code>, <code>meta</code>,
272      <code>hr</code>, <code>br</code>, <code>img</code>,      <code>hr</code>, <code>br</code>, <code>img</code>,
273      <code>embed</code>, <code>param</code>, <code>area</code>,      <code>embed</code>, <code>param</code>, <code>area</code>,
274      <code>col</code>, and <code>input</code> elements.</p>      <code>col</code>, and <code>input</code> elements.</p>
275    
276      <p>Note that, unlike in XML, the void element syntax has      <dl>
277        <dt><code>&lt;script/></code></dt>
278            <dd><p>The polytheistic slash cannot be used for <code>script</code>
279            element.  Even for an empty <code>script</code> element,
280            there must be an explicit end tag <code>&lt;/script></code>.</p>
281    
282            <p><strong>NOTE</strong>: Though some user agents interpret
283            polytheistic slash for <code>script</code> element as the
284            closing of the element, such usage is not allowed under
285            the current standard.</p></dd>
286        <dt><code>&lt;basefont/></code>, <code>&lt;bgsound/></code>,
287        <code>&lt;frame/></code>, <code>&lt;keygen/></code>,
288        <code>&lt;spacer/></code>, <code>&lt;wbr/></code></dt>
289            <dd>These elements are themselves non-conforming.</dd>
290        <!-- isindex, image -->
291        <dt><code>&lt;command/></code>, <code>&lt;event-source/></code>,
292        <code>&lt;source/></code></dt>
293            <dd>Future revision of HTML5 parsing algorithm is expected
294            to allow polytheistic slash for these elements.</dd>
295        <dt><code>&lt;a/></code>, <code>&lt;p/></code></dt>
296            <dd>These elements are not always empty and therefore
297            polytheistic slash is not allowed.</dd>
298        </dl>
299    
300        <p>Note that, unlike in XML, the polytheistic slash has
301      no effect in HTML.</p>      no effect in HTML.</p>
302    </d:desc>    </d:desc>
303  </d:item>  </d:item>
# Line 187  Web Document Conformance Checker (BETA)< Line 306  Web Document Conformance Checker (BETA)<
306  <d:item name="pio"  <d:item name="pio"
307      class="tokenize-error">      class="tokenize-error">
308    <d:message xml:lang="en">Processing instruction    <d:message xml:lang="en">Processing instruction
309    (<code>&lt;?<var>...</var>?></code>) cannot be used.</d:message>    (<code>&lt;?<var>...</var>></code>) cannot be used.</d:message>
310    <d:desc xml:lang="en">    <d:desc xml:lang="en">
311      <p>Processing instructions (<code>&lt;?<var>...</var>?></code>),      <p>Processing instructions (<code>&lt;?<var>...</var>?></code>),
312      including XML declaration (<code>&lt;?xml <var>...</var>?></code>)      including XML declaration (<code>&lt;?xml <var>...</var>?></code>)
313      and XML style sheet <abbr title="processing instruction">PI</abbr>      and XML style sheet <abbr title="processing instruction">PI</abbr>
314      (<code>&lt;xml-stylesheet <var>...</var>?></code>), are not allowed      (<code>&lt;?xml-stylesheet <var>...</var>?></code>), are not allowed
315      in the HTML syntax.  The document is non-conforming.</p>      in the HTML syntax.  The document is non-conforming.</p>
316    
317      <p>If it is necessary to embed a processing instruction      <dl>
318      in the HTML document, you must use the XML syntax instead.</p>      <dt><code>&lt;?xml?&gt;</code> (XML declaration)</dt>
319            <dd>XML declaration is unnecessary for HTML documents.</dd>
320      <p>In the HTML syntax, XML declaration is not necessary.</p>      <dt><code>&lt;?xml-stylesheet?></code> (XML style sheet
321        <abbr title="processing instruction">PI</abbr></dt>
322      <p>Instead of XML style sheet,          <dd>Use HTML <code>link</code> element with <code>rel</code>
323      <abbr title="processing instruction">PI</abbr>s, you must          attribute set to <code>stylesheet</code> (or,
324      use the HTML <code>link</code> element whose <code>rel</code>          <code>alternate stylesheet</code> for an alternate style
325      attribute is set to <code>stylesheet</code> (or          sheet).</dd>
326      <code>alternate stylesheet</code> for an aleternate style sheet).</p>      <dt><code>&lt;?php?&gt;</code> (PHP code)</dt>
327            <dd>The conformance checker does <em>not</em> support
328            checking for PHP source documents.</dd>
329        <dt>Other processing instructions</dt>
330            <dd>Processing instructions cannot be inserted in an HTML
331            document.  Use XML document or insert
332            <code>ProcessingInstruction</code> node by scripting.</dd>
333        </dl>
334    
335      <p>Web browsers will parse processing instructions as bogus      <p>Web browsers will parse processing instructions as bogus
336      comments.  Some legacy Web browsers, such as IE:mac and      comments.  Some legacy Web browsers, such as IE:mac and
337      some mobile browsers, will display processing instructions      some mobile Web browsers, will display processing instructions
338      as string.</p>      as string.</p>
339    </d:desc>    </d:desc>
340  </d:item>  </d:item>
# Line 258  Web Document Conformance Checker (BETA)< Line 384  Web Document Conformance Checker (BETA)<
384  <d:item name="in body"  <d:item name="in body"
385      class="parse-error">      class="parse-error">
386    <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>
387    is not allowed in a <code>body</code> element.</d:message>    is not allowed in the <code>body</code> element.</d:message>
388    <d:desc xml:lang="en">    <d:desc xml:lang="en">
389      <p>The start or end tag of an element, which      <p>The start or end tag of an element, which
390      cannot be a descendant of <code>body</code> element, appears      cannot be a descendant of <code>body</code> element, appears
# Line 269  Web Document Conformance Checker (BETA)< Line 395  Web Document Conformance Checker (BETA)<
395    
396  <d:item name="in head:head"  <d:item name="in head:head"
397      class="parse-error">      class="parse-error">
398    <d:message xml:lang="en">Start tag <code>&lt;<var>head</var>&gt;</code>    <d:message xml:lang="en">Start tag <code>&lt;head&gt;</code>
399    is not allowed in the <code>head</code> element.</d:message>    is not allowed in the <code>head</code> element.</d:message>
400    <d:desc xml:lang="en">    <d:desc xml:lang="en">
401      <p>There is a start tag <code>&lt;head></code> in the      <p>There is a start tag <code>&lt;head></code> in the
# Line 356  Web Document Conformance Checker (BETA)< Line 482  Web Document Conformance Checker (BETA)<
482      <p>End tag of an element is not found before, for example,      <p>End tag of an element is not found before, for example,
483      an end tag of another element appears or      an end tag of another element appears or
484      the end of the document.  The document is non-conforming.</p>      the end of the document.  The document is non-conforming.</p>
485    
486        <p>Only <code>body</code>, <code>dd</code>, <code>dt</code>,
487        <code>head</code>, <code>html</code>, <code>li</code>,
488        <code>ol</code>, <code>option</code>, <code>optgroup</code>,
489        <code>p</code>, <code>rb</code>, <code>rp</code>, <code>rt</code>, or
490        <code>ul</code> end tag can be implied in HTML documents.
491        For any element except for void element, there must be an explicit
492        end tag.</p>
493    
494        <p>Note that misnesting tags, such as
495        <code class="bad example">&lt;a>&lt;b>&lt;/a>&lt;/b></code>, are not
496        allowed and they also cause this error.</p>
497    </d:desc>    </d:desc>
498  </d:item>  </d:item>
499    
# Line 479  Web Document Conformance Checker (BETA)< Line 617  Web Document Conformance Checker (BETA)<
617      <p>An element appears where it is not allowed.  The document      <p>An element appears where it is not allowed.  The document
618      is non-conforming.</p>      is non-conforming.</p>
619    
     <p><strong>Note</strong>: The conformance checker does  
     <em>not</em> support form elements yet.</p>  
   
620      <p>Possible causes:      <p>Possible causes:
621        <dl class="switch">        <dl class="switch">
622        <dt>If the element with the error is an inline-level element,        <dt>If the element with the error is an inline-level element,
# Line 492  Web Document Conformance Checker (BETA)< Line 627  Web Document Conformance Checker (BETA)<
627    
628            <p>Any inline-level content must be put            <p>Any inline-level content must be put
629            in e.g. paragraph element such as <code>p</code>.</p></dd>            in e.g. paragraph element such as <code>p</code>.</p></dd>
630        <dt>If the element with the error is a block-level element,        <dt>If it is a block-level elements, such as <code>aside</code>,
631        such as <code>div</code>, <code>h<var>n</var></code>, or        <code>div</code>, <code>h<var>n</var></code>,
632        <code>section</code></dt>        <code>p</code>, or <code>section</code></dt>
633            <dd><p>Though some elements such as <code>div</code>,            <dd><dl class="switch">
634            <code>li</code>, and <code>td</code> allow                <dt>If the parent element is <code>div</code>,
635            <em>either one</em> of block-level or inline-level content                <code>li</code>, <code>td</code>, or <code>th</code></dt>
636            is allowed.  If there is a block-level content,                <!-- @@ TODO: more... -->
637            any inline-level content must be put                    <!-- @@ TODO: <p><ul><li><p> -->
638            in e.g. paragraph element such as <code>p</code>.</p></dd>                    <dd><p>The parent element allows <em>either</em>
639                      block-level or inline-level content.  If there is a
640                      block-level content, any inline-level content must be
641                      put in e.g. paragraph element such as <code>p</code>.</p>
642                      <p>For example, an HTML document fragment
643                      <code class="bad example">&lt;div>&lt;p>Hello!&lt;/p> World!&lt;/div></code>
644                      is non-conforming, since a word <q>World!</q> does not belong
645                      to any paragraph.  (If not part of any paragraph, what is
646                      it!?)  A conforming example would be:
647                        <pre class="example"><code>&lt;div>&lt;p>Hello!&lt;/p> &lt;p>World!&lt;/p>&lt;/div></code></pre>
648                      </p></dd>
649                  <dt>If the parent element does <em>not</em> allow
650                  block-level elements as content</dt>
651                      <dd>The element is not allowed to be inserted here.
652                      For example, a <code>div</code> element cannot be
653                      a child of an <code>h1</code> element.</dd>
654              </dl></dd>
655        <dt>If the element with the error is a <code>noscript</code> element</dt>        <dt>If the element with the error is a <code>noscript</code> element</dt>
656            <dd>The <code>noscript</code> element is allowed only in the context            <dd>The <code>noscript</code> element is allowed only in the context
657            where a block-level or inline-level content is expected            where a block-level or inline-level content is expected
# Line 513  Web Document Conformance Checker (BETA)< Line 664  Web Document Conformance Checker (BETA)<
664            element must have an <code>xmlns</code> attribute            element must have an <code>xmlns</code> attribute
665            whose value is set to            whose value is set to
666            <code>http://www.w3.org/1999/xhtml</code>.</p></dd>            <code>http://www.w3.org/1999/xhtml</code>.</p></dd>
667          <dt>If the element with the error is <code>blink</code>,
668          <code>center</code>, or <code>marquee</code> element</dt>
669              <dd>These elements are not part of the HTML standard.
670              Use CSS for styling control.</dd>
671    
672          <dt><code>button</code>, <code>datalist</code>, <code>form</code>,
673          <code>input</code>, <code>label</code>,
674          <code>optgroup</code>, <code>option</code>, <code>output</code>,
675          <code>rb</code>, <code>rp</code>, <code>rt</code>, <code>ruby</code>,
676          <code>textarea</code>, or <code>textarea</code> element</dt>
677          <!-- rbc, rtc ? -->
678              <dd>These elements are intentionally not supported by the conformance
679              checker <em>yet</em>.</dd>
680        </dl>        </dl>
681      </p>      </p>
682    </d:desc>    </d:desc>
# Line 545  Web Document Conformance Checker (BETA)< Line 709  Web Document Conformance Checker (BETA)<
709      is non-conforming.</p>      is non-conforming.</p>
710    
711      <p>Some attribute is defined as <i>required</i>.      <p>Some attribute is defined as <i>required</i>.
     For example, any <code>img</code> element must have  
     <code>alt</code> and <code>src</code> attributes specified.  
712      Without required attributes specified, user agents      Without required attributes specified, user agents
713      cannot provide the full functionality of the element      cannot provide full functionality of the element to the user.</p>
714      to the user.</p>  
715        <dl class="switch">
716        <dt>HTML <code>img</code> element</dt>
717            <dd>The <code>src</code> attribute must be specified.
718            Additionally, the <code>alt</code> attribute must be specified
719            in many cases.</dd>
720        <dt>HTML <code>link</code> element</dt>
721            <dd>The <code>rel</code> attribute must be specified.
722            Note that the <code>rev</code> attribute is obsolete.</dd>
723        </dl>
724      </d:desc>
725    </d:item>
726    
727    <d:item name="attribute not allowed" class="attribute-error">
728      <d:message xml:lang="en">Attribute
729      <code><var>{local-name}</var></code> is not allowed for
730      <code><var>{element-local-name}</var></code> element.</d:message>
731      <d:desc xml:lang="en">
732        <p>An attribute is specified where it is not allowed.
733        The document is non-conforming.</p>
734    
735        <dl>
736        <dt>HTML <code>meta</code> element</dt>
737            <dd>For HTML <code>meta</code> element, <em>only one</em> of
738            <code>name</code>, <code>http-equiv</code>, or <code>charset</code>
739            attribute is allowed.</dd>
740        </dl>
741    </d:desc>    </d:desc>
742  </d:item>  </d:item>
743    
# Line 557  Web Document Conformance Checker (BETA)< Line 745  Web Document Conformance Checker (BETA)<
745      class="attribute-error">      class="attribute-error">
746    <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
747    allowed in HTML document.</d:message>    allowed in HTML document.</d:message>
748    <d:desc>    <d:desc xml:lang="en">
749      <p>The <code>xml:lang</code> attribute is not allowed in      <p>The <code>xml:lang</code> attribute is not allowed in
750      HTML document.  The document is non-conforming.</p>      HTML document.  The document is non-conforming.</p>
751    
752      <p>The <code>lang</code> attribute in the <code>null</code>      <p>Use of the <code>xml:lang</code> attribute is conforming
753      namespace for HTML elements is defined as conforming <em>only</em> for      <em>only</em> in XML documents.</p>
     XML document.</p>  
754    
755      <p>To specify natural language information in HTML document,      <p>To specify natural language information in HTML document,
756      use <code>lang</code> attribute instead.</p>      use <code>lang</code> attribute instead.</p>
# Line 604  Web Document Conformance Checker (BETA)< Line 791  Web Document Conformance Checker (BETA)<
791      XML document.  The document is non-conforming.</p>      XML document.  The document is non-conforming.</p>
792    
793      <p>The <code>lang</code> attribute in <code>null</code>      <p>The <code>lang</code> attribute in <code>null</code>
794      namespace for HTML elements is defined as conforming <em>only</em> for      namespace for HTML elements is conforming <em>only</em> in
795      HTML document.</p>      HTML documents.</p>
796    
797      <p>To specify natural language information in XML document,      <p>To specify natural language information in XML document,
798      use <code>xml:lang</code> attribute instead.</p>      use <code>xml:lang</code> attribute instead.</p>
# Line 621  Web Document Conformance Checker (BETA)< Line 808  Web Document Conformance Checker (BETA)<
808      <p>The <code>xmlns</code> attribute in the <code>null</code>      <p>The <code>xmlns</code> attribute in the <code>null</code>
809      namespace is not allowed in XHTML document.</p>      namespace is not allowed in XHTML document.</p>
810    
811      <p>This error should not occur in conformance-checking      <p>This error should not occur in conformance-checking of
812      static documents.</p>      static documents.</p>
813    </d:desc>    </d:desc>
814  </d:item>  </d:item>
# Line 636  Web Document Conformance Checker (BETA)< Line 823  Web Document Conformance Checker (BETA)<
823    <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
824    values and the specified value <code><var>{@}</var></code> is not one    values and the specified value <code><var>{@}</var></code> is not one
825    of them.</d:message>    of them.</d:message>
826      <d:desc xml:lang="en">
827        <p>For this attribute only several values are allowed and the
828        value of the attribute is not one of them.  The document
829        is non-conforming.</p>
830    
831        <dl>
832        <dt>HTML <code>meta</code> element, <code>http-equiv</code> attribute</dt>
833            <dd><p>Only <code>Default-Style</code> and <code>Refresh</code>
834            is allowed.</p>
835            <p>Value <code>Content-Type</code> is obsolete; for charset
836            declaration, the <code>charset</code> attribute can be used as:
837            <pre class="html example"><code>&lt;meta charset="<var>charset-name</var>"></code></pre>
838            ... where <var>charset-name</var> is a name of the character encoding
839            of the document, such as <code>utf-8</code>.</p>
840            <p>Values <code>Content-Style-Type</code> and
841            <code>Content-Script-Type</code> are currently not allowed.</p>
842            <p>Value <code>Keywords</code> is not allowed.  Use
843            <code>name</code> attribute instead of <code>http-equiv</code>
844            attribute.</p>
845            <p>Values <code>Expires</code>, <code>Pragma</code>,
846            and <code>Cache-Control</code> are not allowed;
847            use <em>real</em> HTTP header fields for cache control.</p></dd>
848        </dl>
849      </d:desc>
850  </d:item>  </d:item>
851    
852  <d:item name="duplicate ID"  <d:item name="duplicate ID"
# Line 763  Web Document Conformance Checker (BETA)< Line 974  Web Document Conformance Checker (BETA)<
974  &lt;tr>&lt;td rowspan=2>&lt;/td>&lt;/tr>  &lt;tr>&lt;td rowspan=2>&lt;/td>&lt;/tr>
975  &lt;/tbody>  &lt;/tbody>
976  &lt;/table></code></pre>  &lt;/table></code></pre>
977      ... is non-conforming, since the second row contains only      ... since the second row contains only
978      a cell that spans the first and the second rows.</p>      a cell that spans between first and second rows.</p>
979    </d:desc>    </d:desc>
980  </d:item>  </d:item>
981    
# Line 818  Web Document Conformance Checker (BETA)< Line 1029  Web Document Conformance Checker (BETA)<
1029    
1030  </section>  </section>
1031    
1032  <section id="uri-warnings">  <section id="uri-shoulds">
1033  <h2>URI (or IRI) Warnings</h2>  <h2>URI (or IRI) Should-level Errors</h2>
1034    
1035  <d:item name="URI::dot-segment"  <d:item name="URI::dot-segment"
1036      class="should" level="s">      class="should" level="s">
1037    <d:message xml:lang="en">Dot-segment (<code>.</code> or    <d:message xml:lang="en">A dot-segment (<code>.</code> or
1038    <code>..</code>) should not occur in an absolute reference.</d:message>    <code>..</code>) occurs in an absolute reference.</d:message>
1039    <d:desc>    <d:desc>
1040      <p>Dot-segment (<code>.</code> or <code>..</code>) should      <p>Dot-segment (<code>.</code> or <code>..</code>) should
1041      not occur in an absolute reference.</p>      not occur in an absolute reference.</p>
# Line 839  Web Document Conformance Checker (BETA)< Line 1050  Web Document Conformance Checker (BETA)<
1050    
1051  <d:item name="URI::empty path"  <d:item name="URI::empty path"
1052      class="should" level="s">      class="should" level="s">
1053    <d:message xml:lang="en">This IRI should explicitly end with    <d:message xml:lang="en">This IRI does not end with
1054    <code>/</code>.</d:message>    a <code>/</code>.</d:message>
1055  </d:item>  </d:item>
1056    
1057  <d:item name="URI::lowercase hexadecimal digit"  <d:item name="URI::lowercase hexadecimal digit"
1058      class="should" level="s">      class="should" level="s">
1059    <d:message xml:lang="en">Hexadecimal digit in percent-encoding    <d:message xml:lang="en">A lowercase hexadecimal digit is used
1060    should be in lowercase.</d:message>    in percent-encoding.</d:message>
1061    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1062      <p>The hexadecimal digit in percent-encoding string in the IRI      <p>The hexadecimal digit in percent-encoding string in the IRI
1063      is in lowercase.  Though the IRI <em>is</em> conforming,      is in lowercase.  Though the IRI <em>is</em> conforming,
# Line 890  Web Document Conformance Checker (BETA)< Line 1101  Web Document Conformance Checker (BETA)<
1101  <section id="unsupported-messages">  <section id="unsupported-messages">
1102  <h2><i>Unsupported</i> Messages</h2>  <h2><i>Unsupported</i> Messages</h2>
1103    
1104  <d:item name="attribute"  <d:item name="element"
1105      class="unsupported" level="unsupported">      class="unsupported" level="unsupported">
1106    <d:message xml:lang="en">This attribute is not supported by the    <d:message xml:lang="en">Conformance checking for element
1107    conformance checker; <em>it might or might not be conforming</em>.</d:message>    <code><var>{local-name}</var></code> is not supported; <em>it might or
1108      might not be conforming</em>.</d:message>
1109    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1110      <p>The conformant checker does not support the attribute.      <p>The conformant checker does not support the element.
1111      It cannot determine whether the document is conforming or not.</p>      It cannot determine whether the document is conforming or not.</p>
1112    </d:desc>    </d:desc>
1113  </d:item>  </d:item>
1114    
1115  <d:item name="element"  <d:item name="attribute"
1116      class="unsupported" level="unsupported">      class="unsupported" level="unsupported">
1117    <d:message xml:lang="en">This element is not supported by the    <d:message xml:lang="en">Conformance checking for attribute
1118    conformance checker; <em>it might or might not be conforming</em>.</d:message>    <code><var>{local-name}</var></code> of element
1119      <code><var>{element-local-name}</var></code> is not supported;
1120      <em>it might or might not be conforming</em>.</d:message>
1121    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1122      <p>The conformant checker does not support the element.      <p>The conformant checker does not support the attribute.
1123      It cannot determine whether the document is conforming or not.</p>      It cannot determine whether the document is conforming or not.</p>
1124    </d:desc>    </d:desc>
1125  </d:item>  </d:item>
1126    
1127  <d:item name="link type"  <d:item name="link type"
1128      class="unsupported" level="unsupported">      class="unsupported" level="unsupported">
1129    <d:message xml:lang="en">The link type <code><var>$0</var></code> is not    <d:message xml:lang="en">Link type <code><var>$0</var></code> is not
1130    standardized or registered at the time of the release of the conformance    standardized or registered at the time of the release of the conformance
1131    checker; <em>it is non-conforming unless it has now been    checker; <em>it is non-conforming unless it now has been
1132    registered</em>.</d:message>    registered</em>.</d:message>
1133    <d:desc xml:lang="en">    <d:desc xml:lang="en">
1134      <p>The <code>rel</code> attribute is defined as a list of link types.      <p>The <code>rel</code> attribute is defined as a list of link types.
# Line 927  Web Document Conformance Checker (BETA)< Line 1141  Web Document Conformance Checker (BETA)<
1141      The link type might have been added to the registry since then.      The link type might have been added to the registry since then.
1142      In such case it might be conforming.  Otherwise, the      In such case it might be conforming.  Otherwise, the
1143      document is non-conforming.</p>      document is non-conforming.</p>
1144    
1145        <dl>
1146        <dt>Link types <code>shortcut icon</code></dt>
1147            <dd>Link type <code>shortcut</code> is not registered.
1148            Use only <code>icon</code> for linking to so-called favicon.</dd>
1149        </dl>
1150    </d:desc>    </d:desc>
1151  </d:item>  </d:item>
1152    
# Line 976  manakaiIsHTML:0;;XML Document Line 1196  manakaiIsHTML:0;;XML Document
1196  <section id="license">  <section id="license">
1197  <h2>License of This Document</h2>  <h2>License of This Document</h2>
1198    
1199  <p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?">Wakaba</a></p>  <p>Copyright 2007 <a href="http://suika.fam.cx/~wakaba/who?" rel="author" xml:lang="ja">Wakaba</a></p>
1200  <p>This library is free software; you can redistribute it  <p>This document is free software; you can redistribute it
1201  and/or modify it under the same terms as Perl itself.</p>  and/or modify it under the same terms as Perl itself.</p>
1202  </section>  </section>
1203    

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24