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

validator/share/templates/en_US json_output.tmpl,1.5,1.6

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 04 Oct 2009 20:29:48 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MuXiG-00064j-Tg@lionel-hutz.w3.org>
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv23339

Modified Files:
	json_output.tmpl 
Log Message:
Encode messageid as a string; besides numbers it may contain things like libxml2-77.

Index: json_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/json_output.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- json_output.tmpl	4 Oct 2009 20:28:28 -0000	1.5
+++ json_output.tmpl	4 Oct 2009 20:29:46 -0000	1.6
@@ -15,7 +15,7 @@
               "lastLine": <TMPL_VAR NAME="line">,
               "lastColumn": <TMPL_VAR NAME="char">,
               "message": <TMPL_VAR NAME="msg">,
-              "messageid": <TMPL_VAR NAME="num">,
+              "messageid": "<TMPL_VAR NAME="num">",
               "explanation": <TMPL_VAR NAME="expl">
           }<TMPL_UNLESS NAME="__last__">,</TMPL_UNLESS>
         </TMPL_LOOP>
Received on Sunday, 4 October 2009 20:29:52 UTC

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