• Welcome to Sitemap Generator Forum.
 

This Document is not valid.

Started by webmaster184, November 15, 2008, 08:42:33 PM

Previous topic - Next topic

webmaster184

I tried to validate my sitemap at [ External links are visible to forum administrators only ] , and am getting the following error.


Line   Column:   1
2   Error:   xsi:schemaLocation attribute within urlset element missed or shows an unallowed value (proper: [ External links are visible to forum administrators only ] [ External links are visible to forum administrators only ])
   Error Position:   <urlset

my sitemap is located at [ External links are visible to forum administrators only ]

webmaster184

I found the problem. xsi:schemaLocation=" adds a line break here.
                                                            so the schema location url starts down here, but should start on the line above, otherwise it will not validate.



It was easy to fix. Just moved the line up, but someone should probably fix this in the coding.

XML-Sitemaps Support

Hello,

you should use official w3c validator for that (also can be checked through our site: https://www.xml-sitemaps.com/validate-xml-sitemap.html ), and the best way is to just submit sitemap to Google to make sure it's parsed correctly:
[ External links are visible to logged in users only ]