/[suikacvs]/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.27 - (hide annotations) (download) (as text)
Thu Aug 14 15:50:42 2008 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.26: +143 -1 lines
File MIME type: text/xml
++ ChangeLog	14 Aug 2008 15:42:17 -0000
	* cc.cgi: Generate result summary sections for
	each subdocument.

	* error-description-source.xml: New entries to
	support localization of result sections.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>

	* cc-style.css: Support for revised version of result summary
	section styling.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>

++ html/WebHACC/Language/ChangeLog	14 Aug 2008 15:50:38 -0000
	* Base.pm, CSS.pm, CacheManifest.pm, DOM.pm, Default.pm,
	HTML.pm, WebIDL.pm, XML.pm: Set |layer_applicable|
	or |layer_uncertain| flag appropriately.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>

++ html/WebHACC/ChangeLog	14 Aug 2008 15:48:38 -0000
	* Input.pm: Methods |generate_transfer_sections|
	and |generate_http_header_section| are moved to HTTP
	subclass, since they are irrelevant to non-HTTP inputs.
	(_get_document): Forbidden host error was not represented
	by WebHACC::Input::Error subclass.
	(WebHACC::Input::Error generate_transfer_sections): Use
	role name for the section.
	(WebHACC::Input::HTTPError generate_transfer_sections): New method
	added, since the main superclass, i.e. WebHACC::Input::Error,
	no longer dumps HTTP headers due to the change mentioned above.

	* Output.pm (start_section): New roles "transfer-errors" and "result".

	* Result.pm (parent_result): New attribute.
	(layer_applicable, layer_uncertain): New methods to set flags.
	(add_error): Natural language strings are now handled
	by the catalog mechanism.  Use new scoring mechanism.
	(generate_result_section): Use catalog for all natural
	language strings.  Table generation is now much more sophiscated
	that it was.  Support for subdoc result summary.  Support
	for the column of the number of informational message.  Support
	for "N/A" status.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>

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.23 <section id="character-encoding-layer">
15     <h2>Character Encoding Layer Errors</h2>
16    
17     <d:item name="illegal-octets-error" class="error-category-charset" level="m">
18     <d:message xml:lang="en">An illegal octet in the input stream.</d:message>
19     </d:item>
20     </section>
21    
22 wakaba 1.16 <section id="html5-character-encoding">
23     <h2>HTML5 Character Encoding Errors</h2>
24    
25     <d:item name="character encoding" class="format-charset must" level="m">
26     <d:message xml:lang="en">Character encoding <code><var>$0</var></code>
27     is not allowed for <abbr>HTML</abbr> document.</d:message>
28     <d:desc xml:lang="en">
29     <p>The character encoding used for the document is not allowed
30     for <abbr>HTML</abbr> document. The document is non‐conforming.</p>
31     </d:desc>
32     </d:item>
33    
34     <d:item name="character encoding" class="format-charset should"
35     level="s">
36     <d:message xml:lang="en">Character encoding <code><var>$0</var></code>
37     should not be used for <abbr>HTML</abbr> document.</d:message>
38     <d:desc xml:lang="en">
39     <p>The character encoding used for the document is not recommended
40     for <abbr>HTML</abbr> document. The document is non‐conforming
41     unless there is any good reason to use that encoding.</p>
42     </d:desc>
43