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.>
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
Received on Thursday, 28 May 2009 12:21:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:12 UTC