Ben Ramsey wrote:
On 3/12/08 12:51 PM, Bill de hOra wrote:
The feedvalidator follows the RNC and marks this construct as an error
<category term='holidays' label='Holidays'>
<link rel='alternate' type='application/atom+xml'
href='https://example.org/dehora/categories/holidays' />
</category>
Why - it would be nice to supply a feed link for a category, and not
do weird things with the scheme/term attributes. And I note that
atom:link has the same restriction in the RNC.
What's wrong with using the scheme attribute to convey this information?
Specifically, I use an AtomPub Category Document for my schemes. This
way, I don't have to use a Feed to represent a listing of categories.
Two things:
1: the scheme attribute is a URI indicating the namespace, not a link.
2: the scheme is arguably not adequate to express something like a
category feed; it does tell you the vocabulary/type of the category
item, but not that there's an alternate/related resource.
Bill