W3C home > Mailing lists > Public > www-validator@w3.org > February 2005

Line numbers in validator don't match

From: Jason Liu <jasonliu@engin.umich.edu>
Date: Tue, 15 Feb 2005 12:06:01 -0500 (EST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0502151157030.16843@alumni.engin.umich.edu>

Greetings,

	It seems that the HTML validator skips any blank
lines when counting line numbers. What this means is
that if I have some blank lines in my (X)HTML file and
the validator returns errors, I cannot skip to that line
number in my (X)HTML file and expect to see the error
that has been flagged. I would highly recommend that the
line numbers that you print out are the actual line
numbers of the input file, not the line numbers after the
validator has parsed out blank or all whitespace lines.
	I personally code all of my (X)HTML and CSS pages
by hand	instead of using a Web publishing tool like
FrontPage or Dreamweaver, because I am a computer
programmer, and I prefer to have total control over my
code. As a result, I occasionally put blank lines in my
files to make my markup easier for me to read. By not
having line numbers that match up with the error, it
makes it much more inconvenient to debug my pages that
have errors.

Sincerely,
Jason Liu

=====================================================================
* Jason Liu                            Phone: (734) 945-0531 (Cell) *
* B.S.E. Electrical Engineering                                     *
* B.S.E. Computer Engineering              http://www.JasonLiu.net/ *
* University of Michigan           E-Mail: jasonliu@engin.umich.edu *
=====================================================================
Received on Tuesday, 15 February 2005 18:22:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT