On 12/29/10 6:16 PM, Niklas Gustavsson wrote:
On Wed, Dec 29, 2010 at 4:42 PM, Emmanuel Lecharny<elecha...@gmail.com>  wrote:
Just wondering, as it one of the reason Vysper joined MINA three years ago -
remember when we were at Amsterdam and I asked you if Vysper, then a Labs
project, was supporting XML fragmentation ? -, is this XML parser support
being interrupted just in the middle of a tag if we haven't received the
full bytes, and if it's able to start again when the remaining bytes are
there ?
Yes, it will kick off SAX parser events as things comes in. Either as
a streaming document as in XMPP or as standalone documents.

But will the sax parser just returns in an intermediate state when no more bytes are available, instead of blocking ?

For instance, and to be sure I'm clear enough, the first buffer comes with :

"<firstT"

then the second buffer arrives with :

"ag>some da"

and the third buffer :
"ta</firstTag>"

Will it be handle fine without being blocked ?


Just to be sure...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to