Re: short_open_tag
| From: | Lars Strojny | Date: | Sat, 22 Mar 2008 13:00:27 +0000 |
| Subject: | Re: short_open_tag | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36322@lists.php.net to get a copy of this message | ||
Hello Pierre,
Am Samstag, den 22.03.2008, 13:17 +0100 schrieb Pierre Joye:
[...]
> Read: Code validation (like in pre commit rules), is one common usage.
Where? I've just never seen any project that does XML validation on XML
templates as a pre-commit rule.
> Think about xml being XML data or HTML. Nothing prevents one to write
> valid (x)html in a valid xml format.
Again: there is no point in validating at a pre-interpreted XML files
(if they contain interpretable code).
> And again this exact example was a proof to a *wrong* claim, it has to
> be extended to be applicable to a real life context.
Making the example longer (aka "applicable to a real life context"?)
would not change the common characteristics. My claim is, that a
pre-interpreted XML file with PHP instructions can't be reliably
validated anyway, so their is no reason bothering with it.
> This small but obvious example is not a real life context but only
> (and only!) the proof that Stan's claim was wrong, period.
I'm not sure to which claim you are referring, but I'm not Stas advocate
so this might be true :)
cu, Lars
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc