- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 15 Aug 2008 13:18:44 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US In directory hutz:/tmp/cvs-serv9242 Modified Files: earl_xml.tmpl error_loop.tmpl error_loop_grouped.tmpl ucn_output.tmpl xml_output.tmpl Log Message: allowing richer markup in error messages - will have to make sure all is properly escaped by the time it reaches the template Index: error_loop_grouped.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/error_loop_grouped.tmpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- error_loop_grouped.tmpl 18 Apr 2007 06:53:42 -0000 1.4 +++ error_loop_grouped.tmpl 15 Aug 2008 13:18:42 -0000 1.5 @@ -12,7 +12,7 @@ <em>Line <a href="#line-<TMPL_VAR NAME="line" ESCAPE="HTML">"><TMPL_VAR NAME="line" ESCAPE="HTML"></a>, column <TMPL_VAR NAME="char" ESCAPE="HTML"></em>: - <span><TMPL_VAR NAME="msg" ESCAPE="HTML"></span> + <span><TMPL_VAR NAME="msg"></span> <pre><code class="input"><TMPL_VAR NAME="src"></code></pre> </li> Index: ucn_output.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/ucn_output.tmpl,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- ucn_output.tmpl 4 Feb 2008 02:12:40 -0000 1.12 +++ ucn_output.tmpl 15 Aug 2008 13:18:42 -0000 1.13 @@ -21,7 +21,7 @@ <error> <line><TMPL_VAR NAME="line"></line> <column><TMPL_VAR NAME="char" ESCAPE="HTML"></column> - <message><TMPL_VAR NAME="msg" ESCAPE="HTML"></message> + <message><TMPL_VAR NAME="msg"></message> <context><TMPL_VAR NAME="src"></context> <longmessage> <p><a href="http://validator.w3.org/docs/errors.html#ve-<TMPL_VAR NAME="num">">Details...</a></p> @@ -39,7 +39,7 @@ <warning> <line><TMPL_VAR NAME="line"></line> <column><TMPL_VAR NAME="char" ESCAPE="HTML"></column> - <message><TMPL_VAR NAME="msg" ESCAPE="HTML"></message> + <message><TMPL_VAR NAME="msg"></message> <context><TMPL_VAR NAME="src"></context> <longmessage> <p><a href="http://validator.w3.org/docs/errors.html#ve-<TMPL_VAR NAME="num">">Details...</a></p> Index: earl_xml.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/earl_xml.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- earl_xml.tmpl 4 Feb 2008 02:12:40 -0000 1.5 +++ earl_xml.tmpl 15 Aug 2008 13:18:42 -0000 1.6 @@ -46,7 +46,7 @@ </subject> <result rdf:resource="http://www.w3.org/2003/03/earl/1.00#fails" /> <testCase rdf:resource="http://www.w3.org/Markup/" /> - <note><TMPL_VAR NAME="msg" ESCAPE="HTML"></note> + <note><TMPL_VAR NAME="msg"></note> </Assertion> </asserts> </TMPL_LOOP> Index: error_loop.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/error_loop.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- error_loop.tmpl 18 Apr 2007 06:53:42 -0000 1.5 +++ error_loop.tmpl 15 Aug 2008 13:18:42 -0000 1.6 @@ -5,7 +5,7 @@ <span class="err_type"><TMPL_IF NAME="err_type_info"><img src="images/info_icons/info.png" alt="Info" title="Info" /></TMPL_IF><TMPL_IF NAME="err_type_warn"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></TMPL_IF><TMPL_IF NAME="err_type_err"><img src="images/info_icons/error.png" alt="Error" title="Error" /></TMPL_IF></span> <em>Line <a href="#line-<TMPL_VAR NAME="line" ESCAPE="HTML">"><TMPL_VAR NAME="line" ESCAPE="HTML"></a>, Column <TMPL_VAR NAME="char" ESCAPE="HTML"></em>: - <span class="msg"><TMPL_VAR NAME="msg" ESCAPE="HTML"></span> + <span class="msg"><TMPL_VAR NAME="msg"></span> <TMPL_IF NAME="uri">(<a href="<TMPL_VAR NAME="uri" ESCAPE="HTML">">explain...</a>)</TMPL_IF>. <pre><code class="input"><TMPL_VAR NAME="src"></code></pre> <TMPL_IF NAME="expl"><TMPL_VAR NAME="expl"></TMPL_IF> @@ -16,7 +16,7 @@ <li<TMPL_IF NAME="class"> class="<TMPL_VAR NAME="class">"</TMPL_IF>> <span class="err_type"><TMPL_IF NAME="err_type_info"><img src="images/info_icons/info.png" alt="Info" title="Info" /></TMPL_IF><TMPL_IF NAME="err_type_warn"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></TMPL_IF><TMPL_IF NAME="err_type_err"><img src="images/info_icons/error.png" alt="Error" title="Error" /></TMPL_IF></span> <em>Line <TMPL_VAR NAME="line" ESCAPE="HTML">, Column <TMPL_VAR NAME="char" ESCAPE="HTML"></em>: - <span class="msg"><TMPL_VAR NAME="msg" ESCAPE="HTML"></span><TMPL_IF NAME="uri">(<a href="<TMPL_VAR NAME="uri" ESCAPE="HTML">">explain...</a>)</TMPL_IF>.<pre><code class="input"><TMPL_VAR NAME="src"></code></pre><TMPL_IF NAME="expl"><TMPL_VAR NAME="expl"></TMPL_IF> </li> + <span class="msg"><TMPL_VAR NAME="msg"></span><TMPL_IF NAME="uri">(<a href="<TMPL_VAR NAME="uri" ESCAPE="HTML">">explain...</a>)</TMPL_IF>.<pre><code class="input"><TMPL_VAR NAME="src"></code></pre><TMPL_IF NAME="expl"><TMPL_VAR NAME="expl"></TMPL_IF> </li> </TMPL_LOOP> </TMPL_IF> <TMPL_IF NAME="has_errors"></ol></TMPL_IF> Index: xml_output.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/xml_output.tmpl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- xml_output.tmpl 4 Feb 2008 02:12:40 -0000 1.7 +++ xml_output.tmpl 15 Aug 2008 13:18:42 -0000 1.8 @@ -63,7 +63,7 @@ <TMPL_LOOP NAME="file_errors"> <msg line="<TMPL_VAR NAME="line" ESCAPE="HTML">" col="<TMPL_VAR NAME="char" ESCAPE="HTML">" - ><TMPL_VAR NAME="msg" ESCAPE="HTML"></msg> + ><TMPL_VAR NAME="msg"></msg> </TMPL_LOOP> </messages>
Received on Friday, 15 August 2008 13:19:19 UTC