[georss] GML georss namespace

Peter Borissow peter.borissow at yahoo.com
Tue Mar 20 11:25:13 EDT 2007


I agree that the schema needs to be updated to support xml validation and xml binding (via .NET, JAXB, XMLBeans, etc.)

However, I agree with Gregor - schema bindings and validation for rss is a bad idea - it's going to cost you down the road...

If you need a Java-based parser check out http://www.kartographia.com/geoRSS/ 

It's DOM based and is very loosely bound to the underlying schemas (GeoRSS, GML, Atom, and RSS).

Peter






----- Original Message ----
From: Gregor J. Rothfuss <gregor at apache.org>
To: "Knoth, Brian D." <bknoth at mitre.org>; georss at lists.eogeo.org
Sent: Tuesday, March 20, 2007 7:49:23 AM
Subject: Re: [georss] GML georss namespace


Knoth, Brian D. wrote:
> According to the current GML georss application profile here:
> [http://www.georss.org/xml/1.0/georss.xsd]the target namespace for the
> georss schema is "http://www.georss.org/georss/10";, however, every
> example I have seen and code we have written uses the namespace
> "http://www.georss.org/georss";. These instances do not validate against
> the application schema, so I'm wondering what gives? 

good catch. i have never seen /10 in the wild, so it is safe to say that 
the schema is wrong. while it would have been a good idea to version the 
xmlns, that ship has sailed.

> Which is the real namespace that should be used and are most clients of
> georss validating against the application schema?

i very much doubt it. one of the highest quality parsers on any language 
is called ultra liberal feed parser in recognition of the sorry state of 
most rss feeds out there.

http://feedparser.org/

in light of that, i don't think xsd validation is a viable strategy, sadly.

-gregor
_______________________________________________
georss mailing list
georss at lists.eogeo.org
http://lists.eogeo.org/mailman/listinfo/georss


 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 



More information about the georss mailing list