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

validator/httpd/cgi-bin check,1.412,1.413

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 31 Mar 2005 21:33:07 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1DH7Hn-00082y-1c@lionel-hutz.w3.org>

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

Modified Files:
	check 
Log Message:
This should fix bug 941, for the charset part.

As written in 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=941#c3
I am not entirely satisfied by the solution, but it is a working solution, 
and will do for the time being (?)...



Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.412
retrieving revision 1.413
diff -u -d -r1.412 -r1.413
--- check	31 Mar 2005 07:43:42 -0000	1.412
+++ check	31 Mar 2005 21:33:04 -0000	1.413
@@ -935,9 +935,13 @@
   $T->param(file_namespaces => \@nss) if @nss;
   
   if ($File->{Opt}->{DOCTYPE}) {
-      my $over_doctype_param = "override $File->{Opt}->{DOCTYPE}";
-       $T->param($over_doctype_param => TRUE);
-      
+      my $over_doctype_param = "override doctype $File->{Opt}->{DOCTYPE}";
+       $T->param($over_doctype_param => TRUE);   
+  }
+  
+  if ($File->{Opt}->{Charset}) {
+      my $over_charset_param = "override charset $File->{Opt}->{Charset}";
+       $T->param($over_charset_param => TRUE);   
   }
   
 }
Received on Thursday, 31 March 2005 21:33:07 GMT

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