Re: [Libxmlplusplus-general] Replacing Tree and Parser with DomParser and SaxParser



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Mardi 12 Novembre 2002 14:04, Murray Cumming a écrit :
> On Tue, 2002-11-12 at 11:03, Christophe de Vienne wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Le Mardi 12 Novembre 2002 10:49, Murray Cumming a écrit :
> > > The Tree seems to be a wrapper for the DOM parser functionality, and
> > > the Parser seems to be a SAX parser.
> >
> > Right
> >
> > > I plan to rearrange this as DomParser
> > > and SaxParser classes.
> >
> > Ok
>
> I have committed the first stage of that, along with an examples
> directory so we can test whether this stuff actually works.

Looks great...
I guess you're going to herit saxparser from parser too ?

Why do you think about adding a "parse_buffer(const str::string &)" method to 
parser ? I think a virtual parse_buffer(const char *) will be necessary too, 
to avoid useless buffer copy when parsing a char * buffer.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj3RB3MACgkQB+sU3TyOQjBFGgCfaTckqEB0qACiPbc/04aI7BWY
Ka8AniuMN+UOFgHaMfs2UvfxiwftE/Us
=m9T4
-----END PGP SIGNATURE-----





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