[issue23650] xml.etree.ElementTreee.write can't parse its own output

François-Michel L'Heureux report at bugs.python.org
Thu Mar 12 18:32:05 CET 2015


New submission from François-Michel L'Heureux:

Using TreeBuilder to put data into XML tree.
Convert that tree to a string.
Parse that string.
XML parser error.

I expect XML library to be able to parse its own output.

Reference example: https://github.com/FinchPowers/python_xml_builder_bug/blob/d98b2422d9ecadbee37e2896a5098abf82b1d7a4/python_xml_builder_bug.py

----------
components: XML
files: python_xml_builder_bug.py
messages: 237965
nosy: François-Michel L'Heureux
priority: normal
severity: normal
status: open
title: xml.etree.ElementTreee.write can't parse its own output
versions: Python 2.7
Added file: http://bugs.python.org/file38459/python_xml_builder_bug.py

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


More information about the Python-bugs-list mailing list