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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (hide annotations) (download) (as text)
Fri Nov 23 06:36:19 2007 UTC (18 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.16: +110 -4 lines
File MIME type: text/xml
++ ChangeLog	23 Nov 2007 06:36:14 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: New error descriptions.

	* cc.cgi: |Accept-Encoding: *; q=0| is a request for server to send
	a 406 page!  |identity| encoding is added.

1 wakaba 1.1 <!DOCTYPE html>
2     <html xmlns="http://www.w3.org/1999/xhtml"
3     xmlns:d="http://suika.fam.cx/~wakaba/archive/2007/wdcc-desc/"
4     id="error-description">
5     <head>
6     <title xml:lang="en">Description of Errors &#x2014;
7     Web Document Conformance Checker (BETA)</title>
8     <link rel="stylesheet" href="cc-style"/>
9     <link rel="license" href="#license"/>
10     </head>
11     <body>
12     <h1>Description of Errors</h1>
13    
14 wakaba 1.16 <section id="html5-character-encoding">
15     <h2>HTML5 Character Encoding Errors</h2>
16    
17     <d:item name="character encoding" class="format-charset must" level="m">
18     <d:message xml:lang="en">Character encoding <code><var>$0</var></code>
19     is not allowed for <abbr>HTML</abbr> document.</d:message>
20     <d:desc xml:lang="en">
21     <p>The character encoding used for the document is not allowed
22     for <abbr>HTML</abbr> document. The document is non‐conforming.</p>
23     </d:desc>
24     </d:item>
25    
26     <d:item name="character encoding" class="format-charset should"
27     level="s">
28     <d:message xml:lang="en">Character encoding <code><var>$0</var></code>
29     should not be used for <abbr>HTML</abbr> document.</d:message>
30     <d:desc xml:lang="en">
31     <p>The character encoding used for the document is not recommended
32     for <abbr>HTML</abbr> document. The document is non‐conforming
33     unless there is any good reason to use that encoding.</p>
34     </d:desc>
35     </d:item>
36    
37     <d:item name="character encoding" class="format-charset warning"
38     level="w">
39     <d:message xml:lang="en">Use of UTF-8 is encouraged.</d:message>
40     <d:desc xml:lang="en">
41     <p>Use of UTF-8 as the character encoding of the document is encouraged,
42     though the use of another character encoding is conforming.</p>
43     </d:desc>
44     </d:item>
45    
46 wakaba 1.17 <d:item name="character encoding" class="format-charset unsupported"
47     level="unsupported">
48     <d:message xml:lang="en">Conformance for character encoding requirements
49     cannot be checked.</d:message>
50     <d:desc xml:lang="en">
51