This Document is not valid.
« on: November 15, 2008, 08:42:33 PM »
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 ]
Re: This Document is not valid.
« Reply #1 on: November 15, 2008, 08:49:01 PM »
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.
Re: This Document is not valid.
« Reply #2 on: November 17, 2008, 01:23:06 PM »
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 ]