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.132.185.240.124.1243516331.squirrel@malt.us-lot.org>
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
returned.

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

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