W3C home > Mailing lists > Public > www-validator@w3.org > May 2009

Re: Php echo li-tag not seen by validator

From: David Dorward <david@dorward.me.uk>
Date: Thu, 28 May 2009 13:20:56 +0100 (BST)
Message-ID: <56163.132.185.240.124.1243513256.squirrel@malt.us-lot.org>
To: "Nick Woolley" <nick@estores.org.uk>
Cc: www-validator@w3.org
<quote who="Nick Woolley">
> When the html code from the page source is pasted into a new .html file
> it validates as xhtml transitional, but the .php page fails.

It sounds like you are attempting to send the source code of a peice of
software that (when run) will generate markup to the markup validator.

Don't do that, the validator does not run program code (to do so would be
expensive, dangerous, and (since programs can generate different output
depending on the arguments they are given and the environment they run in)
pointless. Send the generated markup to the validator.

(Please direct responses to www-validator, not directly to me. Thanks).

-- 
David Dorward
http://dorward.me.uk/
Received on Thursday, 28 May 2009 12:21:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:35 GMT