[issue45336] xml.tree.ElementTree.write does not support `standalone` option

2021-10-19 Thread ed wolf
ed wolf added the comment: Will ElementTree.write be updated to correct this issue? -- ___ Python tracker <https://bugs.python.org/issue45336> ___ ___ Python-bug

[issue45336] Issue with xml.tree.ElementTree.write

2021-10-19 Thread ed wolf
ed wolf 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, m

[issue45336] Issue with xml.tree.ElementTree.write

2021-09-30 Thread ed wolf
New submission from ed wolf : When executing the following command after modifiy an xml file an error is prodcued. import xml.etree.ElementTree as ET rtexmlFile = 'Fox_CM3550A_SWP1_Rte_ecuc.arxml' rte_ecu_tree = ET.parse(rtexmlFile) root = rte_ecu_tree.getroot() rte_ecu_tree.write(