Re: [Libxmlplusplus-general] sax_parser



On Samedi 16 Novembre 2002 16:29, Murray Cumming wrote:
> On Sat, 2002-11-16 at 16:02, Christophe de Vienne wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi murray,
> >
> > I just reimplemented parse and parse_memory in sax_parser without the use
> > of xmlParseChunc. The example now works.
>
> So we have lost the ability to use push mode? I don't mind personally.

True, I did not realised when doing it.
After reading the documentation, my conclusion is that, as you said this week, 
we don't need it for parsing memory or a file, especially if we need to dump 
the whole file in memory before parsing it...
However we could have a SaxPushParser class, which implement only a 
parse_chunk(string) method instead of parse_file and parse_memory.

Cheers,

Christophe





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