Re: [xml] xmlParseChunk
- From: Daniel Veillard <veillard redhat com>
- To: Dan Ellis <dan isvara net>
- Cc: xml gnome org
- Subject: Re: [xml] xmlParseChunk
- Date: Tue, 4 Sep 2001 23:04:36 -0400
On Tue, Sep 04, 2001 at 10:44:57PM +0100, Dan Ellis wrote:
Playing around with libxml2 for the first time. Perhaps it's just late, or
perhaps I haven't read the docs very well, but it seems to me that, when
using xmlParseChunk, none of the SAX handlers get called until
xmlParseChunk is called with a non-zero value as the last parameter, at
which point they get called for the entire document.
Is it possible to have the handlers called for as much XML as is parsable
every time xmlParseChunk is called?
the parser will get called for at least 80 bytes of input. This
will mean on each network packet (nobody's using ATM, right), it's
an ad-hoc value to represent a line of input. You're the first
suggesting lowering it so far.
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
] [Thread Prev