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

noreply@sourceforge.net noreply@sourceforge.net
Wed Dec 12 18:49: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: Open
Resolution: None
Priority: 5
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...

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

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