[XML-SIG] Request For Clarification on packages

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu, 19 Jul 2001 21:13:34 +0200


>  * xml.sax.expatreader really belongs to xml.sax.drivers2 but is there for
> backwards compatibility. One should preferably use
> xml.sax.drivers2.drv_pyexpat

No. xml.sax.expatreader is official Python API, since it is part of
the standard Python library. One should not need to care about the
module names most of the time, since looking up drivers should be done
through make_parser.

It might be desirable to select a parser not by its name, but by its
feature; such API is currently not available for SAX (it is for DOM).

Regards,
Martin