- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 17 Jul 2007 02:32:38 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv18888 Modified Files: check Log Message: for the sake of readability, at least until the xmlwf errors have explanations, we push the errors from the XML parser at the END of the error list. Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.539 retrieving revision 1.540 diff -u -d -r1.539 -r1.540 --- check 12 Jul 2007 15:46:52 -0000 1.539 +++ check 17 Jul 2007 02:32:36 -0000 1.540 @@ -690,7 +690,7 @@ } foreach my $errmsg (@xmlwf_error_list){ $File->{'Is Valid'} = FALSE; - push @{$File->{Errors}}, $errmsg; + push @{$File->{WF_Errors}}, $errmsg; } } @@ -1551,6 +1551,13 @@ # Hash to keep track of how many of each error is reported. my %Msgs; # Used to generate a UID for explanations. + # for the sake of readability, at least until the xmlwf errors have explanations, + # we push the errors from the XML parser at the END of the error list. + foreach my $errmsg (@{$File->{WF_Errors}}){ + push @{$File->{Errors}}, $errmsg; + } + + if (scalar @{$File->{Errors}}) { foreach my $err (@{$File->{Errors}}) { my $line;
Received on Tuesday, 17 July 2007 02:32:40 UTC