commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FEEDPARSER-8) Update Atom support to Atom 1.0
Date Mon, 21 May 2012 16:26:43 GMT

     [ https://issues.apache.org/jira/browse/FEEDPARSER-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Kong updated FEEDPARSER-8:
------------------------------------

    Description: 
most atom feeds use atom 1.0 so an update of the namespace to "http://www.w3.org/2005/Atom"
would be helpful. 


  was:
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/" );

    
> 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 to "http://www.w3.org/2005/Atom"
would be helpful. 

--
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

        

Mime
View raw message