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

Re: Validating - bug ?

From: David Dorward <david@dorward.me.uk>
Date: Mon, 18 Oct 2010 14:15:08 +0100
Cc: www-validator@w3.org
Message-Id: <E81A8AC0-2BA8-430C-A402-FD3299483E87@dorward.me.uk>
To: Sebastian Ostrycharczyk <shiro@shiro.home.pl>
On 18 Oct 2010, at 00:19, Sebastian Ostrycharczyk wrote:
> I am validating http://validator.w3.org/check?uri=http%3A%2F%2Fnetsh.pl%2Fshirosystems%2F&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.1    www.netsh.pl
> Ok, i have not passed the validation, but the strange thing is, that I can't find code which gave me validator.

Your ASP.NET is outputting different code depending on the User-Agent HTTP header.

I seem to recall an xhtmlConformance configuration paramater that lets you force it to output modern-ish code. Personally, I'd avoid ASP.NET, especially web forms (which I think are the cause of this problem).

David Dorward
Received on Monday, 18 October 2010 13:15:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:02 UTC