Re: [xml] Incremental output (kinda followup to: streaming output)

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Mon Feb 21 2000 - 06:21:13 EST


On Mon, Feb 21, 2000 at 11:46:17AM +0100, Lutz Behnke wrote:
> Daniel Veillard wrote:
> [..]
>
> For Input I allready use the push interface.
> >
> > On the other hand concerning serialization of the result it seems not too
> > difficult to tweak the buffer code so that it does flushing while being
> > created (and add possible encoding conversion like the parser input).
> > Would an interface accepting a file descriptor or a FILE * suitable ?
> > Or another callback on buffer full interface would be better ?
>
> Personally It would suit me most to be able to supply the buffer to the function
> and then have it return for each time the buffer is full. But a callback

  Hum, I'm afraid I would have too keep too much context in the buffer
structure. Too specialized to be really good.

> with a similar interface registered with the library by the calling app would be
> fine too.

  Seems the best option. How urgent would this be ? I'm still focusing
on more core XML related code right now.
  Providing patches would certainly speed up the process :-)

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:04 EDT