Re: <?= and <%= both work, why not <?php=
| From: | Rasmus Lerdorf | Date: | Fri, 26 Apr 2002 18:04:45 +0000 |
| Subject: | Re: <?= and <%= both work, why not <?php= | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83390@lists.php.net to get a copy of this message | ||
> 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.
Are you sure? I know that this is a common thing for XML parsers to
allow, but I think going strictly by the spec it is not valid. I could be
wrong though, my XML spec-reading patience has long since worn off.
-Rasmus