Re: [xml] reading data chunk by chunk
- From: Noam Postavsky <npostavs users sourceforge net>
- To: Mircea Gliga <mgliga integrasoft ro>
- Cc: xml gnome org
- Subject: Re: [xml] reading data chunk by chunk
- Date: Thu, 14 Apr 2011 20:23:29 -0400
Mircea Gliga <mgliga integrasoft ro> writes:
Thanks for the response.
I've updated the code, I'm using xmlReaderForIO() with an IO read function.
When some data is received on the network, my function parse() is called, with
the data buffer and size.
Actually I think my suggestion was wrong: because of the way your
program is structured you want a push parse not a pull parser, so you
should use xmlCreatePushParserCtxt() and xmlParseChunk() instead of the
xmlReader functions.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]