[issue1343] XMLGenerator: nice elements
Jonathan Hitchcock <[EMAIL PROTECTED]> added the comment: The attached patch makes this new feature optional, by passing the "empty_element_tag" option to the constructor. -- nosy: +vhata Added file: http://bugs.python.org/file10261/xml.sax.saxutils.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1343> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1343] XMLGenerator: nice elements
Jonathan Hitchcock <[EMAIL PROTECTED]> added the comment: I have also added some unit tests to test the feature with the option turned on, and off - patch attached. Added file: http://bugs.python.org/file10262/test.test_sax.py.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1343> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1343] XMLGenerator: nice elements
Jonathan Hitchcock <[EMAIL PROTECTED]> added the comment: Acting on a comment (with which I agree) that the "empty_elements_tag" wasn't such an obvious name, here's a (combined) patch which uses the name "short_empty_elements" (which was my original gut-feeling idea for the name, before I checked the W3C standard and found that they called them "Empty-Elements tags") instead. Added file: http://bugs.python.org/file10264/short_empty_tag.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1343> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com