Re: [Re: [libxml++] wrapper for the xmlreader interface]



Jonathan Wakely <cow compsoc man ac uk> wrote:
> On Sat, Feb 15, 2003 at 07:24:41PM +0100, Murray Cumming wrote:
> 
> > > The other thing to note is that every time you get an xmlChar* back
from
> > > a method, it's your responsibility to free it with xmlFree().
> > 
> > Please use std::string instead.
> 
> My TextReader wrapper already converts xmlChar*s to std::string and
> frees the xmlChar*.

Sorry, I forgot about yours.

> I think Edd's might implement slightly more of the
> member functions (they weren't all available in libxml2 when I started).
> I'll try to find time this week to look at Edd's properly and possibly
> merge the two.

That sounds great.


Murray Cumming
murrayc usa net
www.murrayc.com





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