Re: [libxml++] wrapper for the xmlreader interface
- From: Jonathan Wakely <cow compsoc man ac uk>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] wrapper for the xmlreader interface
- Date: Mon, 17 Feb 2003 11:52:41 +0000
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*. 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.
jon
--
"Any view of the universe that is not strange is false."
- Neil Gaiman
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]