I have an issue with my Google Product Feed where I am getting two warnings when using the W3 XML validator. The two warnings are:
Warning Missing "charset" attribute for "text/xml" document.
Warning No DOCTYPE found! Checking XML syntax only.
This is the top two lines of my XML file:
I added the charset to the rss tag in an effort to clear the warnings. I passed the validation, but I think I need to clear these warnings for Google to accept the feed.
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0" charset="UTF-8">