Sitemap.XML Validation

Posted on 2009-02-10
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   instead of  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  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:
   (Real name:
    Length: 8305 bytes
    Last Modified: Tue, 10 Feb 2009 11:02:54 GMT
    Server: YTS/1.17.9)
"      docElt: {}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 has no elements???
Schema resources involved
Attempt to load a schema document from (source: docElt) for, 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

    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

    Thanks for the quick reply.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    A/B testing is a simple and effective trick to get to know your audience, increase website conversions and make the most out of your online ad campaigns. It's widely available and doesn't need much tech knowledge to be executed, but the results it y…
    Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to count occurrences of each item in an array.

    758 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now