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

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

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 24 Feb 2005 17:43:29 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1D4N1N-0002bk-1j@lionel-hutz.w3.org>

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 GMT

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