Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expat Parser to supply document locator in incremental parse #41935

Open
gazzadee mannequin opened this issue May 2, 2005 · 3 comments
Open

Expat Parser to supply document locator in incremental parse #41935

gazzadee mannequin opened this issue May 2, 2005 · 3 comments
Labels
extension-modules C modules in the Modules dir topic-XML type-feature A feature request or enhancement

Comments

@gazzadee
Copy link
Mannequin

gazzadee mannequin commented May 2, 2005

BPO 1193610
Nosy @loewis, @tiran

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2005-05-02.06:12:54.000>
labels = ['expert-XML', 'type-feature']
title = 'Expat Parser to supply document locator in incremental parse'
updated_at = <Date 2013-07-09.12:19:36.620>
user = 'https://bugs.python.org/gazzadee'

bugs.python.org fields:

activity = <Date 2013-07-09.12:19:36.620>
actor = 'christian.heimes'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['XML']
creation = <Date 2005-05-02.06:12:54.000>
creator = 'gazzadee'
dependencies = []
files = []
hgrepos = []
issue_num = 1193610
keywords = []
message_count = 2.0
messages = ['54519', '192742']
nosy_count = 3.0
nosy_names = ['loewis', 'gazzadee', 'christian.heimes']
pr_nums = []
priority = 'low'
resolution = None
stage = 'needs patch'
status = 'languishing'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1193610'
versions = ['Python 3.4']

@gazzadee
Copy link
Mannequin Author

gazzadee mannequin commented May 2, 2005

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?

@gazzadee gazzadee mannequin assigned loewis May 2, 2005
@gazzadee gazzadee mannequin added topic-XML type-feature A feature request or enhancement labels May 2, 2005
@tiran
Copy link
Member

tiran commented Jul 9, 2013

Does anybody want to work on a patch?

@tiran tiran added the stale Stale PR or inactive for long period of time. label Jul 9, 2013
@tiran tiran unassigned loewis Jul 9, 2013
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
@srinivasreddy
Copy link
Contributor

@tiran Can i work on a patch?

@picnixz picnixz added the extension-modules C modules in the Modules dir label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir topic-XML type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants