Sitemap.XML Validation

Posted on 2009-02-10
Medium Priority
Last Modified: 2013-12-08
I'm new to web design/construction.  I've spent the last several months building my web site for my new company.  Now, I'm ready to launch.  So I've spent a fair amount of time reading through Google's webmaster conent in an effort to have my site indexed.  In doing so, I decided to build an XML sitemap.  I  uploaded the sitemap - and several days later Google informed me that several of my 49 pages contained  401/407 authentication errors.  Appearently, my sitemap incorrectly listed each page name with a trailing "/" (for example, as www.example.com/Page.html/   instead of www.example.com/Page.html).  So I corrected my Sitemap.XML file and resubmitted it ot Google.  Now, I'm wiating for Google's next move....and waiting.

Out of fear that my second attempt might also be flawed, I decided to look for a SiteMap validator (which you probably thinking would have been a wise move during PRIOR to my first attempt but like I said, Im new to this).  I went to http://www.xml-sitemaps.com/.  I entered my sitemap address - crossed my fingers - and received feedback that I cannot decipher.  The feedback says:

Schema validating with XSV 3.1-1 of 2007/12/11 16:20:05
"      Target: http://www.Thermoporecorp.com/Sitemap.xml 
   (Real name: http://www.Thermoporecorp.com/Sitemap.xml
    Length: 8305 bytes
    Last Modified: Tue, 10 Feb 2009 11:02:54 GMT
    Server: YTS/1.17.9)
"      docElt: {http://www.sitemaps.org/schemas/sitemap/0.9}urlset
"      No declaration for document root found, validation was lax
"      The schema(s) used for schema-validation had no errors
"      No schema-validity problems were found in the target
Low-level XML well-formedness and/or validity processing output
Error: Expected whitespace after public id
 in unnamed entity at line 1 char 55 of http://www.sitemaps.org/schemas/sitemap/0.9/
http://www.sitemaps.org/schemas/sitemap/0.9/ has no elements???
Schema resources involved
Attempt to load a schema document from http://www.sitemaps.org/schemas/sitemap/0.9 (source: docElt) for http://www.sitemaps.org/schemas/sitemap/0.9, failed:

Can you take a look at my XML file and let me know what corrections I should make to the file?

Ken Milam
Question by:rkmilam
LVL 23

Accepted Solution

Tony McCreath earned 2000 total points
ID: 23600882
Your sitemap looks fine.

The validation tool seems to be trying to load the specified namespace as an xml file which it is not, and does not need to be.

I reference the same namespace and my sitemap is accepted by Google


Author Closing Comment

ID: 31544964
Thanks for the quick reply.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question