[issue5752] xml.dom.minidom does not handle newline characters in attribute values

Tomalak report at bugs.python.org
Fri May 8 11:38:11 CEST 2009


Tomalak <M8R-t1tut01 at mailinator.com> added the comment:

Attaching a test file that outlines the problem. Output on my system
(Windows / Python 3.0) is:

Without the patch:
C:\Python30>python.exe c:\minidom_test.py
False
1 -->"multiline
value"
2 -->"multiline value"

With the patch:
C:\Python30>python.exe c:\minidom_test.py
True
1 -->"multiline
value"
2 -->"multiline
value"

----------
Added file: http://bugs.python.org/file13920/toxml_test.py

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


More information about the Python-bugs-list mailing list