Message237966
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'?>
<top><line>2015-03-12 09:44:54.560 script runner plugin Hello, world</line></top>
Traceback (most recent call last):
File "python_xml_builder_bug.py", line 17, in <module>
ElementTree.fromstring(io.getvalue())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 2, column 35 |
|
Date |
User |
Action |
Args |
2015-03-12 17:36:59 | François-Michel L'Heureux | set | recipients:
+ François-Michel L'Heureux |
2015-03-12 17:36:59 | François-Michel L'Heureux | set | messageid: <1426181819.06.0.38167735026.issue23650@psf.upfronthosting.co.za> |
2015-03-12 17:36:59 | François-Michel L'Heureux | link | issue23650 messages |
2015-03-12 17:36:58 | François-Michel L'Heureux | create | |
|