A. Pagaltzis wrote:
* Sjoerd Visscher <[EMAIL PROTECTED]> [2005-08-21 13:40]:

Regarding the solution, my first suggestion would be to change
the xml:base to reference the atom document, e.g.:

 <link href="." xml:base="http://example.com/blog/feed.atom"; />

This is also more consistent with the explanation.


Except it’s a @rel='self' link, so you really do want it to
resolve to <http://example.com/blog/feed.atom>.

This was about the link in the solution in
http://www.feedvalidator.org/docs/warning/SameDocumentReference.html
which is not a self link.

In fact, I’ve been wondering whether atom:feed/@xml:base doesn’t
obsolete the purpose of atom:[EMAIL PROTECTED]'self'], so that the
former should have been the SHOULD that the latter is, and the
latter not invented at all. It would seem that this notion would
also be less controversial when backported to RSS2, as opposed to
the item of including an atom:link in an RSS2 feed.

Not only does is port well to RSS2, it ports well to every single xml document. I think it is good practice, as it makes the infoset of the document context independent.

--
Sjoerd Visscher
http://w3future.com/weblog/

Reply via email to