W3C home > Mailing lists > Public > public-html@w3.org > July 2009

Re: PHP code only allowed in XHTML 5?

From: Leif Halvard Silli <lhs@malform.no>
Date: Wed, 22 Jul 2009 19:52:30 +0200
Message-ID: <4A6751DE.7010706@malform.no>
To: Olivier GENDRIN <olivier.gendrin@gmail.com>
CC: HTMLWG <public-html@w3.org>
Olivier GENDRIN On 09-07-22 16.26:

> On Wed, Jul 22, 2009 at 7:01 AM, Smylers<Smylers@stripey.com> wrote:
>> Leif Halvard Silli writes:
>>
>>> Suppose one wants to validate a page that embeds PHP, but that one
>>> wants  to do so /prior/ to the execution of the PHP script:
>>>
>>>        <?php Print "Hello, World!"; ?>
>> How can that be a meaningful thing to do?  What if the PHP script emits
>> something which causes an error, such as misnested tags?  The
>> conformance checker would be giving the author the impression that the
>> page is conforming, yet what gets sent to the browser clearly isn't.
> 
> You could have the same arguments about a (java)script that could emit bad html.

Indeed.
-- 
leif halvard silli
Received on Wednesday, 22 July 2009 17:53:11 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:48 UTC