- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 29 Jun 2009 18:21:18 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv17131/share/templates/en_US
Modified Files:
json_output.tmpl
Log Message:
Fix JSON output errors (missing/extra commas, incorrect escaping) (#7000). New dependency: JSON >= 2.00.
Index: json_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/json_output.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- json_output.tmpl 4 Jan 2009 11:13:46 -0000 1.1
+++ json_output.tmpl 29 Jun 2009 18:21:16 -0000 1.2
@@ -5,7 +5,6 @@
X-W3C-Validator-Errors: <TMPL_VAR NAME="valid_errors_num">
X-W3C-Validator-Warnings: <TMPL_VAR NAME="valid_warnings_num"></TMPL_IF>
-
{
"url": "<TMPL_VAR NAME="file_uri">",
"messages": [
@@ -16,15 +15,13 @@
"subtype": "warning"</TMPL_IF>
"lastLine": "<TMPL_VAR NAME="line">",
"lastColumn": <TMPL_VAR NAME="char">,
- "message": "<TMPL_VAR ESCAPE="JS" NAME="msg">",
+ "message": <TMPL_VAR NAME="msg">,
"messageid": <TMPL_VAR NAME="num">,
- "explanation": "<TMPL_VAR ESCAPE="JS" NAME="expl">",
- }
+ "explanation": <TMPL_VAR NAME="expl">
+ }<TMPL_UNLESS NAME="__last__">,</TMPL_UNLESS>
</TMPL_LOOP>
-
],
"source": {
"encoding": "<TMPL_VAR NAME="file_charset">"
}
}
-
Received on Monday, 29 June 2009 18:21:28 UTC