XMLGenerator: <empty/> instead of <empty></empty>

Oct. 22, 2007
4:48 p.m.
Hi. I modified xml.sax.saxutils.XMLGenerator, _xmlplus.sax.saxutils.XMLGenerator, and _xmlplus.sax.saxutils.LexicalXMLGenerator so that they do no longer produce those ugly close tags for empty elements, but use the short version. So instead of <empty></empty> you get just <empty/>. :) I used the version of saxutils.py that is shipped with python 2.5.1. Where do I send such patches to? Download here: http://twoday.tuwien.ac.at/pub/files/python-xml-sax-saxutils (ZIP, 10 KB) -panzi

October 2007
5:07 p.m.
Create an issue at http://bugs.python.org/ . -Brett On 10/22/07, Mathias Panzenböck <grosser.meister.morti@gmx.net> wrote:

October 2007
9:07 p.m.
Create an issue at http://bugs.python.org/ . -Brett On 10/22/07, Mathias Panzenböck <grosser.meister.morti@gmx.net> wrote:
6335
Age (days ago)
6335
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brett Cannon
-
Mathias Panzenböck