#37 problem with namespaces in the parser

open
nobody
None
5
2008-10-05
2008-10-05
Aurelien Bompard
No

I discovered a bug in version 0.72 trying to parse the feed from http://feedproxy.google.com/ICanHasCheezburger : when parsing this type of xml :
<media:content> <media:title>blahblah</media:title> </media:content>
MagpieRSS tries to affect " " to the "content" element instead of the "media:content" element. As a result, the "content" array is overwritten and "content:encoded" is not available any more.

After lots of trial-and-error, the attached patch fixes it.
Can you make sure it is correct ?

Thanks

Discussion