- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 28 Apr 2007 18:56:57 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv5386 Modified Files: check Log Message: Don't treat any '^' as a column locator when parsing libxml errors. Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.509 retrieving revision 1.510 diff -u -d -r1.509 -r1.510 --- check 28 Apr 2007 09:33:54 -0000 1.509 +++ check 28 Apr 2007 18:56:55 -0000 1.510 @@ -646,7 +646,7 @@ $xmlwf_error_line =~ s/:(\d+):/$1/; $xmlwf_error_msg =~ s/ parser error :/XML Parsing Error: /; } - if ($msg_line =~ /(.+)\^/){ + elsif ($msg_line =~ /(\s+)\^/) { $xmlwf_error_col = length($1); } if (defined($xmlwf_error_col) && $xmlwf_error_col == 79){
Received on Sunday, 29 April 2007 01:05:25 UTC