Re: [xml] How to extend the Reader interface with a dup() function



On Fri, Oct 31, 2003 at 04:58:38PM +0100, Nanning Buitenhuis wrote:
I want to extend the Reader interface with a dup() function.
That is, make a new reader with the same state as the current
reader, so a trial run over the data is possible.

Possible, impossible, or pointers?

  Would require special code in the xmlreader.c . Seems really hard
anyway for example if you feed the data from a socket. So In general
it sounds like too hard to make reliable and it't better to reuse 
the Reader for the same stream again.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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