W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2009

validator/share/templates/en_US fatal-error.tmpl,1.25,1.26 soap_fault.tmpl,1.8,1.9

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 23 Jun 2009 18:08:23 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MJAPv-0007vO-Be@lionel-hutz.w3.org>
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv30427/share/templates/en_US

Modified Files:
	fatal-error.tmpl soap_fault.tmpl 
Log Message:
Improve Content-Encoding decode error handling.

Index: fatal-error.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/fatal-error.tmpl,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- fatal-error.tmpl	15 Aug 2008 13:29:39 -0000	1.25
+++ fatal-error.tmpl	23 Jun 2009 18:08:21 -0000	1.26
@@ -55,6 +55,21 @@
       </li>
 </TMPL_IF>
 
+<TMPL_IF NAME="fatal_decode_error">
+  <li class="msg_err"><span class="err_type"><img src="images/info_icons/error.png" alt="Error" title="Error" /></span>
+      <p>
+        A fatal error occurred when attempting to decode response body
+        from <TMPL_VAR NAME="fatal_decode_uri" ESCAPE="HTML">.
+        Either we do not support the content encoding specified
+        ("<TMPL_VAR NAME="fatal_decode_cenc" ESCAPE="HTML">"), or an
+        error occurred while decoding it.
+      </p>
+      <p>The error was:
+        <TMPL_VAR NAME="fatal_decode_errmsg" DEFAULT="(no error message given)" ESCAPE="HTML">
+      </p>
+  </li>
+</TMPL_IF>
+
 <TMPL_IF NAME="fatal_uri_error">
 <li class="msg_err"><span class="err_type"><img src="images/info_icons/error.png" alt="Error" title="Error" /></span>
       <p>

Index: soap_fault.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/soap_fault.tmpl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- soap_fault.tmpl	4 Feb 2008 02:49:09 -0000	1.8
+++ soap_fault.tmpl	23 Jun 2009 18:08:21 -0000	1.9
@@ -34,6 +34,23 @@
     </env:Detail>
 </TMPL_IF>
 
+<TMPL_IF NAME="fatal_decode_error">
+     <env:Reason>
+	<env:Text xml:lang="en-US">Decode Error</env:Text>
+     </env:Reason>
+     <env:Detail>
+      <m:messageid>fatal_decode_error</m:messageid>
+      <m:errordetail xml:lang="en-US">
+        A fatal error occurred when attempting to decode response body
+        from <TMPL_VAR NAME="fatal_decode_uri" ESCAPE="HTML">.
+        Either we do not support the content encoding specified
+        ("<TMPL_VAR NAME="fatal_decode_cenc" ESCAPE="HTML">"), or an
+        error occurred while decoding it.
+        The error was: "<TMPL_VAR NAME="fatal_decode_errmsg" ESCAPE="HTML">".
+      </m:errordetail>
+    </env:Detail>
+</TMPL_IF>
+
 <TMPL_IF NAME="fatal_byte_error">
      <env:Reason>
 	<env:Text xml:lang="en-US">Incorrect Bytes detected</env:Text>
Received on Tuesday, 23 June 2009 18:08:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:36 UTC