A.M. Kuchling added the comment:
I don't see an 'entity' argument or attribute for TreeBuilder either.
XMLParser has a .entity attribute, though. Perhaps this was simple confusion?
Adrian: please feel free to re-open and provide a patch if there's actually a
bug here.
--
nosy:
Sandro Tosi sandro.t...@gmail.com added the comment:
Hi Adrian,
where do you see the 'entity' argument to class TreeBuilder?
In case I'm just missing in, would be interested in preparing a patch? you seem
to be knowledgeable about the matter, so it would be nice if you can share it
with us.
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: - effbot
nosy: +effbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10605
___
New submission from Adrian Nye adrian_...@yahoo.com:
TreeBuilder doc does not mention its entity argument which is the main way to
deal with html entity encodings which are unfortunately a common problem in XML.
Also the doc needs a discussion of the relationship of TreeBuilder and
XMLParser.