[issue12066] Empty ('') xmlns attribute is not properly handled by xml.dom.minidom

2014-06-24 Thread Ned Deily
Ned Deily added the comment: This problem was fixed in Python 2.7.1 by b71aaf4e7d8d for Issue5762. -- nosy: +ned.deily resolution: - duplicate stage: - resolved status: open - closed superseder: - AttributeError: 'NoneType' object has no attribute 'replace' versions: +Python 2.7

[issue12066] Empty ('') xmlns attribute is not properly handled by xml.dom.minidom

2014-06-23 Thread Mark Lawrence
Mark Lawrence added the comment: This works perfectly for me using 3.4.1. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12066 ___

[issue12066] Empty ('') xmlns attribute is not properly handled by xml.dom.minidom

2011-05-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12066 ___ ___

[issue12066] Empty ('') xmlns attribute is not properly handled by xml.dom.minidom

2011-05-12 Thread Atamurad Hezretkuliyev
New submission from Atamurad Hezretkuliyev atamy...@gmail.com: Parsing test xmlns=''/test with minidom and converting back to string raises an exception. import xml.dom.minidom xml.dom.minidom.parseString(test xmlns=''/test).toxml() Traceback (most recent call last): File stdin, line 1, in