[AG-DEV] Bajjer-0.2.4's modified ElementTree.py

Douglas Kosovic douglask at itee.uq.edu.au
Tue Feb 14 02:12:31 CST 2006


> That's just gross. We should poke the Berkeley people to consider what 
> should be done.

As an interim solution, I'm just doing a dirty hack in the Bajjer code, 
where 'ns0:" or ":ns0" gets replaced in the XML with the empty string. 
Bajjer seems to work fine now with the system python-elementtree package.

Doug

>> -----Original Message-----
>> From: owner-ag-dev at mcs.anl.gov [mailto:owner-ag-dev at mcs.anl.gov] On 
>> Behalf
>> Of Douglas Kosovic
>> Sent: Sunday, February 12, 2006 8:21 PM
>> To: ag-dev at mcs.anl.gov
>> Subject: [AG-DEV] Bajjer-0.2.4's modified ElementTree.py
>>
>> Hi,
>>
>> Just a warning about the implementation of ElementTree that comes with 
>> Bajjer-0.2.4, it's a modified version, the attached patch indicates the 
>> changes. It seems to strip the ns0 namespace prefix. So Bajjer doesn't 
>> work with a stock ElementTree like the one that comes with Fedora Core 4 
>> or even the one bundled with Python 2.5.
>>
>> Cheers,
>> Doug




More information about the ag-dev mailing list