- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 19 Jul 2007 03:59:26 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US In directory hutz:/tmp/cvs-serv3877/share/templates/en_US Modified Files: soap_warnings.tmpl ucn_warnings.tmpl warnings.tmpl Log Message: removing the list of supported character encodings, as we have a better and more reliable technical way to do this. Replacing with a mechanism to: * suggest a better alias if a "bad" encoding alias is used * refuse to transcode if encoding used is forbidden by policy (I don't know any, but the mechanism is here...) More details: http://lists.w3.org/Archives/Public/public-qa-dev/2007Jul/0009.html and surrounding thread. Index: ucn_warnings.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/ucn_warnings.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ucn_warnings.tmpl 22 May 2007 06:45:17 -0000 1.2 +++ ucn_warnings.tmpl 19 Jul 2007 03:59:24 -0000 1.3 @@ -73,6 +73,10 @@ <TMPL_IF NAME="W21"> <warning><message>Byte-Order Mark found in UTF-8 File.</message></warning> </TMPL_IF> +<TMPL_IF NAME="W22"> +<warning><message>Character Encoding suggestion: use +<TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"> instead of <TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></warning></message> +</TMPL_IF> <TMPL_IF NAME="W@@"> <warning><message></message></warning> Index: soap_warnings.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/soap_warnings.tmpl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- soap_warnings.tmpl 11 Jun 2007 15:58:04 -0000 1.3 +++ soap_warnings.tmpl 19 Jul 2007 03:59:24 -0000 1.4 @@ -73,6 +73,10 @@ <TMPL_IF NAME="W21"> <m:warning><m:message>Byte-Order Mark found in UTF-8 File.</m:message></m:warning> </TMPL_IF> +<TMPL_IF NAME="W22"> +<m:warning><m:message>Character Encoding suggestion: use +<TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"> instead of <TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></m:warning></m:message> +</TMPL_IF> <TMPL_IF NAME="W@@"> <m:warning><m:message></m:message></m:warning> Index: warnings.tmpl =================================================================== RCS file: /sources/public/validator/share/templates/en_US/warnings.tmpl,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- warnings.tmpl 28 Jun 2007 10:54:52 -0000 1.27 +++ warnings.tmpl 19 Jul 2007 03:59:24 -0000 1.28 @@ -428,6 +428,21 @@ </p> </li> </TMPL_IF> +<TMPL_IF NAME="W22"> + <li class="msg_warn" id="W22"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Character Encoding suggestion: use + <code><TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"></code> instead of <code><TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></code></span> + + <p> + The character encoding declared for this document + (<code><TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></code>) may not be widely supported. + This encoding is equivalent to <code><TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"></code> + which may be better supported across platforms. + </p> + <p> + More information on <a href="http://www.w3.org/International/O-charset.html">declaring a character encoding on your Web server or in your document</a> can be found on the W3C Internationalization site. + </p> + </li> +</TMPL_IF>
Received on Thursday, 19 July 2007 03:59:32 UTC