blob: ac31baa26e1d3c94895d8932cf2b535d4808d75c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
"""
SAX driver for the Pyexpat C module, based on xml.sax.expatdriver.
$Id: drv_pyexpat.py,v 1.6 2000/09/26 19:53:43 loewis Exp $
"""
# XXX: todo list of old drv_pyexpat.py, check whether any of these
# have been fixed.
# Todo on driver:
# - make it support external entities (wait for pyexpat.c)
# - enable configuration between reset() and feed() calls
# - support lexical events?
# - proper inputsource handling
# - properties and features
# Todo on pyexpat.c:
# - support XML_ExternalEntityParserCreate
# - exceptions in callouts from pyexpat to python code lose position info
from xml.sax.expatreader import create_parser
|