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

2015-03-12 Thread François-Michel L'Heureux
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

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

2015-03-12 Thread François-Michel L'Heureux
Changes by François-Michel L'Heureux fm.lheur...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23650

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

2015-03-12 Thread François-Michel L'Heureux
François-Michel L'Heureux added the comment: Note that you cannot copy paste the code and expect to reproduce the issue because it contains special characters that cannot be copy pasted via a web browser. Here is the output when run. ?xml version='1.0' encoding='utf-8'? topline2015-03-12 09

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

2015-03-12 Thread François-Michel L'Heureux
François-Michel L'Heureux added the comment: Updated file where copy/pasting works. -- Added file: http://bugs.python.org/file38460/python_xml_builder_bug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23650

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

2015-03-12 Thread François-Michel L'Heureux
Changes by François-Michel L'Heureux fm.lheur...@gmail.com: Removed file: http://bugs.python.org/file38459/python_xml_builder_bug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23650