Re: [xml] xmlParseChunk



On Tue, 4 Sep 2001, Daniel Veillard wrote:

  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.

The reason I ask is because it would be nice (in a situation where you
know there will be nothing after the closing root element) to have the
parsing stop in response to the end of the document. That way, when
sending XML-based requests over a network there'd be no need to include a
header just to specify the length of the document.

Of course, if you know a better way of achieving the same end, that'd be
good too.

Dan.

-- 
Dan Ellis <dan isvara net>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]