New submission from Petr Pulc:
just an idea for improvement of minidom.
Sometimes it is not convenient that the element attributes are sorted
Usually, users do hack the minidom file themselves to force some behaviour, yet
the order can be quite nicely defined by the DTD, for example.
More on the "issue" side is another idea for improvement. Not all special
characters do need to be changed to entities. For example, only < needs to be
changed to entity in text data. I guess, that the _write_data function could be
then diminished as well...
What do you mean of these two ideas? Comments will be appreciated.
nosy: Petr Pulc
title: Minidom, order of attributes, datachars
versions: Python 3.7
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list