Hi, On Sat, Mar 22, 2008 at 1:09 PM, Lars Strojny <[EMAIL PROTECTED]> wrote: > Hi Ralph, Pierre, everybody, > > Am Samstag, den 22.03.2008, 01:23 +0100 schrieb Pierre Joye: > > > On Sat, Mar 22, 2008 at 12:51 AM, Ralph Schindler <[EMAIL PROTECTED]> wrote: > > > > > > > Take this file: > > > > > > > > <?xml version="1.0" encoding="utf-8" ?> > > > > <foo> > > > > <? echo "bar"; ?> > > > > </foo> > > > > > > > > and run it through xmllint. > > That's exactly the point, thanks Ralph. It makes absolutely no sense > validating XML documents containing PHP instructions *before* the > instructions have been processed
Read: Code validation (like in pre commit rules), is one common usage. Think about xml being XML data or HTML. Nothing prevents one to write valid (x)html in a valid xml format. 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. This small but obvious example is not a real life context but only (and only!) the proof that Stan's claim was wrong, period. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php