[Tutor] xml.etree.ElementTree.parse() against a XMLShema file

Karim karim.liateni at free.fr
Wed Dec 22 23:13:00 CET 2010


On 12/22/2010 10:32 PM, Stefan Behnel wrote:
> Karim, 22.12.2010 22:09:
>> Using lxml (except for the different import) will be fully compliant 
>> with
>> the ET code.
>> Do I have to adapt it?
>
> There are certain differences.
>
> http://codespeak.net/lxml/compatibility.html
>
> This page hasn't been changed for ages, but it should still be mostly 
> accurate.
>

I will have a look. Anyway, I must delivered my current version.
I got 300 lines of codes which should be easily translated for
the improved future version.

>> I saw your fantastic benchmarks! Why the hell lxml is not integrated 
>> into
>> the stdlib.
>> I thought they put in it things which works at best for python 
>> interest ?
>
> I proposed it but it was rejected with the argument that it's a huge 
> dependency and brings in two large C libraries that will be hard to 
> control for future long-term maintenance. I think that's a reasonable 
> objection.
>

One can never says never...
They will reconsider it I think.

Thanks for your support!
Regards
Karim



More information about the Tutor mailing list