Re: PHP code only allowed in XHTML 5?

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.
http://identi.ca/lespacedunmatin
http://www.lespacedunmatin.info/blog/

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