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
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
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12066
___
___
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