validator/httpd/cgi-bin check,1.599,1.600

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

Modified Files:
	check 
Log Message:
muting "unknown parse mode" warning for html5 sent as text/html

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.599
retrieving revision 1.600
diff -u -d -r1.599 -r1.600
--- check	19 Aug 2008 13:49:23 -0000	1.599
+++ check	20 Aug 2008 20:34:10 -0000	1.600
@@ -2386,7 +2386,7 @@
     return;
   }
 
-  $parseModeFromDoctype = 'TBD' unless $parseModeFromDoctype eq 'SGML' or $parseModeFromDoctype eq 'XML' or $parseModeFromNamespace eq 'XML';
+  $parseModeFromDoctype = 'TBD' unless $parseModeFromDoctype eq 'SGML' or $parseModeFromDoctype eq 'HTML5' or $parseModeFromDoctype eq 'XML' or $parseModeFromNamespace eq 'XML';
 
   if (($parseModeFromDoctype eq 'TBD')  and ($parseModeFromXMLDecl eq 'TBD') and ($parseModeFromMimeType eq 'TBD') and ($parseModeFromNamespace eq 'TBD')) {
     # if all factors are useless to give us a parse mode

Received on Wednesday, 20 August 2008 20:34:46 UTC