XML document must have a top level element
« on: July 01, 2009, 01:53:30 PM »
Hi there
I have a site www.immedia.com.sg
I have generated on-line a sitemap. This came up with the following error:
XML Parsing Error: no element found
Location: http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fwww.xml-sitemaps.com%2Fdownload%2Fwww.immedia.com.sg%2Fsitemap.xml&warnings=on&style=xsl
Line Number 1, Column 1:
I have copied the sitemap.xml to the root of the website.
When testing from your site I get the following error
XML document must have a top level element. Error processing resource 'http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%...

Any ideas why this would happen?
regards Philip
Re: XML document must have a top level element
« Reply #1 on: July 03, 2009, 06:47:02 AM »
Hello,

try to submit your sitemap to Google:
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.
Re: XML document must have a top level element
« Reply #2 on: July 11, 2009, 03:56:00 AM »
I did put it forward to google and the site does come up when searching google.
I guess that is good, however I wonder why I receive errors when running your tool.

Philip
Re: XML document must have a top level element
« Reply #3 on: July 12, 2009, 03:32:14 PM »
Yes, it means that sitemap is fine. Perhaps that was a temporary issue with w3c validator.
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.
Re: XML document must have a top level element
« Reply #4 on: August 03, 2009, 12:48:06 AM »
Today I ran the generator again and it worked without a hitch.
Thanks, Philip