Re: updates 2001.06.11

Jonathan Hogg <[email protected]> Mon, 11 Jun 2001 23:28:55 +0100
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
On 11/6/01 22:16, Will Partain wrote:

>Jonathan, another xmlfile.py tweak to cover an *old* PyXML
>(0.5.5.1);

Damn. You got me Will. I didn't have an old installation to try. Just 
trawled through the CVS repository for PyXML and it looks like 
'xml.version_info' didn't appear until version 0.6.0, so it's a fairly 
unreliable indicator of features.

I've taken your code and moved it around a bit to make a bit more sense 
and ditched the version number test. I'm just using exceptions now. So 
it'll try PyXML >= 0.5.6 method, then old PyXML method, then minidom.

:-j


-- 
jonathan hogg, one good idea ltd, 131 queen margaret dr., glasgow g20 8pd
http://www.onegoodidea.com/ tel:+44-(0)7976-614338 fax:+44-(0)7970-537451