python 2.5 cElementTree entity troubles
Diez B. Roggisch
deets at nospam.web.de
Sun Sep 16 07:17:31 EDT 2007
Stefan Behnel schrieb:
> 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.
I tried to go with explicit cElementTree and elementtree-installations -
same problem....
Could this be a bug in the underlying python-shipped expat parser?
Diez
More information about the Python-list
mailing list