Check the php tag at the beginning and make sure it doesn't have any white space at the first line
For Strict XML parser, you need to make sure you only include "hidden" script in your xml parser php file. What I mean is if you have similar things like this:
#incldue_one(another.php)
Make sure in your another.php you didn't have anything like html tags and contexts which will show up in this xml file to make it invalid.