I submitted a sitemap to Google and I got this error.
Incorrect namespace
Your Sitemap or Sitemap index file doesn’t properly declare the namespace. Expected: http://www.google.com/schemas/sitemap-image/1.1 Found: http://www.sitemaps.org/schemas/sitemap-image/1.1
I thought that sitemaps.org was okay. I took it from Google’s example:
What am I doing wrong? Any ideas?
Have you tried replacing
with
since that seem to be problem?
If you have and that didn’t help, can you post your sitemap here? Include just a few url tags.
Update: This page may be of use: http://www.sitemaps.org/protocol.php. It’s where I started when I wrote my first sitemap.
Another thought: In case you don’t link directly to images or videos but only to html pages or php pages, you probably can remove
and
I’m not using that code in my sitemap, and it works as it should.