Sitemap Problems

I have tried to validate my sitemap page-(2.5) with W3C.

the result is"the DOCTYPE declaration was not recognized or is missing. This probably means that the Formal Public identifier contains a spelling error, or that the Declaration is not using correct syntax, or that your XML is not using a DOCTYPE declaration. Validation of the document has been skipped"

I searched for my sitemap and only on internet explorer I found

-xsi:schemaLocation="" xmlns:xsi="">
On other browsers the above is missing altogether.
Can someone tell me how to fix this
thank you

Actually doctype is not required for xml sitemaps

It is true that it is not"required". However when submitting the link of my sitemap to Bing they return a result "sitemap empty" and "spam". They say they get the same result on all browsers

I have some customers that tell me that they get a "spam" when they try to go onto my website. These are customers using Verizon.

The only browser that shows the declaration (see above) is Internet explorer. Chrome, and all other browsers return a statement that there is no style infomation associated with it.

This is copied from the source of the page on IE


Can a style sheet be added?

Thank you


You can alter sitemap header in this file, check the fn_google_sitemap_get_content function

    $simple_head = <<