Re: PHP code only allowed in XHTML 5?

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


Thanks.

 
> 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