Quote Originally Posted by mikice992
the line:
<?xml version="1.0" encoding="UTF-8"?>
needs to be changed to
<?php echo "<?xml version='1.0' encoding='UTF-8' ?>"; ?>
you need to do this because when the PHP parser parses that line, it gets confused and weird things can be sent to the browser.
It's a nice thought, but it's not an issue. If the short_open_tag option is active, an XML prolog will be seen as a parse error. This wouldn't cause "weird things" to be sent to the browser: nothing would be.

As things stand, short_open_tag must be off, and this still remains a problem with the user agent.

Mike