Index: validator/httpd/cgi-bin/check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.253 diff -u -r1.253 check --- check 2002/10/16 17:23:52 1.253 +++ check 2002/10/23 21:42:49 @@ -2330,7 +2330,7 @@ unless ($File->{'Is Valid'}) { printf <<".EOF.", &ent($File->{URI}); - + @@ -2339,8 +2339,10 @@ .EOF. + my $errnum = 0 ; foreach my $err (@{$File->{Errors}}) { # Strip curlies from lq-nsgmls output. + ++$errnum ; $err->{msg} =~ s/[{}]//g; chomp $err->{msg}; @@ -2360,8 +2362,9 @@ ); printf <<".EOF.", &ent($File->{URI}), &ent($err->{msg}); - + + $err->{line} $err->{char} @offsets