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.
Created on 2012年09月19日 03:46 by Joshua.Biagio, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg170699 - (view) | Author: Joshua Biagio (Joshua.Biagio) | Date: 2012年09月19日 03:46 | |
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") |
|||
| msg170701 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年09月19日 05:26 | |
New changeset 3498ffd3cdee by Ezio Melotti in branch '2.7': #15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param". http://hg.python.org/cpython/rev/3498ffd3cdee New changeset 17c528cff63f by Ezio Melotti in branch '3.2': #15970: xml.etree.ElementTree now serializes correctly the empty HTML elements "meta" and "param". http://hg.python.org/cpython/rev/17c528cff63f New changeset 19c74cadea95 by Ezio Melotti in branch 'default': #15970: merge with 3.2. http://hg.python.org/cpython/rev/19c74cadea95 |
|||
| msg170702 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2012年09月19日 05:29 | |
Fixed, thanks for the report! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:36 | admin | set | github: 60174 |
| 2012年09月19日 05:29:08 | ezio.melotti | set | status: open -> closed type: behavior assignee: ezio.melotti versions: - Python 2.6, Python 3.1 nosy: + ezio.melotti messages: + msg170702 resolution: fixed stage: resolved |
| 2012年09月19日 05:26:06 | python-dev | set | nosy:
+ python-dev messages: + msg170701 |
| 2012年09月19日 03:46:19 | Joshua.Biagio | create | |