XML Module problems

Sean Mc Grath sean at digitome.com
Fri Mar 9 16:10:56 EST 2001


(Tim Rowe)
>
>So it does! I only noticed that Pyxie (the DOS version on Sean McGrath's 
>book, not the rpm) broke because:
>
>a. It couldn't find pyexpat (though evidently xml/parsers/expat.py 
>manages) and
>
>b. When I changed pyxie to point to xml.parsers.expat, it found that the 
>attribute list was a dictionary, not a list.
>
>The version on the Pyxie site worked, though, and it's rather too 
>important for me at the moment for me to re-install the broken version to 
>investigate further!

Yes. The original pyexpat used a list for attributes on the start
element handler. A later version of pyexpat changed to a dictionary.
The code on http://www.pyxie.org was changed to worth with both
flavours of pyexpat.

Sean




More information about the Python-list mailing list