Sjoerd Visscher wrote:
> 
> Sam Ruby wrote:
> 
>> Sjoerd Visscher wrote:
>>
>>> Sam Ruby wrote:
>>>
>>>
>>>> Sjoerd, I'd be interested in your comments on this:
>>>>
>>>> http://tinyurl.com/9o6y2
>>>
>>>
>>> The explanation in the documentation[1] is perfect. And it says "As the
>>> current xml:base in effect does not match the URI of the document", but
>>> this is not the case in my feed, so I'm not sure why you report a
>>> warning?
>>
>>
>> URI(doc) = http://www.w3future.com/weblog/rss.xml?notransform
>> xml:base = http://w3future.com/weblog/rss.xml?notransform
> 
> Ah, ok, I missed that. (Just to be sure, you added www yourself, or is
> there a link to the feed somewhere with www in it?)

Your feed is available from both of the URI's mentioned above.  The
tinyurl quoted above is based on passing the first one to the feed
validator.

>>> 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"; />
>>
>> ... which would resolve to http://example.com/blog/.  Is that what we
>> want here?
> 
> The original in your example is
> 
>   <link href="." xml:base="http://example.com/blog/"; />.

Not being quite ready to drop the existing suggestion, I simply added
another.

http://www.feedvalidator.org/docs/warning/SameDocumentReference.html

- Sam Ruby

Reply via email to