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

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 UTC