Why is my sitemap not valid?
« on: August 15, 2012, 09:04:09 PM »
I created my sitemap, then verified it with your verification tool. It says:

XML Validation Results ([ External links are visible to forum administrators only ])

Characer Set   utf-8
Sitemap is valid   NO

and

I have 10001 of these lines:
Missing xmlns attribute for element html. The value should be: [ External links are visible to forum administrators only ]

Don't understand. Appreciate some help, thanks.

liz

Re: Why is my sitemap not valid?
« Reply #2 on: August 16, 2012, 12:03:07 PM »
Thank you for responding!

it's [ External links are visible to forum administrators only ]
Re: Why is my sitemap not valid?
« Reply #3 on: August 18, 2012, 02:12:11 PM »
Hello,

looks like you have html sitemap stored as sitemap.xml, please check that.
Re: Why is my sitemap not valid?
« Reply #4 on: August 18, 2012, 08:08:21 PM »
I had no html file, so I renamed the sitemap.xml to sitemap.html but that did nothing to correct the problem. I noticed when changing it to html it becomes a Firefox html document, but opens with Explorer. Could that be the problem? 

My original files were sitemap.xml, sitemap.xml.gz, sitemap_news, sitemap_video, sitemap_images (which all 3 are xml files) and urllist.txt.gz file. Did not have any sitemap.html file originally.

Liz
Re: Why is my sitemap not valid?
« Reply #6 on: August 20, 2012, 03:51:46 PM »
Sorry, doesn't work - here's what I get

XML Validation Results ([ External links are visible to forum administrators only ])
[ External links are visible to forum administrators only ]

Sorry, I am unable to validate this document because its content type
is application/x-gzip, which is
not currently supported by this service.
Re: Why is my sitemap not valid?
« Reply #7 on: August 21, 2012, 12:53:40 PM »
You need to submit it to google: [ External links are visible to logged in users only ]
Validator doesn't support compressed files.
Re: Why is my sitemap not valid?
« Reply #8 on: August 21, 2012, 01:20:37 PM »
ok, thanks

How do I get an html sitemap?

My original files were sitemap.xml, sitemap.xml.gz, sitemap_news, sitemap_video, sitemap_images (which all 3 are xml files) and urllist.txt.gz file.

Did not have any sitemap.html file originally.
Re: Why is my sitemap not valid?
« Reply #9 on: August 22, 2012, 09:32:02 PM »
Are you using standalone generator script? There is a setting in it to enable HTML sitemap.
Re: Why is my sitemap not valid?
« Reply #10 on: September 17, 2012, 12:21:45 PM »
Dear Admin,

I am able to validate the sitemap but with 2 warnings

Warnings   
Missing "charset" attribute for
"text/xml" document.
No DOCTYPE found! Checking XML syntax only.

Is it necessary to resolve this issue. If yes, how?

Thank you.
Re: Why is my sitemap not valid?
« Reply #11 on: September 18, 2012, 06:11:19 AM »
Hello,

no doctype is used in xml sitemap: [ External links are visible to logged in users only ]

Replied to your PM.