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

2014-06-23 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 ___ ___ Python-bugs

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

2011-05-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2011-05-12 Thread Atamurad Hezretkuliyev
New submission from Atamurad Hezretkuliyev : Parsing "" with minidom and converting back to string raises an exception. >>> import xml.dom.minidom >>> xml.dom.minidom.parseString("").toxml() Traceback (most recent call last): File "", line 1, in File "/System/Library/Frameworks/Python.fra