classification
Title: Expat Parser to supply document locator in incremental parse
Type: enhancement Stage:
Components: XML Versions: Python 3.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: loewis Nosy List: gazzadee, loewis
Priority: normal Keywords:

Created on 2005-05-02 06:12 by gazzadee, last changed 2010-06-09 21:20 by terry.reedy.

Messages (1)
msg54519 - (view) Author: GaryD (gazzadee) Date: 2005-05-02 06:12
The standard Expat SAX Parser supplied with Python
(xml.sax.expatreader.ExpatParser) does not set the
document locator (using
ContentHandler.setDocumentLocator) when you are doing
an incremental parse (ie. using feed instead of parse),
although it does supply the locator when you do a full
parse.

Is there a reason why this is so, or is it just an
oversight?
History
Date User Action Args
2010-06-09 21:20:57terry.reedysetpriority: high -> normal
2010-06-09 21:20:21terry.reedysetversions: + Python 3.2, - Python 2.6, Python 2.5
2008-01-04 04:42:57christian.heimessetversions: + Python 2.6, Python 2.5
2005-05-02 06:12:54gazzadeecreate