Search the web
Sign In
New User? Sign Up
rss-public
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Namespace Declarations   Message List  
Reply | Forward Message #1317 of 1975 |
One last comment regarding this issue. You can't use a namespace in
RSS without adding a declaration for the namespace, like so:

<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/">
</rss>

The XML in Namespaces specification calls this declaration an attribute:

http://www.w3.org/TR/REC-xml-names/#ns-decl

"A namespace (or more precisely, a namespace binding) is declared
using a family of reserved attributes. Such an attribute's name must
either be xmlns or begin xmlns:. These attributes, like any other XML
attributes, may be provided directly or by default."

So if RSS forbids namespace attributes to core elements, doesn't that
forbid namespace declarations in the RSS element?




Mon May 21, 2007 11:10 pm

rcade
Offline Offline
Send Email Send Email

Forward
Message #1317 of 1975 |
Expand Messages Author Sort by Date

One last comment regarding this issue. You can't use a namespace in RSS without adding a declaration for the namespace, like so: <rss version="2.0" ...
rcade
Offline Send Email
May 21, 2007
11:11 pm

Since namespace declarations are specifically used in the spec, then I'd make the leap that they are specifically allowed. I'd even go a step further and say...
Randy Morin
randymorin
Offline Send Email
May 22, 2007
12:05 am

... More evidence: When namespaces were added to RSS 2.0 in 2002, the following sample file was linked from the spec: ...
rcade
Offline Send Email
May 22, 2007
2:27 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help