W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2010

markup-validator commit: Report line number of first transcoding error, not last.

From: Mercurial notifier <nobody@w3.org>
Date: Tue, 14 Dec 2010 22:15:57 +0000
Message-Id: <E1PSdA5-0003dv-Mi@mcbain.w3.org>
To: markup-validator updates <www-validator-cvs@w3.org>
changeset:   3193:c226e4a4ebd7
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Tue Dec 14 23:44:45 2010 +0200
files:       httpd/cgi-bin/check
description:
Report line number of first transcoding error, not last.


diff -r d51bf903b549 -r c226e4a4ebd7 httpd/cgi-bin/check
--- a/httpd/cgi-bin/check	Tue Dec 14 23:17:16 2010 +0200
+++ b/httpd/cgi-bin/check	Tue Dec 14 23:44:45 2010 +0200
@@ -3234,6 +3234,7 @@
                 $tmpl->param(fatal_byte_lines     => $line_num);
                 $tmpl->param(fatal_byte_charset   => $cs);
                 $tmpl->param(fatal_byte_error_msg => $croak_message);
+                last;
             }
         }
         return $File;
Received on Tuesday, 14 December 2010 22:16:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC