[XML-SIG] Re: Bug in ElementTree (or in my xml file )?

Fredrik Lundh fredrik at pythonware.com
Sun Apr 17 19:51:25 CEST 2005


Bruno wrote:

> I have a strange bug in an xml file. I try to parse it with the following
> script:

> The file is here:

your script and your XML looks fine, and runs just fine on my machine, but the
exception looks a bit strange:

> I get the following error:
>
> Traceback (most recent call last):
>  File "C:\Python23\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
> line 310, in RunScript
>     exec codeObject in __main__.__dict__
>  File "C:\Test0\FineReader\FixXml.py", line 7, in ?
>     text += gettext(e)

what's FixXml?  that's not a part of (c)ElementTree, and shouldn't be
invoked by your test script.

</F>



More information about the XML-SIG mailing list