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

Re: Doesn't validate online, but pasted View Source does

From: olivier Thereaux <ot@w3.org>
Date: Wed, 19 Dec 2007 13:18:22 +0900
Cc: <www-validator@w3.org>
Message-Id: <AFE19C04-FF5B-4B92-88A0-28E00DBCD5FC@w3.org>
To: <mark@markrae.co.uk>

Hi Mark,

On Dec 13, 2007, at 10:49 , Mark Rae wrote:
> 2) if you copy the entire contents of the View Source and paste into  
> the
> "Validate by Direct Input" box, it does validate.

As several already pointed out, the reason for this is that your  
server engine (let me guess: asp.net?) is serving different content  
based on browser/user-agent sniffing.

There is a useful discussion of this issue, along with workarounds, at:

I also invite everyone struggling with this issue to raise it with the  
makers of asp.net. That behavior is plain wrong, useless, and  
confusing IMHO.

olivier Thereaux - W3C - http://www.w3.org/People/olivier/
W3C Open Source Software: http://www.w3.org/Status
Received on Wednesday, 19 December 2007 04:18:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:54 UTC