Re: PHP code only allowed in XHTML 5?

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