Just once I’d like a Monday to start off with something that doesn’t look like this:
An error occured while Parsing an XML document.
Content is not allowed in prolog.
Update: The XML file had been corrupted on uploading it to the production server. Uploading a zip file and extracting it on the server solved the problem. Also added trim() to make sure there was no extraneous whitespace.