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 11:56:25 +0200
Message-ID: <4A66E249.4070703@malform.no>
To: Simon Pieters <simonp@opera.com>
CC: HTMLWG <public-html@w3.org>
Simon Pieters On 09-07-22 11.24:

> On Wed, 22 Jul 2009 03:07:07 +0200, Leif Halvard Silli <lhs@malform.no> 
> wrote:
>> Summary: Please add back support for SGML processing instructions as 
>> they are well supported and much used.
>> 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:
> See http://bugzilla.validator.nu/show_bug.cgi?id=581


> I don't think it's possible to have useful validation of PHP script 
> prior execution.

Well, I disagree - see my reply to Smylers.

> Instead, I think validators should have knowledge about 
> common scripting and template languages and give advice that validation 
> should take place after execution.

For PI instructions, which are defined as part of HTML, I agree 
that a warning saying that it is the execution result that counts, 
could be useful. But PIs do not need to be illegal for such a 
warning to be useful.
leif halvard
Received on Wednesday, 22 July 2009 09:57:05 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:51 UTC