validator/httpd/cgi-bin check,1.401,1.402

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

Modified Files:
	check 
Log Message:
Pass doctype name to W09.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -d -r1.401 -r1.402
--- check	22 Feb 2005 18:01:05 -0000	1.401
+++ check	24 Feb 2005 17:43:26 -0000	1.402
@@ -744,7 +744,7 @@
     if ($1 =~ '-//W3C//DTD (SGML|XML) Fallback//EN') {
       $File->{Tentative} |= (T_ERROR | T_FALL);
       my $dtd = $1 eq 'SGML' ? 'HTML 4.01 Transitional' : 'XHTML 1.0 Strict';
-      &add_warning('W09', {});
+      &add_warning('W09', { W09_dtd => $dtd });
     }
     $File->{Version} = $1;
     last;

Received on Thursday, 24 February 2005 17:43:29 UTC