validator/share/templates/en_US warnings.tmpl,1.20,1.21

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

Modified Files:
	warnings.tmpl 
Log Message:
make sure warning 23 (Conflict between Mime Type and Document Type for the parse mode) gets thrown before Warning 6 (Contradictory Parse Modes Detected), as 6 is often a consequence of 23

Index: warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/warnings.tmpl,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- warnings.tmpl	16 Mar 2007 06:56:36 -0000	1.20
+++ warnings.tmpl	16 Mar 2007 12:44:07 -0000	1.21
@@ -128,6 +128,30 @@
     </p>
   </li>
 </TMPL_IF>
+
+<TMPL_IF NAME="W23">
+  <li class="msg_warn" id="W23"><span class="err_type">Warning</span> <span class="msg">Conflict between Mime Type and Document Type</span>
+  
+    <p>The document is being served with the  <code><TMPL_VAR NAME="W23_type" ESCAPE="HTML"></code> Mime Type
+      which is not a registered media type for the 
+      <code><TMPL_VAR NAME="W23_doctype" ESCAPE="HTML"></code> Document Type. The recommended media type 
+      for this document is: <code><TMPL_VAR NAME="W23_type_pref" ESCAPE="HTML"></code></p>
+           
+   <p>Using a wrong media type for a certain document type may
+      confuse the validator and other user agents with respect to the 
+      nature of the document, and you may get some erroneous validation
+      errors. How to fix this problem? One of the following techniques should help:</p>
+   <ul>     
+      <li>If you are serving a static file on a Web server, changing its extension should help. 
+        Use e.g <code>.xhtml</code> for XHTML or <code>.mathml</code> for MathML.              
+     </li>
+     <li>You may need to reconfigure your Web server. This <a  href="http://www.developershome.com/wap/wapServerSetup/tutorial.asp?page=settingUpMIME">Setting up MIME Types tutorial</a> has instructions for Apache, Tomcat and IIS.
+</li>
+     <li>If the document is generated dynamically, the scripting language should allow you to set up the mime type: 
+             this <a href="http://juicystudio.com/article/content-negotiation.php">article on MIME Types and Content Negotiation</a> has examples in PHP, Perl, and ASP.</li>
+    </ul>
+</TMPL_IF>
+
 <TMPL_IF NAME="W06">
   <li class="msg_warn" id="W06"><span class="err_type">Warning</span> <span class="msg">Unable to Determine Parse Mode!</span>
   <p>Neither the MIME Media Type (<code><TMPL_VAR NAME="W06_mime" ESCAPE="HTML"></code>)
@@ -372,29 +396,6 @@
   </li>
 </TMPL_IF>
 
-<TMPL_IF NAME="W23">
-  <li class="msg_warn" id="W23"><span class="err_type">Warning</span> <span class="msg">Conflict between Mime Type and Document Type</span>
-  
-    <p>The document is being served with the  <code><TMPL_VAR NAME="W23_type" ESCAPE="HTML"></code> Mime Type
-      which is not a registered media type for the 
-      <code><TMPL_VAR NAME="W23_doctype" ESCAPE="HTML"></code> Document Type. The recommended media type 
-      for this document is: <code><TMPL_VAR NAME="W23_type_pref" ESCAPE="HTML"></code></p>
-           
-   <p>Using a wrong media type for a certain document type may
-      confuse the validator and other user agents with respect to the 
-      nature of the document, and you may get some erroneous validation
-      errors. How to fix this problem? One of the following techniques should help:</p>
-   <ul>     
-      <li>If you are serving a static file on a Web server, changing its extension should help. 
-        Use e.g <code>.xhtml</code> for XHTML or <code>.mathml</code> for MathML.              
-     </li>
-     <li>You may need to reconfigure your Web server. This <a  href="http://www.developershome.com/wap/wapServerSetup/tutorial.asp?page=settingUpMIME">Setting up MIME Types tutorial</a> has instructions for Apache, Tomcat and IIS.
-</li>
-     <li>If the document is generated dynamically, the scripting language should allow you to set up the mime type: 
-             this <a href="http://juicystudio.com/article/content-negotiation.php">article on MIME Types and Content Negotiation</a> has examples in PHP, Perl, and ASP.</li>
-    </ul>
-</TMPL_IF>
-
 
 <TMPL_IF NAME="W@@">
   <li class="msg_warn" id="W@@">

Received on Friday, 16 March 2007 12:44:25 UTC