Hi there,

Which version of Restlet are you using? The date format issue has already
been fixed for example in latest Restlet 1.1 and 2.0 versions.

Regarding the namespace, I've done a test with Restlet 2.0 and it now uses
the default namespace for Atom. See attached example. 

BTW, I've just added some convenience constructors and new Relation
constants to the Atom extension in SVN trunk (will appear in next snapshot).

Then, I've tested the output with W3C's Atom feed validator and got a
successful result:
http://validator.w3.org/feed/#validate_by_input

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
Noelios Technologies ~ http://www.noelios.com




-----Message d'origine-----
De : [email protected] [mailto:[email protected]] 
Envoyé : vendredi 22 janvier 2010 10:22
À : [email protected]
Objet : Atom validation

Hi,

I've tried running an atom feed generated using Resltet 1.1 through the w3c
validator.

I get errors about the timestamps ( i'm using the Java Date class) not being
RFC3339 compatible.

Also I get an error about the namespace:

      line 3, column 0: Avoid Namespace Prefix: atom [help]

where line 3 is

<atom:feed xmlns:atom="http://www.w3.org/2005/Atom";>

I'm assuming that validation is a problem because some feed aggregators,
e.g. FeedReader, refuse to display the feed, while others e.g. SharpReader
do.

Has anyone had any experience validating feeds created by Restlet?

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24411
19

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2449965

Attachment: AtomTest.java
Description: Binary data

Attachment: FeedServerResource.java
Description: Binary data

Reply via email to