Oct. 19, 2021
4:48 a.m.
ed wolf <bq824@cummins.com> added the comment: Hi Andrew I removed the quotes and still see an issue with the standalone not being added to the xml declaration. I set the command as follows rte_ecu_tree.write(rtexmlFile, encoding="UTF-8", xml_declaration=True, default_namespace=None, method="xml",short_empty_elements=True ) The xml declaration came out as <?xml version='1.0' encoding='UTF-8'?> but should be <?xml version="1.0" encoding="UTF-8" standalone="no"?> standalone did not get added to the declaration. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue45336> _______________________________________