I have a sample Atom feed like this:
<?xml version='1.0' encoding='utf-8'?>
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:foo='http ://
app.example.com/app/2007'>
<id>http://app.example.com/fjie4id939xdl3i o23</id>
<title type='text'>foo </title>
<author>
<name>bar</name>
<email>foo@foo. com</email>
</author>
<updated>2007-04-09T22:14:15.000 Z</updated>
<link rel='http://app.example.com/#event' type='applicati on/atom
+xml' href='http://www.foo.com/app/feeds/#app1'></link>
<foo:timezone value='America/Mountain'></foo:timezone>
<foo:status value='confirme d'></foo:status>
</feed>
After parsed by feedparser, the timezone element does not get the
attribute "America/Mountain". Same thing on status element. This does
not sound an expected result. I am wondering if it should be
considered a bug...
<?xml version='1.0' encoding='utf-8'?>
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:foo='http ://
app.example.com/app/2007'>
<id>http://app.example.com/fjie4id939xdl3i o23</id>
<title type='text'>foo </title>
<author>
<name>bar</name>
<email>foo@foo. com</email>
</author>
<updated>2007-04-09T22:14:15.000 Z</updated>
<link rel='http://app.example.com/#event' type='applicati on/atom
+xml' href='http://www.foo.com/app/feeds/#app1'></link>
<foo:timezone value='America/Mountain'></foo:timezone>
<foo:status value='confirme d'></foo:status>
</feed>
After parsed by feedparser, the timezone element does not get the
attribute "America/Mountain". Same thing on status element. This does
not sound an expected result. I am wondering if it should be
considered a bug...
Comment