W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

validator/httpd/cgi-bin check,1.535,1.536

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 09 Jul 2007 04:56:29 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1I7lIT-0000V1-IJ@lionel-hutz.w3.org>

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

Modified Files:
	check 
Log Message:
making the     X-W3C-Validator-Status header more consistently report:
* Valid if validation passed
* Invalid if validation proceeded, failed
* Abort if validation could not be performed



Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.535
retrieving revision 1.536
diff -u -d -r1.535 -r1.536
--- check	5 Jul 2007 07:10:01 -0000	1.535
+++ check	9 Jul 2007 04:56:27 -0000	1.536
@@ -1011,6 +1011,10 @@
     my $over_charset_param = "override charset $File->{Opt}->{Charset}";
     $T->param($over_charset_param => TRUE);
   }
+  
+  if ($File->{'Error Flagged'}) {
+    $T->param(fatal_error => TRUE);
+  }
 }
 
 sub fin_template ($$) {
Received on Monday, 9 July 2007 04:56:34 GMT

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