You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alexander Kong (JIRA)" <ji...@apache.org> on 2012/05/21 18:24:40 UTC
[jira] [Updated] (FEEDPARSER-8) Update Atom support to Atom 1.0
[ https://issues.apache.org/jira/browse/FEEDPARSER-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Kong updated FEEDPARSER-8:
------------------------------------
Attachment: feedparser.patch
> Update Atom support to Atom 1.0
> -------------------------------
>
> Key: FEEDPARSER-8
> URL: https://issues.apache.org/jira/browse/FEEDPARSER-8
> Project: Commons FeedParser
> Issue Type: Improvement
> Reporter: Alexander Kong
> Attachments: feedparser.patch
>
>
> most atom feeds use atom 1.0 so an update of the namespace would be helpful.
> Index: src/java/org/apache/commons/feedparser/NS.java
> ===================================================================
> --- src/java/org/apache/commons/feedparser/NS.java (revision 1341046)
> +++ src/java/org/apache/commons/feedparser/NS.java (working copy)
> @@ -70,7 +70,7 @@
> Namespace.getNamespace( "xhtml", "http://www.w3.org/1999/xhtml" );
>
> public static final Namespace ATOM =
> - Namespace.getNamespace( "atom", "http://purl.org/atom/ns#" );
> + Namespace.getNamespace( "atom", "http://www.w3.org/2005/Atom" );
>
> public static final Namespace WFW =
> Namespace.getNamespace( "wfw", "http://wellformedweb.org/CommentAPI/" );
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira