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

validator/share/templates/en_US soap_warnings.tmpl,1.12,1.13 ucn_warnings.tmpl,1.10,1.11 warnings.tmpl,1.51,1.52

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 06 Mar 2010 11:00:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NnrkZ-000434-4F@lionel-hutz.w3.org>
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv15527/share/templates/en_US

Modified Files:
	soap_warnings.tmpl ucn_warnings.tmpl warnings.tmpl 
Log Message:
Add warning for missing Content-Type.

Index: ucn_warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/ucn_warnings.tmpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ucn_warnings.tmpl	22 Sep 2008 19:26:13 -0000	1.10
+++ ucn_warnings.tmpl	6 Mar 2010 11:00:48 -0000	1.11
@@ -28,6 +28,7 @@
   <warning><messageid>W07</messageid><message>Contradictory Parse Modes Detected!</message></warning>
 </TMPL_IF>
 <TMPL_IF NAME="W08">
+  <warning><messageid>W08</messageid><message>No Content-Type Found!</message></warning>
 </TMPL_IF>
 <TMPL_IF NAME="W09">
   <warning><messageid>W09</messageid><message>No DOCTYPE found! Attempting validation with <TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">.</message></warning>

Index: soap_warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/soap_warnings.tmpl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- soap_warnings.tmpl	26 Dec 2009 11:10:10 -0000	1.12
+++ soap_warnings.tmpl	6 Mar 2010 11:00:48 -0000	1.13
@@ -28,6 +28,7 @@
   <m:warning><m:messageid>W07</m:messageid><m:message>Contradictory Parse Modes Detected!</m:message></m:warning>
 </TMPL_IF>
 <TMPL_IF NAME="W08">
+  <m:warning><m:messageid>W08</m:messageid><m:message>No Content-Type Found!</m:message></m:warning>
 </TMPL_IF>
 <TMPL_IF NAME="W09">
   <m:warning><m:messageid>W09</m:messageid><m:message>No DOCTYPE found! Attempting validation with <TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">.</m:message></m:warning>

Index: warnings.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/warnings.tmpl,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- warnings.tmpl	22 Feb 2010 17:07:58 -0000	1.51
+++ warnings.tmpl	6 Mar 2010 11:00:49 -0000	1.52
@@ -176,9 +176,17 @@
   </li>
 </TMPL_IF>
 <TMPL_IF NAME="W08">
-<!--
-  obsolete - now covered by W06
--->
+  <li class="msg_warn" id="W08"><p><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No <code>Content-Type</code> found!</span></p>
+    <p>
+      This document was served with an empty or missing
+      <code>Content-Type</code> header.  This is likely to confuse the validator
+      and other user agents.
+    </p>
+    <p>
+      HTTP messages <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1">SHOULD</a>
+      contain the <code>Content-Type</code> HTTP header.
+    </p>
+  </li>
 </TMPL_IF>
 <TMPL_IF NAME="W09">
   <li class="msg_warn" id="W09"><p><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No <code>DOCTYPE</code> found! Checking with default <TMPL_VAR NAME="W09_dtd" ESCAPE="HTML"> Document Type.</span></p>
Received on Saturday, 6 March 2010 11:00:52 GMT

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