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

Re: [VE][73] Show the entire line of code around an error

From: David Dorward <david@dorward.me.uk>
Date: Wed, 1 Dec 2010 10:46:28 +0000
Cc: "www-validator@w3.org" <www-validator@w3.org>
Message-Id: <394DEC62-201F-4C84-85BB-077D91731088@dorward.me.uk>
To: Andre Hayter <Andre.Hayter@alphasalmon.com.au>

On 30 Nov 2010, at 02:03, Andre Hayter wrote:

> It would be much more useful if it showed the whole line of code.

Turn on the Show Source preference in the options and the error message will include a hyperlink to the line number in the full source.

> For example in the above, line 261 in reference to what? In no source view can I see the tag in question at the line specified.

This suggests that you are either looking at some server side code that generates HTML instead of looking at the generated HTML that gets sent to the browser, or you are using ASP.NET WebForms which is notorious for performing user agent sniffing and sending completely different markup to user agents it considers "good" and user agents that it either considers "bad" or doesn't recognise (which include the Markup Validator).


-- 
David Dorward
http://dorward.me.uk
Received on Wednesday, 1 December 2010 10:47:04 GMT

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