[issue28460] Minidom, order of attributes, datachars

2019-04-27 Thread Stefan Behnel


Stefan Behnel  added the comment:

I'll close this as a duplicate of issue 34160.

I'm aware that you also proposed to reduce the text escaping, but it's still 
needed for attribute values. Not sure if it's really worth having two different 
escape functions. Feel free to provide a PR and create a new ticket for this, 
so that we can discuss a specific change proposal. It's not good to discuss 
more than one topic per ticket.

--
nosy: +scoder
superseder:  -> ElementTree not preserving attribute order

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28460] Minidom, order of attributes, datachars

2019-04-27 Thread Stefan Behnel


Change by Stefan Behnel :


--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28460] Minidom, order of attributes, datachars

2016-10-17 Thread Petr Pulc

New submission from Petr Pulc:

Hello,
just an idea for improvement of minidom.

Sometimes it is not convenient that the element attributes are sorted 
alphabetically.

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.

--
components: XML
messages: 278804
nosy: Petr Pulc
priority: normal
severity: normal
status: open
title: Minidom, order of attributes, datachars
type: enhancement
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com