W3C home > Mailing lists > Public > www-validator@w3.org > July 2004


From: Nick Kew <nick@webthing.com>
Date: Wed, 7 Jul 2004 23:11:35 +0100 (BST)
To: John Fredsted <john_fredsted@hotmail.com>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.53.0407072310030.1003@hugin.webthing.com>

On Fri, 2 Jul 2004, John Fredsted wrote:

> I've a page which validates XHTML Strict when I validate the 'View
> source' of the client, but not when I validate by URL.
> The problem is that the page is generated by PHP with redirects so that
> for instance the DOCTYPE-declaration cannot be put as the first line in
> the PHP document.

You are confused.  What happens within your server (e.g. PHP) is your
business - a browser or validator neither knows nor cares.  What you
serve should be valid, and is what a validator or browser sees.

Nick Kew
Received on Wednesday, 7 July 2004 18:12:06 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:22 UTC