python 2.5 cElementTree entity troubles

Stefan Behnel stefan.behnel-n05pAM at web.de
Sat Sep 15 17:05:57 CEST 2007


Stefan Behnel wrote:
> Diez B. Roggisch wrote:
>> Any suggestions on how to teach the built-in ET-parser entities?
> 
> As you already do it in your code.
> 
> http://effbot.org/elementtree/elementtree-xmlparser.htm#tag-ET.XMLParser.entity

Hmmm, I never needed this, but the test doesn't work for me either (with ET
1.3, Python 2.5.1). ET's parser uses the generic expat callback for entities,
but it doesn't seem to get called for entities on my side... Looks like
something's broken there.

Stefan



More information about the Python-list mailing list