logo       

Re: XML Parsing libraries: msg#00098

gnome.gaim.devel

Subject: Re: XML Parsing libraries

Mark Doliner wrote:

Can we use an XML parsing library in Gaim? It seems really silly to
parse/write blist.xml, status.xml, accounts.xml, prefs.xml and pounces.xml the
way we do. And I don't really feel like writing an XML library when we can
just use someone elses. Maybe rendezvous or jabber could use it, too.

No, we have an existing xml parser (which IIRC is gaim's code on top of glib's built in xml parser), and you haven't explained what's wrong with it.

What about libxml2? Or expat?

I've never used either of those.
autopackage's cvs has a neat tool called visual-ldd, that shows dependencies as a tree view instead of how ldd dumps all of them in a flat list, not showing which are direct and which are indirect.(They also have a tool called apgcc that's a script around gcc that among other things eliminates bogus dependencies, e.g. keeps the gaim binary from being directly linked against the aspell shared library, because gaim never uses aspell and only links against it normally because pkg-config for gtkspell tells us to [It does this in case a version of gtkspell exists that doesn't need aspell])

This tool tells me that bin/gaim depends on libpangoxft-1.0.so.0 which depends on libfontconfig.so.1 which depends on libexpat.so.0
libpangoxft also depends on libXft.so.2 which depends on libexpat.so.0. This chain repeats itself, with Gaim->GtkSpell at the start.

gstreamer last I checked depends on libxml2, hopefully some day I finish the gstreamer version of gaim-vv.

--Tim



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise