[ expat-Bugs-492321 ] Corruption of parse data when chunked

noreply@sourceforge.net noreply@sourceforge.net
Thu Dec 13 17:25:02 2001


Bugs item #492321, was opened at 2001-12-12 18:48
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=492321&group_id=10127

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 8
Submitted By: Thorsten Lockert (tholo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Corruption of parse data when chunked

Initial Comment:
If you use expat to parse-as-you-go on data received 
in varying size blocks (and not neccecarily equal-
sized blocks), there appears to be somewhat random 
corruption of the parse state.

This is most noticeable if you call XML_Parse on 
blocks of data as you receive them on a socket, but 
can also be emulated by calling XML_Parse on randomly 
sized chunks of an XML text.

I have not yet tried to track it down to whether it 
only happens with certain block sizes...

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

>Comment By: Thorsten Lockert (tholo)
Date: 2001-12-13 17:24

Message:
Logged In: YES 
user_id=153389

Pilot error -- the character handler was not set up to 
handle multiple calls per section of data...

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

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