Re: Feed validator atom bug

On 04/08/2015 04:34 PM, Daniel Bünzli wrote:
> Le mercredi, 8 avril 2015 à 22:26, Sam Ruby a écrit :
>> Do you have a test that fails?
>
> The feed below in direct input validation says that it's valid Atom 1.0.

Relevant portion of RFC 4.2.7.1:

4.2.7.2.  The "rel" Attribute

    atom:link elements MAY have a "rel" attribute that indicates the link
    relation type.  If the "rel" attribute is not present, the link
    element MUST be interpreted as if the link relation type is
    "alternate".

> Best,
>
> Daniel

- Sam Ruby

> <?xml version="1.0" encoding="UTF-8"?>
> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
> <title>log erratique</title>
> <id>urn:uuid:94c92a22-4bbe-4727-8df7-8b2653ad11c7</id>
> <link rel="self" href="http://erratique.ch/log/feed.atom"/>
> <link rel="alternate" href="http://erratique.ch/log"/>
> <icon>http://erratique.ch/images/e-big.png</icon>
> <author><name>Daniel Bünzli</name></author>
> <rights>Copyright © Daniel Bünzli</rights>
> <updated>2015-04-05T00:49:23Z</updated>
> <entry><title>Ideal finger 001</title><link href="http://erratique.ch/log/2015-04-05" /><id>urn:uuid:6fb03739-4ac3-5a9b-b5de-1d22890bbee6</id><updated>2015-04-05T00:49:23Z</updated></entry>
> <entry><title>Volumetric 001</title><link href="http://erratique.ch/log/2014-05-18" /><id>urn:uuid:3badcae3-e1db-546d-9ae3-e7a6f97935e3</id><updated>2014-05-18T15:19:31Z</updated></entry>
> </feed>
>
>
>

Received on Wednesday, 8 April 2015 20:41:38 UTC