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

Re: Validator fails on PHP instructions inside attribute values

From: Philip Taylor (Webmaster, Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Wed, 21 Jul 2010 12:07:06 +0100
Message-ID: <4C46D4DA.80601@Rhul.Ac.Uk>
To: Dag-Erling Smørgrav <des@des.no>
CC: Richard Ishida <ishida@w3.org>, 'David Dorward' <david@dorward.me.uk>, www-validator@w3.org


Dag-Erling Smørgrav wrote:

> Regardless of DTD, you can't have unescaped angle brackets inside
> attribute values;

That fact I had overlooked.

> nor can you write a DTD that makes<?php ...?>
> something else than a PI or allows its use in places where a PI is not
> permitted.

And that I did not know.  Thank you for the clarification.
Philip Taylor
Received on Wednesday, 21 July 2010 11:07:45 GMT

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