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. | `------------------------------------------------------------' -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php