- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 09 Jul 2007 04:56:29 +0000
- To: www-validator-cvs@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 UTC