[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

Fredrik Lundh report at bugs.python.org
Wed Jun 24 23:53:38 CEST 2009


Fredrik Lundh <fredrik at effbot.org> added the comment:

For ET, that's very much on purpose.  Validating data provided by every 
single application would kill performance for all of them, even if only a 
small minority would ever try to serialize data that cannot be represented 
in XML.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5166>
_______________________________________


More information about the Python-bugs-list mailing list