- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 23 Oct 2006 05:14:48 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv26799/httpd/cgi-bin Modified Files: Tag: validator-0_7-branch check Log Message: change in opensp 1.5.2 broke our parsing of the message-id - fixed. Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.432.2.17 retrieving revision 1.432.2.18 diff -u -d -r1.432.2.17 -r1.432.2.18 --- check 18 Oct 2006 06:22:31 -0000 1.432.2.17 +++ check 23 Oct 2006 05:14:46 -0000 1.432.2.18 @@ -1450,6 +1450,12 @@ $err->{char} = $l; } $err->{num} = $errors[4] || ''; + + # the following is necessary for openSP 1.5.2+, + # which seems to have introduced a change in error messagenumbering + # syntax appears to be session_id.error_id - We keep only the latter part + $err->{num} =~ s/(.*)\.//; + $err->{type} = $errors[5] || ''; if ($err->{type} eq 'E' or $err->{type} eq 'X' or $err->{type} eq 'Q') { $err->{msg} = join ':', @errors[6 .. $#errors];
Received on Monday, 23 October 2006 05:14:58 UTC