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

validator/httpd/cgi-bin check,1.404,1.405

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 01 Mar 2005 19:04:56 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1D6Cfw-0008Sc-3n@lionel-hutz.w3.org>

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

Modified Files:
	check 
Log Message:
nuking redundant code in case doctype override is chosen - see sub override_doctype()

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.404
retrieving revision 1.405
diff -u -d -r1.404 -r1.405
--- check	25 Feb 2005 00:25:04 -0000	1.404
+++ check	1 Mar 2005 19:04:53 -0000	1.405
@@ -521,8 +521,6 @@
 if ($File->{Opt}->{DOCTYPE}
     and not $File->{Opt}->{DOCTYPE} =~ /(Inline|detect)/i) {
   $File = &override_doctype($File);
-  &add_warning('W05', {W05_dtd => $File->{Opt}->{DOCTYPE}});
-  $File->{Tentative} |= T_ERROR; # Tag it as Invalid.
 }
 
 #
@@ -956,6 +954,7 @@
   $File->{T}->param(have_warnings => TRUE);
 }
 
+
 #
 # Proxy authentication requests.
 # Note: expects the third argument to be a hash ref (see HTTP::Headers::Auth).
Received on Tuesday, 1 March 2005 19:04:56 GMT

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