[issue11113] html.entities mapping dicts need updating?

2011-06-14 Thread Hans Peter de Koning
Hans Peter de Koning added the comment: BTW, the HTMLParser module (as well as html.parser in 3.x) does claim to parse both HTML and XHTML, see http://docs.python.org/library/htmlparser.html#module-HTMLParser . -- ___ Python tracker <h

[issue11113] html.entities mapping dicts need updating?

2011-06-14 Thread Hans Peter de Koning
Hans Peter de Koning added the comment: The reason I raised #12329 was that the v2.7.1 documentation in http://docs.python.org/library/htmllib.html#module-htmlentitydefs says: "... The definition provided here contains all the entities defined by XHTML 1.0 ..." The only diff betwe

[issue12329] XHTML entity apos missing in htmlentitydefs

2011-06-13 Thread Hans Peter de Koning
New submission from Hans Peter de Koning : In module htmlentitydefs.py the following XHTML-1 entity is missing from dict name2codepoint: 'apos': 0x0027, # apostrophe, U+0027 ISOnum Above line should be added after line 72: 'ang': 0x2220, # a