W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

validator/share/templates/en_US soap_warnings.tmpl,1.4,1.5 ucn_warnings.tmpl,1.3,1.4 warnings.tmpl,1.28,1.29

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 19 Jul 2007 08:18:33 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IBRDV-0007Qq-8G@lionel-hutz.w3.org>

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv27307/share/templates/en_US

Modified Files:
	soap_warnings.tmpl ucn_warnings.tmpl warnings.tmpl 
Log Message:
re-populating the list of charsets (from older revisions in both branch 0.7 and 0.8)
to be used thus:
* no fatal error if the charset is supported by encode
* a warning with the suggestion for a better alias if we know one
* a warning that the encoding may be "odd" if not in the list but encode says it's OK



Index: ucn_warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/ucn_warnings.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ucn_warnings.tmpl	19 Jul 2007 03:59:24 -0000	1.3
+++ ucn_warnings.tmpl	19 Jul 2007 08:18:31 -0000	1.4
@@ -77,6 +77,9 @@
 <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="W23">
+  <warning><message>Rare or unregistered Character Encoding detected</message></warning>
+</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.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- soap_warnings.tmpl	19 Jul 2007 03:59:24 -0000	1.4
+++ soap_warnings.tmpl	19 Jul 2007 08:18:31 -0000	1.5
@@ -77,6 +77,9 @@
 <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="W23">
+  <m:warning><m:message>Rare or unregistered Character Encoding detected</m:message></m:warning>
+</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.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- warnings.tmpl	19 Jul 2007 03:59:24 -0000	1.28
+++ warnings.tmpl	19 Jul 2007 08:18:31 -0000	1.29
@@ -443,6 +443,23 @@
     </p>
   </li>
 </TMPL_IF>
+<TMPL_IF NAME="W23">
+  <li class="msg_warn" id="W23"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Rare or unregistered character encoding detected</span>
+  
+    <p>
+      The character encoding declared for this document 
+      (<code><TMPL_VAR NAME="W23_declared" ESCAPE="HTML"></code>) 
+      is supported by the validator, but may not be widely supported across platforms.
+      For the sake of interoperability, it is best to use a unicode character encoding 
+      such as <code>UTF-8</code>, or one of the 
+      <a href="http://www.iana.org/assignments/character-sets">registered character
+  	encodings</a>.
+    </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 08:18:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:58 GMT