W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2005

validator/share/templates/en_US warnings.tmpl,1.5,1.6

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 01 Mar 2005 17:03:02 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1D6Aly-00066T-IO@lionel-hutz.w3.org>

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

Modified Files:
	warnings.tmpl 
Log Message:
Reverting to version 1.4

Version 1.5 was a re-ordering of the warning messages, putting the warning message about "no doctype found" before "doctype fallback in effect", where that would be more natural.

On second though, I think the two should actually not appear in the same results page, since the "no doctype found" message already mentions that it falls back to a given doctype. Will look into implementing that instead.




Index: warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/warnings.tmpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- warnings.tmpl	1 Mar 2005 16:58:05 -0000	1.5
+++ warnings.tmpl	1 Mar 2005 17:03:00 -0000	1.6
@@ -142,33 +142,6 @@
     </p>
   </dd>
 </TMPL_IF>
-<TMPL_IF NAME="W16">
-  <dt id="W16">No DOCTYPE Found! Falling Back to <TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">.</dt>
-  <dd>
-    <p>
-      A DOCTYPE Declaration is mandatory for most current markup languages
-      and without one it is impossible to reliably validate this document.
-      I am falling back to "<TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">" and will attempt to
-      validate the document anyway, but this is very likely to produce
-      spurious error messages for most non-trivial documents.
-    </p>
-  <TMPL_IF NAME="opt_verbose">
-    <TMPL_INCLUDE NAME="doctype_spiel.tmpl">
-    <p>
-      The W3C QA Activity maintains a <a
-        href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">List of
-          Valid Doctypes</a> that you can choose from, and the <acronym
-        title="Web Design Group">WDG</acronym> maintains a document on
-      "<a href="http://htmlhelp.com/tools/validator/doctype.html">Choosing
-         a DOCTYPE</a>".
-    </p>
-  <TMPL_ELSE>
-    <p>
-      So what should I do?
-      <a href="docs/help.html#faq-doctype">Tell me more...</a>
-    </p>
-  </TMPL_IF>
-</TMPL_IF>
 <TMPL_IF NAME="W09">
   <dt id="W09"><code>DOCTYPE</code> Fallback in effect!</dt>
   <dd>
@@ -242,6 +215,35 @@
     </p>
   </dd>
 </TMPL_IF>
+<TMPL_IF NAME="W16">
+  <dt id="W16">No DOCTYPE Found! Falling Back to
+    <TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">.</dt>
+  <dd>
+    <p>
+      A DOCTYPE Declaration is mandatory for most current markup languages
+      and without one it is impossible to reliably validate this document.
+      I am falling back to "<TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">" and will
+      attempt to validate the document anyway, but this is very likely to
+      produce spurious error messages for most non-trivial documents.
+    </p>
+  <TMPL_IF NAME="opt_verbose">
+    <TMPL_INCLUDE NAME="doctype_spiel.tmpl">
+    <p>
+      The W3C QA Activity maintains a <a
+        href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">List of
+          Valid Doctypes</a> that you can choose from, and the <acronym
+        title="Web Design Group">WDG</acronym> maintains a document on
+      "<a href="http://htmlhelp.com/tools/validator/doctype.html">Choosing
+         a DOCTYPE</a>".
+    </p>
+  <TMPL_ELSE>
+    <p>
+      So what should I do?
+      <a href="docs/help.html#faq-doctype">Tell me more...</a>
+    </p>
+  </TMPL_IF>
+  </dd>
+</TMPL_IF>
 <TMPL_IF NAME="W17">
   <dt id="W17">No Character Encoding detected!</dt>
   <dd>
Received on Tuesday, 1 March 2005 17:03:02 GMT

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