[Python-ideas] XMLGenerator: <empty/> instead of <empty></empty>

Brett Cannon brett at python.org
Mon Oct 22 23:07:45 CEST 2007


Create an issue at http://bugs.python.org/ .

-Brett

On 10/22/07, Mathias Panzenböck <grosser.meister.morti at gmx.net> wrote:
> 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
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>


More information about the Python-ideas mailing list