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

Re: PHP code only allowed in XHTML 5?

From: Olivier GENDRIN <olivier.gendrin@gmail.com>
Date: Wed, 22 Jul 2009 16:26:23 +0200
Message-ID: <e2c275120907220726o7ab427t604e2f7784355c9f@mail.gmail.com>
To: HTMLWG <public-html@w3.org>
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.

Olivier G.
Received on Wednesday, 22 July 2009 14:27:23 UTC

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