[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'
Brian Bernstein
report at bugs.python.org
Thu Sep 23 16:54:41 CEST 2010
Brian Bernstein <bernie9998 at gmail.com> added the comment:
Experiencing this issue too. It occurs when an xml element contains a blank xmlns attribute, e.g.:
{{{
<element xmlns=""/>
}}}
When toxml() is called on a minidom document with this attribute, the exception occurs.
I am including a simple script that causes this crash.
----------
nosy: +bernie9998
Added file: http://bugs.python.org/file18975/minidomcrash.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5762>
_______________________________________
More information about the Python-bugs-list
mailing list