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
Changes by François-Michel L'Heureux fm.lheur...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23650
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
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
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