[XML-SIG] PyXML for py 2.5

"Martin v. Löwis" martin at v.loewis.de
Sun Feb 24 11:05:34 CET 2008


>> If you have an application that is entirely about XML
>> processing, use Java.
> 
> I highly object!
> 
> Performance is one reason:
> http://www.xml.com/pub/a/2007/05/09/xml-parser-benchmarks-part-1.html
> http://www.xml.com/pub/a/2007/05/16/xml-parser-benchmarks-part-2.html
> http://effbot.org/zone/celementtree.htm#benchmarks
> 
> Simplicity is another. Python wins that contest, for XML and most other topics
> you may choose.

Implementation of specifications is another reason. XSLT2, XPath2, 
XQuery? Mapping of Schema definitions to Python classes? XML 1.1?
XML Encryption and Signature? XML Base? Catalogs?

Sure, if your processing needs are simple, the Python implementation
will be simple, and perhaps also reasonably performant. However,
in an application that is all about XML processing, chances are high
that you need a functionality that is not available in the XML library
of your choice, but would be available in Java.

Regards,
Martin



More information about the XML-SIG mailing list