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

validator/share/templates/en_US json_output.tmpl,1.3,1.4

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 04 Oct 2009 20:26:57 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MuXfV-00062S-ET@lionel-hutz.w3.org>
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv23198

Modified Files:
	json_output.tmpl 
Log Message:
Fix info message handling in JSON output.

Index: json_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/json_output.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- json_output.tmpl	4 Oct 2009 20:20:35 -0000	1.3
+++ json_output.tmpl	4 Oct 2009 20:26:55 -0000	1.4
@@ -10,9 +10,8 @@
     "messages": [
         <TMPL_LOOP NAME="file_errors">
           {
-              <TMPL_IF NAME="err_type_err">"type": "error",</TMPL_IF>
-              <TMPL_IF NAME="err_type_warn">"type": "info",
-              "subtype": "warning"</TMPL_IF>
+              "type": <TMPL_IF NAME="err_type_err">"error"<TMPL_ELSE>"info"<TMPL_IF NAME="err_type_warn">,
+              "subtype": "warning"</TMPL_IF></TMPL_IF>,
               "lastLine": "<TMPL_VAR NAME="line">",
               "lastColumn": <TMPL_VAR NAME="char">,
               "message": <TMPL_VAR NAME="msg">,
Received on Sunday, 4 October 2009 20:27:01 UTC

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