XML Sitemaps Generator

Author Topic: This Document is not valid.  (Read 15137 times)

webmaster184

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
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 admins 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 admins only] [external links are visible to admins only])
    Error Position:   <urlset

my sitemap is located at [external links are visible to admins only]

webmaster184

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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: http://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:
https://www.google.com/webmasters/tools/dashboard
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2