W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2008

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

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 20 Aug 2008 20:34:12 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KVuNh-00047n-03@lionel-hutz.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:33 UTC