[ python-Feature Requests-1193610 ] Expat Parser to supply document locator in incremental parse

SourceForge.net noreply at sourceforge.net
Mon May 30 10:38:00 CEST 2005


Feature Requests item #1193610, was opened at 2005-05-02 08:12
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1193610&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XML
Group: None
Status: Open
Resolution: None
>Priority: 6
Submitted By: GaryD (gazzadee)
>Assigned to: Martin v. Löwis (loewis)
Summary: Expat Parser to supply document locator in incremental parse

Initial Comment:
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?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1193610&group_id=5470


More information about the Python-bugs-list mailing list