[XML-SIG] Fastest SAX parser in PyXML

Lars Marius Garshol larsga at garshol.priv.no
Wed Sep 24 10:00:14 EDT 2003

* Lars Marius Garshol
| In that case you want to use expat.

* Daniel Veillard
| That could be challenged :-)

Admittedly it could. I'd forgotten about libxml2. :)

The benefit of using SAX over using one of the raw parser APIs is that
you can switch parser to whichever is fastest at any given time
without having to change your code.

IMHO xml.parsers.expat shouldn't exist, and there should only be a SAX
driver for expat implemented in C. I guess what we're lacking is the
manpower to do that.

Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50                  <URL: http://www.garshol.priv.no >

More information about the XML-SIG mailing list