This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients tc, xiang.zhang
Date 2015-09-28.06:48:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443422904.72.0.418613836853.issue25253@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is a bug of Python. You should check your own
application to make sure you are parsing the right XML.

I run your code with the old uri and get the same traceback. The
cause is you are using xml parser to parse a html document which
is error prone, since the api is out-of-date and return a html
document.

I don't know what happens about the new api since I have no KEY
and can not do the experiment. But from the api you give,
what you will retrieve is a json. Surly parse it with a xml parse
leads to error and the attribute dom won't be created.
History
Date User Action Args
2015-09-28 06:48:24xiang.zhangsetrecipients: + xiang.zhang, tc
2015-09-28 06:48:24xiang.zhangsetmessageid: <1443422904.72.0.418613836853.issue25253@psf.upfronthosting.co.za>
2015-09-28 06:48:24xiang.zhanglinkissue25253 messages
2015-09-28 06:48:24xiang.zhangcreate