This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Expat Parser to supply document locator in incremental parse
Type: enhancement Stage: needs patch
Components: XML Versions: Python 3.4
process
Status: languishing Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, gazzadee, loewis
Priority: low Keywords:

Created on 2005-05-02 06:12 by gazzadee, last changed 2022-04-11 14:56 by admin.

Messages (2)
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?
msg192742 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-07-09 12:19
Does anybody want to work on a patch?
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 41935
2013-07-09 12:19:36christian.heimessetstatus: open -> languishing
priority: normal -> low

assignee: loewis ->
versions: + Python 3.4, - Python 3.2
nosy: + christian.heimes

messages: + msg192742
stage: needs patch
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