[issue17088] ElementTree incorrectly refuses to write attributes without namespaces when default_namespace is used

Wim report at bugs.python.org
Thu Dec 5 09:29:34 CET 2013


Wim added the comment:

I have run into this a few times although it is only recently that I've convinced myself I understood the XML namespace spec well enough to know what the right behavior was. (I came to the same interpretation as silverbacknet.)

I have attached a patch which I believe fixes (and tests) the problem.

----------
keywords: +patch
nosy: +wiml
Added file: http://bugs.python.org/file32981/bug17088_1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17088>
_______________________________________


More information about the Python-bugs-list mailing list