Re: Re: RSS : a "namespace" in itself ?

Phil Ringnalda <[email protected]> Thu, 5 Feb 2009 13:24:06 -0800
Newsgroups gmane.network.syndication.rss.support
Message-ID <[email protected]>
On Wed, Feb 4, 2009 at 9:20 PM, James Holderness <[email protected]> wrote:
> Results now up on my blog:
> http://www.xn--8ws00zhy3a.com/blog/2009/02/a-namespace-for-rss

I suspect many of those results need to be considered with care: the
two I know about are Firefox, which for reasons beyond the ken of
mortal man considers anything in any namespace for which
.indexOf("http://backend.userland.com") == 0 to be RSS (or more
strictly, considers it to not be in any namespace when translating
from {uri}element to its internal table of known prefix:element
things, so that {http://backend.userland.com/catsAreFurry}title is a
generic title-thing with the generic lumped handling of all various
RSS titles), and Thunderbird, which we desperately hope will be using
the same parser as Firefox for 3.0, but which currently considers the
namespace URI for anything thrown at it to be the namespace URI of the
first element with the localname "channel", so it will happily parse
"RSS" in the http://example.com/goats namespace, unless you have a
{http://backend.userland.com/rss2}channel or
{http://example.com/foopy}channel or {}channel coming first in the
document, in which case it will ignore later elements in any other or
no namespace (that horrible-sounding behavior looks to be an
accommodation to support a single parser for both 0.91+ and 0.90
without having to explicitly check whether the first channel is in the
0.90 namespace or in no namespace, rather than an attempt to support
any particular 2.0+ namespaces).


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rss-public/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/rss-public/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/