validator/httpd/cgi-bin check,1.558,1.559

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv17532/httpd/cgi-bin

Modified Files:
	check 
Log Message:
There are two warnings for "unknown parse mode". Obsoleting W08 
and merging with W06, as per discussion around:
http://lists.w3.org/Archives/Public/www-validator/2007Jul/0168.html


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.558
retrieving revision 1.559
diff -u -d -r1.558 -r1.559
--- check	23 Aug 2007 15:31:54 -0000	1.558
+++ check	3 Sep 2007 06:57:41 -0000	1.559
@@ -2025,7 +2025,10 @@
     # if the mime type is text/html (ambiguous, hence TBD mode)
     # and XML prolog detection was unsuccessful
     # and the doctype isn't in the catalogue... we scream
-    &add_warning('W08', {W08_mime => $File->{ContentType}});
+    &add_warning('W06', {
+      W06_mime => $File->{ContentType},
+      w06_doctype => $File->{DOCTYPE}
+    });
     return;
   }
 

Received on Monday, 3 September 2007 06:57:52 UTC