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>
_______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig