Fix an issue where the XML doc was being parsed as HTML.