[georss] GML georss namespace
Knoth, Brian D.
bknoth at mitre.org
Tue Mar 20 11:33:58 EDT 2007
Great, so it seems we agree on the georss application schema - namely,
that it should probably be updated to reflect correct namespace, etc...
I did not mention anything about RSS validation and binding, but since
you've brought it up, I'm curious as to why you think it is a bad idea
and why it would cost someone down the road. I would think that as more
machine processing of RSS occurs (such as Yahoo Pipes), that schema
validation and bindings become more important. Atom has a schema and
that does not seem to have impact on the extensibility of that
syndication language.
brian
-----Original Message-----
From: Peter Borissow [mailto:peter.borissow at yahoo.com]
Sent: Tuesday, March 20, 2007 11:25 AM
To: Gregor J. Rothfuss; Knoth, Brian D.; georss at lists.eogeo.org
Subject: Re: [georss] GML georss namespace
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