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] [Created] (FEEDPARSER-8) Update Atom support to Atom 1.0
Date Mon, 21 May 2012 16:24:40 GMT
Alexander Kong created FEEDPARSER-8:
---------------------------------------

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


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

        

Mime
View raw message