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

Francesco Sechi report at bugs.python.org
Sun May 10 17:22:37 CEST 2009


Francesco Sechi <francesco.sechi at iet.unipi.it> added the comment:

I think that the problem is: the xmldoc1 has the newline or not? If it
hasn't your patch works only in the particular case you pass a toxml
return value to 'parsestring'. If I pass an XML string with newlines it
doesn't work. So your solution is not generic and cannot be considered a
patch for the issue you proposed.

----------

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


More information about the Python-bugs-list mailing list