summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-03-29 04:46:55 +0000
committerot <ot@localhost>2007-03-29 04:46:55 +0000
commit8331f8a50b5d5849a558ab973de64ecf5d6ea988 (patch)
tree41e7424b39f44a099a1a967365e3345ccc23fda7
parent80063d96b5130e38ea9ba27502a17170d753dd72 (diff)
downloadmarkup-validator-8331f8a50b5d5849a558ab973de64ecf5d6ea988.zip
markup-validator-8331f8a50b5d5849a558ab973de64ecf5d6ea988.tar.gz
markup-validator-8331f8a50b5d5849a558ab973de64ecf5d6ea988.tar.bz2
in grouped error mode, give the specific error message for each instance
-rwxr-xr-xhttpd/cgi-bin/check7
1 files changed, 4 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 156da5d..eabba6d 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.489 2007-03-28 05:51:14 ot Exp $
+# $Id: check,v 1.490 2007-03-29 04:46:55 ot Exp $
#
# Disable buffering on STDOUT!
@@ -180,7 +180,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.489 $;
+ $VERSION = q$Revision: 1.490 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -1537,7 +1537,8 @@ sub report_errors ($) {
$msg_text = "XML Parsing Error";
}
$Errors_bytype{$err->{num}}->{expl} = $err->{expl};
- $Errors_bytype{$err->{num}}->{msg} = $msg_text;
+ $Errors_bytype{$err->{num}}->{generic_msg} = $msg_text;
+ $Errors_bytype{$err->{num}}->{msg} = $err->{msg};
$Errors_bytype{$err->{num}}->{type} = $err->{type};
$Errors_bytype{$err->{num}}->{class} = $err->{class};
$Errors_bytype{$err->{num}}->{err_type_err} = $err->{err_type_err};