Re: dropping asp_tags in HEAD
| From: | Robert Cummings | Date: | Sat, 14 Apr 2007 17:56:27 +0000 |
| Subject: | Re: dropping asp_tags in HEAD | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28831@lists.php.net to get a copy of this message | ||
On Sat, 2007-04-14 at 19:51 +0200, Edin Kadribasic wrote:
> Hello Marcus,
>
> I'm afraid you got it backwards. PHP source does not have to comply
> with XML, or for that matter any other spec. The result of the PHP
> code execution, should the desired output be XML, would of course
> have to be.
>
> So what the XML specification say is irrelevant for this discussion.
> The problem that I was referring to was that PHP will not be able to
> parse XML if you have short_tags enabled.
Actually it's very relevant depending on your intentions. Advanced
WYSIWYG template engines may wish to treat the raw PHP document as an
XML document to manipulate the nodes as with any XML document. Without
an XML compliant markup then this becomes an issue.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'