Are you positive about that? I would have assumed so, too, but it passes 
both the Sablotron and Xerces XML processors without so much as a warning. 

J


Rasmus Lerdorf wrote:

>> <?php if ($foo > $bar)
>> ...
>> ?>
>>
>> Is this valid XML?
> 
> No, this is technically invalid XML.  You would have to write it as:
> 
>   <?php if ($foo &gt; $bar)
> 
> But sheez... That's just way too ugly, you can work around it and there
> are other examples out there of people breaking this rule. Doing <?php= is
> a much more flagrant violation in my opinion.
> 
> -Rasmus


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to