So, I looked more closely at the error from FF. It seems that there is a white space before the opening declaration.
<?xml version="1.0" encoding="UTF-8"?>
^
If I save the page source and remove the space, then reopen it in FF, no error! The problem is I can't seem to find were in the sitemap code this space is being introduced? The root sitemap.xml doesn't have this issue...
I looked at the function _SitemapXMLHeader() in the sitemapxml.php class where the first lines are:
PHP Code:
function _SitemapXMLHeader() {
$header = '';
$header .= '<?xml version="1.0" encoding="UTF-8"?'.'>' . "\n";
No white space here, but some how when the $header is returned and sent back to the browser, there is a space???
What do you think?

Bookmarks