W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2008

validator/share/templates/en_US warnings.tmpl,1.36,1.37

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 17 Jan 2008 08:09:26 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JFPoU-0004gS-5W@lionel-hutz.w3.org>

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

Modified Files:
	warnings.tmpl 
Log Message:
check that in a DOCTYPE declaration for a known document type, FPI and SI match

Index: warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/warnings.tmpl,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- warnings.tmpl	4 Oct 2007 06:48:14 -0000	1.36
+++ warnings.tmpl	17 Jan 2008 08:09:24 -0000	1.37
@@ -465,6 +465,15 @@
     <p>Validation was performed as if the DOCTYPE for <TMPL_VAR NAME="W25_dtd" ESCAPE="HTML"> was present. If this automatic detection is not correct, <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html" title="W3C QA - Recommended list of DTDs you can use in your Web document">adding a DOCTYPE declaration</a> will help validate without ambiguity.</p>
   </li>
 </TMPL_IF>
+<TMPL_IF NAME="W26">
+<li class="msg_warn" id="W26"><p><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Broken DOCTYPE detected</span></p>
+    <p>The document uses a DOCTYPE declaration with the <code><TMPL_VAR NAME="W26_dtd_sys" ESCAPE="HTML"></code> System Identifier, but the recommended System Identifier 
+	for  <code><TMPL_VAR NAME="W26_dtd_pub" ESCAPE="HTML"></code> is <code><TMPL_VAR NAME="W26_dtd_sys_recommend" ESCAPE="HTML"></code>.</p>
+	<p>The safest way to use a correct DOCTYPE declaration is to copy and paste one from the 
+		<a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html" title="W3C QA - Recommended list of DTDs you can use in your Web document">recommended list</a> 
+		and avoid editing that part of your markup by hand.</p>
+  </li>
+</TMPL_IF>
 
 <TMPL_IF NAME="W@@">
   <li class="msg_warn" id="W@@">
Received on Thursday, 17 January 2008 08:09:34 GMT

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