W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2009

validator/httpd/cgi-bin check,1.718,1.719

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 16 Nov 2009 19:50:28 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NA7am-0007Tx-G9@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv28722/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Fix fatal error handling in event handler and user agent.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.718
retrieving revision 1.719
diff -u -d -r1.718 -r1.719
--- check	25 Oct 2009 08:36:54 -0000	1.718
+++ check	16 Nov 2009 19:50:26 -0000	1.719
@@ -3067,7 +3067,7 @@
   # No or unknown FPI and a relative SI.
   if ($err->{msg} =~ m(cannot (open|find))) {
     $File->{'Error Flagged'} = TRUE;
-    &get_template($File, 'fatal-error.tmpl')->param(
+    &W3C::Validator::MarkupValidator::get_template($File, 'fatal-error.tmpl')->param(
       fatal_parse_extid_error => TRUE,
       fatal_parse_extid_msg   => $err->{msg},
     );
@@ -3247,7 +3247,7 @@
   if ($iptype && $iptype ne 'PUBLIC') {
     my $File = $self->{'W3C::Validator::File'};
     $File->{'Error Flagged'} = 1;
-    my $tmpl = &get_template($File, 'fatal-error.tmpl');
+    my $tmpl = &W3C::Validator::MarkupValidator::get_template($File, 'fatal-error.tmpl');
     $tmpl->param(
       fatal_ip_error => 1,
       fatal_ip_host  => $uri->host() || 'undefined',
Received on Monday, 16 November 2009 19:50:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:40 UTC