On Thu, 16 Dec 2004 20:40:27 +0000, Graham <[EMAIL PROTECTED]> wrote:
> On 16 Dec 2004, at 8:12 pm, Danny Ayers wrote:
> 
> > <xx:thing yy:another="elsewhere" />
> >
> > Where would you expect to the semantics of yy:another to be defined?
> 
> In the yy document, though possibly also in the xx document.

Ok, that would be my reading too.

> Un-namespaced attributes are a different thing and a special case. Its
> best to think of them as belonging to a special "namespace:element"
> psuedo-namespace (ie the qname is namespace:element:attr), though
> officially they belong to none at all. 

I accept they're special case, but "best to think of them" doesn't
help much in implementations - according to that SAX trace I posted,
the Yahoo attributes are in the same namespace ('') as the core RSS
2.0 elements.

The RSS 2.0 spec says:
"A RSS feed may contain elements not described on this page, only if
those elements are defined in a namespace."
but is (as far as I can see) silent on attributes, so perhaps the
Yahoo material is perfectly valid, as well as constructs like:

<item number="123">
...

Special case, as I said. It's
> all in that errata document.

Where? I can't find anything that covers this case. 

Cheers,
Danny.




-- 

http://dannyayers.com

Reply via email to