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

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:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3734

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.

regards,
olivier
-- 
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