Re: [gdome]libxml v. Xerces-C
- From: Mathieu Lacage <mathieu gnu org>
- To: Murray Cumming <murrayc usa net>
- Cc: gtkmm-main lists sourceforge net, gdome gnome org
- Subject: Re: [gdome]libxml v. Xerces-C
- Date: 13 Jun 2001 20:48:48 +0000
On 13 Jun 2001 20:53:48 +0000, Murray Cumming wrote:
> A few months ago we on the gtkmm list talked about 'approving' an xml parser
> for use with Gtk--/Gnome--. I preferred Xerces-C because it is a currently
> existing and mature C++ parser. However, it would be nicer to have a good C++
> wrapper for libxml, which is the official XML parser for GNOME. Also, some
> people expressed some concern that the Xerces-C smart-pointer system didn't
> fit with the rest of Gtk--/Gnome--.
>
> Recently, I've been trying to wrap Gdome2, which is the GNOME DOM2
> imlementation based on libxml2 internally. I thought that it would be wise to
> jump to gdome2 because it seems like a future replacement for the libxml API.
> Of course I am ignoring the SAX interface.
>
> However, gdome uses a reference-counting system, though it doesn't use
> GObject. A wrapper for this system might be similar to the proposed
> GObject::create() system. At best, every GDome-- class would be a smart
> pointer.
>
> This is exactly the same system used by Xerces-C. So, both GDome-- and
> Xerces-C would have the same memory management model, the same class and
> method names (defined by the W3C DOM spec), and both support utf8 in the API
> (as required by GTK/GNOME 2). So it seems silly to create GDome-- because it
> would look just like Xerces-C. Comments?
well, it would be cool :)
More seriously, I remember about 2 years ago discussing this exact point
with raph: one of the goals of Gdome was to make it easily wrapped with
smart pointers in C++ :)
Mathieu
>
> Murray Cumming
> murrayc usa net
> www.murrayc.com
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> _______________________________________________
> gdome mailing list
> gdome gnome org
> http://mail.gnome.org/mailman/listinfo/gdome
>
--
Mathieu Lacage <mathieu gnu org>
Portable: <lacage itineris net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]