diff options
author | ville <ville@localhost> | 2009-11-16 19:50:26 +0000 |
---|---|---|
committer | ville <ville@localhost> | 2009-11-16 19:50:26 +0000 |
commit | c47489342d991739ea8dacdb71cd11902816c3fb (patch) | |
tree | d9b9771d270d0fa75491098be07ee5c7ad4c5504 | |
parent | 4431291683e2899d535932d29c727326e0f32c67 (diff) | |
download | markup-validator-c47489342d991739ea8dacdb71cd11902816c3fb.zip markup-validator-c47489342d991739ea8dacdb71cd11902816c3fb.tar.gz markup-validator-c47489342d991739ea8dacdb71cd11902816c3fb.tar.bz2 |
Fix fatal error handling in event handler and user agent.
-rwxr-xr-x | httpd/cgi-bin/check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 8af4536..94cb85d 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -14,7 +14,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.718 2009-10-25 08:36:54 ville Exp $ +# $Id: check,v 1.719 2009-11-16 19:50:26 ville Exp $ # # Disable buffering on STDOUT! $| = 1; @@ -209,7 +209,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.718 $; + $VERSION = q$Revision: 1.719 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -3067,7 +3067,7 @@ sub error # 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 @@ sub uri_ok { 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', |