W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

validator/share/templates/en_US ucn_output.tmpl,1.6,1.7 xml_output.tmpl,1.3,1.4

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 09 Jul 2007 03:46:04 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1I7kCK-00083D-6g@lionel-hutz.w3.org>

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv30920/share/templates/en_US

Modified Files:
	ucn_output.tmpl xml_output.tmpl 
Log Message:
using proper warnings for unicorn output, fixing crashing xml output (although it's deprecated, I don't want it to crash too badly just yet)

Index: ucn_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/ucn_output.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ucn_output.tmpl	2 Nov 2006 03:16:57 -0000	1.6
+++ ucn_output.tmpl	9 Jul 2007 03:46:01 -0000	1.7
@@ -32,7 +32,7 @@
       <warningcount><TMPL_VAR NAME="valid_warnings_num"></warningcount>
       <warninglist>
 	<uri><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></uri>
-        <TMPL_IF NAME="have_warnings"><TMPL_INCLUDE NAME="soap_warnings.tmpl"></TMPL_IF>
+        <TMPL_IF NAME="have_warnings"><TMPL_INCLUDE NAME="ucn_warnings.tmpl"></TMPL_IF>
 	<TMPL_LOOP NAME="file_errors"><TMPL_IF NAME="err_type_warn">
 	  <warning>
 	    <line><TMPL_VAR NAME="line"></line>

Index: xml_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/xml_output.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- xml_output.tmpl	1 Mar 2007 02:52:56 -0000	1.3
+++ xml_output.tmpl	9 Jul 2007 03:46:01 -0000	1.4
@@ -54,9 +54,7 @@
   </meta>
 
   <warnings>
-<TMPL_LOOP NAME="file_warnings">
-    <warning><TMPL_VAR NAME="Message" ESCAPE="HTML"></warning>
-</TMPL_LOOP>
+    <TMPL_IF NAME="have_warnings"><TMPL_INCLUDE NAME="ucn_warnings.tmpl"></TMPL_IF>
   </warnings>
 
   <messages>
Received on Monday, 9 July 2007 03:46:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:58 GMT