I have to admit that after grep'ing a few hundred xml documents it does seem to make some sense to support this.
It's ugly but it works. The only question is what will we think of this in two years time? :)
By the way, I really think we should quit the <? removing thread. I think it's quite obvious that this won't be going anywhere.

Andi

At 06:12 PM 10/17/2002 +0200, Zeev Suraski wrote:
Well, I differ with you on that. I don't think there's anything in the same class as <?xml.

Zeev

At 18:08 17/10/2002, Andi Gutmans wrote:
I don't think we should add special hacks to the scanner. Soon we're going to have a zillion hacks for other XML/SGML/foobar documents.

Andi

At 12:17 PM 10/16/2002 -0400, Ilia A. wrote:
Since the general consensus by the developers is not to remove the short_tags
or even disable them. Perhaps we should consider alternate solutions to this
problem. Given the buzzword popularity of XML and its slowly growing
popularity among website designers (XHTML) this issue is likely to come up in
the future yet again.
The solution I would like to offer, is a patch that adds special handling for
<?xml. Thus preventing the language parser from attempting to parse data
inside <?xml as PHP source.

Ilia

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

Reply via email to