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

On Thu, 13 Dec 2007 13:19:15 +0000
Mark Rae wrote:

> 
> -----Original Message-----
> From: David Dorward [mailto:david@dorward.me.uk] 
> Sent: 13 December 2007 12:57
> To: mark@markrae.co.uk
> Cc: www-validator@w3.org
> Subject: Re: Doesn't validate online, but pasted View Source does
> 
> David,
> 
> Firstly, thanks very much for replying - I appreciate it.
> 
> > The usual trick when debugging this type of issue is to turn on the 
> > View Source feature of the validator.
> 
> OK. When I do that, it looks like the validator is ignoring the <meta>
> tag which specifies the charset - is that normal...?
> 

Not at all, as Jukka said: 
 * Your web server is optionally sending out a different page based on
info it recieves from the browser. 
 * It treats the validator as a browser when it recieves the request.
 * One of the scripting options of your server bypasses the bit of code
with the meta tag in it. It never gets sent from your server to the
validator.

Look for an "if" statement in the code which generates the head for the
page.

-- 
Michael

All shall be well, and all shall be well, and all manner of things shall
be well

 - Julian of Norwich 1342 - 1416

Received on Thursday, 13 December 2007 16:39:00 UTC