Re: xml->root, libxml2
- From: Lauris Kaplinski <lauris helixcode com>
- To: Michael Meeks <mmeeks gnu org>
- Cc: Lutz Mller <urc8 rz uni-karlsruhe de>, gnome-components-list gnome org
- Subject: Re: xml->root, libxml2
- Date: 18 Oct 2000 21:58:47 -0100
Hello!
There is very simple set of guidelines at
http://www.xmlsoft.org/upgrade.html
to make your code compatible both with libxml1 (1.8.8+) and libxml2. You
probably do not need to do any conditional sources - simply use macro
LIBXML_TEST_VERSION near the beginning of code.
I really think that it shouldn't be problem for most gnome libs to
support both.
Lauris
> On Wed, 18 Oct 2000, [ISO-8859-1] Lutz Mller wrote:
> > For example in "bonobo/bonobo-ui-node.c", you access xml->root (where
> > xml is a xmlDoc) directly. But xml->root does not even exist in
> > libxml2 (see gnome-xml/tree.h, line 335ff.) Instead, there are the
> > functions
>
> Bonobo is emphaticly not compatible with libxml2, it should not
> even compile for you, I don't quite know how you managed to get it to
> build :-)
>
> > I don't want to offer you patches, as I don't want to mess up some
> > code I don't really know much about.
>
> Well; here is what we can do; abstract all remaining node
> manipulation functions into bonobo-ui-node.c and produce a
> bonobo-ui-node2.c and compile it conditionaly.
>
> Either way it is extremely uncertain whether we will be using
> libxml2 for this purpose since this may be re-written for Gnome 2.0 when
> libxml2 will start to be used.
>
> Thanks for the report,
>
> Regards,
>
> Michael.
>
> --
> mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
>
>
> _______________________________________________
> gnome-components-list mailing list
> gnome-components-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-components-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]