[ expat-Bugs-575168 ] Missing events for end-element

noreply@sourceforge.net noreply@sourceforge.net
Fri Jun 28 14:20:03 2002


Bugs item #575168, was opened at 2002-06-28 15:34
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=575168&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Missing events for end-element

Initial Comment:
When the end-element handler is set but not the
start-element handler, the end-element events for end
tags are not reported; events are reported for empty
elements.

I've attached a test case that demonstrates this problem.

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-06-28 17:19

Message:
Logged In: YES 
user_id=3066

I've attached a minimal patch to make Expat generate the
required events.  The attached test passes when this patch
has been applied as well.  The tests of the Python bindings
that originally uncovered this bug also pass with this
change to xmlparse.c.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=575168&group_id=10127