Re: [Libxmlplusplus-general] TextReader class
- From: murrayc t-online de (Murray Cumming)
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [Libxmlplusplus-general] TextReader class
- Date: 24 Jan 2003 13:44:19 +0100
On Fri, 2003-01-24 at 13:45, Jonathan Wakely wrote:
> > I'd rather not add something until it becomes a standard. Also, didn't
> > Daniel recently add an xmlTextReader to libxml itself?
>
> Sorry, that's what I meant: I did a libxml++-style wrapper for libxml's
> xmlTextReader (similar to how the xmlpp::SaxParser uses libxml's
> xmlSAXHandler API)
>
> > Also, this should probably use libxml++ classes in its interface, and
> > maybe be implemented in terms of libxml++.
>
> It uses xmlpp:Node class.
> It uses std::string currently, but could (should) switch to glib::ustring
> when libxml++ does.
> Apart from that, I couldn't see any way to re-use more of libxml++ with
> the xmlTextReader interface - it's quite a simple and independent API.
That's great.
> > Maybe it's something for libxml++ 1.2.
>
> Well, maybe. I just wanted to mention I'd done it, in case anyone else
> was thinking about it. If anyone does want to do it properly I'll send
> them my class as a start (I didn't implement all methods, as some are
> either very new or not implemented yet in libxml itself)
>
> Because it needs a (mostly) complete xmlTextReader from libxml it requires
> libxml 2.5 or greater, which I assume is too tight a requirement for
> libxml++ at the moment.
>
> Anyway, announcement made, I'll get back to work :-)
At the moment my only objections are
1. It doesn't seem to be a real standard.
2. It should wait for 1.2 because 1.0 is trying to achieve a minimal
stable API quickly.
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]