pombreda / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

Extensions inside entries are poorly parsed #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When entries with extensions are parsed, any attributes of that extension 
element are ignored. 

For instance, this is problematic when parsing in-reply-to elements -- an 
entry with:

<thr:in-reply-to ref="ref" type="application/xhtml+xml" href="rhef"/>

will report:

>>> feed.entries[0].thr_in-reply-to
u''

Additionally, any nesting of elements is flattened and multiple values of 
the same element are not handled well.

Original issue reported on code.google.com by wsoren...@gmail.com on 24 Oct 2009 at 10:35

GoogleCodeExporter commented 9 years ago
This has been fixed as of revision: 
http://code.google.com/p/feedparser/source/detail?
r=296

The attributes from namespaced elements now show up.

Can you file a separate bug, ideally with testcases or example feeds, for the 
situation 
where a namespaced element is repeated or there are nested namespaced elements.

Original comment by adewale on 25 Dec 2009 at 4:16

GoogleCodeExporter commented 9 years ago
Issue 48 has been merged into this issue.

Original comment by adewale on 22 Dec 2010 at 10:47