I'm pretty sure it is. It parses fine according to Xerces, at any rate. At first, I was thinking the greater than comparison would cause problems, as <xsl:if> elements like seeing the test written as "foo > bar", but when you have the symbol inside of a processing instruction, it's fine.
J Zeev Suraski wrote: > At 21:07 26/04/2002, Sterling Hughes wrote: >>The whole point of the <?php tag is to allow people to embed commands in >>XML documents. When short tags are disabled, commands such as <% echo >>'HELLO'; %> don't work. If you allow <?php=?> syntax, it is not valid >>XML, which negates the point of having <?php in the first place. > > He was wrong about the 2nd example, but I'm pretty sure about his first: > > <?php if ($foo > $bar) > ... > ?> > > Is this valid XML? > > > [I'm not taking sides on whether <?php= should be supported or not] > > Zeev -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php