Geo Sitemaps - invalid XML namespace?

138 views
Skip to first unread message

Nick Smith

unread,
May 23, 2008, 5:45:00 AM5/23/08
to KML Developer Support - Advanced Support for KML
Google have announced support for KML feeds in the Sitemaps indexing
protocol in their recent blog entry:

http://googlemapsapi.blogspot.com/2008/05/geo-search-20-data-in-data-out.html

However the XML header they suggest doesn't work:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:geo="http://www.google.com/geo/schemas/sitemap/1.0">

as 'http://www.google.com/geo/schemas/sitemap/1.0' returns a '404 Not
Found' error, so the sitemap is reported as invalid by Google's
Webmaster tools. Is the XML header correct, and they just haven't
added the necessary files to the server yet?

Many thanks

ManoM

unread,
May 24, 2008, 4:00:30 AM5/24/08
to KML Developer Support - Advanced Support for KML
Hi Nick,

At what point are you getting that erro? Namespaces are not URLs,
though they are formed that way. That namespace doesn't point to
anything. This, for instance, is a perfectly valid XML namespace:
"i:hate:namespaces".

Mano

On May 23, 2:45 am, Nick Smith wrote:
> Google have announced support for KML feeds in the Sitemaps indexing
> protocol in their recent blog entry:
>
> http://googlemapsapi.blogspot.com/2008/05/geo-search-20-data-in-data-...

Nick Smith

unread,
May 25, 2008, 6:42:33 AM5/25/08
to KML Developer Support - Advanced Support for KML
Google's sitemap validator can't understand the 'geo' tags because
there aren't any .xsd files at http://www.google.com/geo/schemas/sitemap/1.0
??

You can see this by looking at my sitemap file:
http://climbers.net/sitemap.php

Google Webmaster Tools gives the warning "Invalid XML tag. This tag
was not recognized. Please fix it and resubmit. 'geo' "

Thanks

barryhunter [KML Guru]

unread,
May 26, 2008, 9:03:20 AM5/26/08
to KML Developer Support - Advanced Support for KML
The webmaster tools is not complaining about
http://kml.geograph.org.uk/kml/sitemap.xml

which has recently had the geo extensions added. (it shows the
individual files downloaded yesterday - so its after the entensions
where added last week.

Cant really give more specific advice, have you tried the webmasters
group?

On May 25, 11:42 am, Nick Smith wrote:
> Google's sitemap validator can't understand the 'geo' tags because
> there aren't any .xsd files athttp://www.google.com/geo/schemas/sitemap/1.0

ManoM

unread,
May 26, 2008, 2:08:09 PM5/26/08
to KML Developer Support - Advanced Support for KML
Hi Nick,

Can you post the URL where you're getting this error?

Thanks,
Mano

On May 25, 3:42 am, Nick Smith wrote:
> Google's sitemap validator can't understand the 'geo' tags because
> there aren't any .xsd files athttp://www.google.com/geo/schemas/sitemap/1.0

Nick Smith

unread,
May 27, 2008, 4:52:33 AM5/27/08
to KML Developer Support - Advanced Support for KML
This page in Google Webmaster Tools (Dashboard > Sitemaps > Sitemap
details):
https://www.google.com/webmasters/tools/sitemap?siteUrl=http%3A%2F%2Fclimbers.net%2F&sitemapUrl=http%3A%2F%2Fclimbers.net%2Fsitemap.php&hl=en

I don't know how helpful that will be to you, since it is inside my
Google account. However, if you add the sitemap file http://climbers.net/sitemap.php
to a test account, you should get the same error.

Many thanks

barryhunter [KML Guru]

unread,
May 27, 2008, 8:22:13 AM5/27/08
to KML Developer Support - Advanced Support for KML
You do have a lot of namespaces and urls in your <urlset, perhaps the
extra stuff is confusing their XML parser (which shouldnt need schemas
anyway)

On May 27, 9:52 am, Nick Smith wrote:
> This page in Google Webmaster Tools (Dashboard > Sitemaps > Sitemap
> details):https://www.google.com/webmasters/tools/sitemap?siteUrl=http%3A%2F%2F...
>
> I don't know how helpful that will be to you, since it is inside my
> Google account. However, if you add the sitemap filehttp://climbers.net/sitemap.php

Nick Smith

unread,
May 28, 2008, 3:14:01 AM5/28/08
to KML Developer Support - Advanced Support for KML
On May 27, 1:22 pm, barryhunter [KML Guru] wrote:
> You do have a lot of namespaces and urls in your <urlset, perhaps the
> extra stuff is confusing their XML parser (which shouldnt need schemas
> anyway)

Thanks, I've now tried that, and I'm still getting the same error - it
just doesn't seem to know about the <geo:> tags!

ManoM

unread,
May 28, 2008, 9:08:31 AM5/28/08
to KML Developer Support - Advanced Support for KML
Try it with just the xmlns attributes.

Mano

barryhunter [KML Guru]

unread,
May 28, 2008, 9:16:06 AM5/28/08
to KML Developer Support - Advanced Support for KML
Do you know that googlebot has downloaded your latest version - the
date is shown in the panel.

As I say I have sitemaps with the geo tags with no complaints from
googlebot - the tools pages shows its downloaded them since the change
on the 24th (actully only two days before my last post!) on the 26th.
It took two days from resubmitting the sitemap until the googlebot
actully downloaded them...

Nick Smith

unread,
Jun 2, 2008, 7:00:05 AM6/2/08
to KML Developer Support - Advanced Support for KML
On May 28, 2:16 pm, barryhunter [KML Guru] wrote:
> Do you know that googlebot has downloaded your latest version - the
> date is shown in the panel.

Yes - I waited until it had reported downloading the latest version
and parsing it. It is still giving the same error. What is wrong with
this urlset ?
Thanks
Reply all
Reply to author
Forward
0 new messages