Bug 82069

Summary: Bundled librss Not Namespace-Aware
Product: [Applications] akregator Reporter: Jared Warren <warren>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 1.0-beta1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Test Case

Description Jared Warren 2004-05-23 19:18:41 UTC
Version:           1.0-beta1 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.3.3 (Debian 20040401) 
OS:                Linux

The librss bundled with aKregator cannot parse feeds where RSS 1.0 has a namespace other than default. A feed like the following will be empty:

<rdf:RDF xmlns:rss="http://purl.org/rss/1.0/">
  <rss:channel>...</rss:channel>
  <rss:item>...</rss:item>
</rdf:RDF>

If RSS has both a qualified and default namespace, only the elements using the default namespace will be parsed. The same bug is not evident in Kontact (Debian/3.2.2-2) using dcoprss (Debian/3.2.2-1) and librss1 (Debian/3.2.2-1), so please feel free to regard this bug as encouragement to switch to a dynamic copy of librss as soon as possible.
Comment 1 Sashmit Bhaduri 2004-05-24 02:31:21 UTC
Do you have an example of an online feed?
Comment 2 Jared Warren 2004-05-24 18:15:01 UTC
Created attachment 6100 [details]
Test Case

Also available at http://s87423270.onlinehome.us/feeds/82069.rdf
Comment 3 George Staikos 2004-12-02 05:28:20 UTC
testcase works fine in HEAD as far as I can see.