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 14:12:11 +0100 (BST)
Message-ID: <42698.>
To: "Nick Woolley" <nick@estores.org.uk>
Cc: www-validator@w3.org
<quote who="Nick Woolley">
> To clarify: The page that is failing is just a regular php page which
> includes some <li> tags which are printed to the page using php code,
> and for some reason the validator is not seeing them (although they are
> working correctly on the web page and shown correctly in the page
> source).
> Because the validator thinks there are no <li> tags within the <ul> tags
> it gives an error.

That very strongly suggests that the PHP is, for some reason, failing to
generate the li elements in response to the validator's request.

You can use the View Source option in the validator to see exactly what is

David Dorward
Received on Thursday, 28 May 2009 13:12:46 UTC

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