This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Joshua.Biagio
Recipients Joshua.Biagio
Date 2012-09-19.03:46:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348026380.02.0.662051799593.issue15970@psf.upfronthosting.co.za>
In-reply-to
Content
There seems to be a very minor bug in the ElementTree.py file, for the so-called 'empty' elements that are serialized without a closing tag. The HTML_EMPTY tuple/set is used to lookup these tags.

In the Lib/xml/etree/ElementTree.py file, the HTML_EMPTY tuple is created like:

HTML_EMPTY = ("area", "base", "basefont", "br", "col", "frame", "hr",
              "img", "input", "isindex", "link", "meta" "param")

There is a missing comma between "meta" and "param". I'm not sure if this is intended behavior.

The line should be replaced with:

HTML_EMPTY = ("area", "base", "basefont", "br", "col", "frame", "hr",
              "img", "input", "isindex", "link", "meta", "param")
History
Date User Action Args
2012-09-19 03:46:20Joshua.Biagiosetrecipients: + Joshua.Biagio
2012-09-19 03:46:20Joshua.Biagiosetmessageid: <1348026380.02.0.662051799593.issue15970@psf.upfronthosting.co.za>
2012-09-19 03:46:19Joshua.Biagiolinkissue15970 messages
2012-09-19 03:46:18Joshua.Biagiocreate