I\'m using xml.dom.minidom to parse xml files, somewhat like this:
import xml.dom.minidom as dom
file= open(\'file.xml\')
doc= dom.parse(file)
# SNIP
doc.un
I am also observing the same issues with minidom! And we are not alone. See for example here.
There it is suggested to use an other XML implementations with python binding like