ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] XML parsing

From: Abhik Sarkar <sarkar.abhik@xxxxxxxxx>
Date: Sat, 21 Mar 2009 13:35:10 +0400
Ah, thanks Jeff; I understand now. I checked (http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html) and it suggests it has been around since version 2.16... so I guess it is OK to use it.

Thanks for your help!
Abhik.

On Sat, Mar 21, 2009 at 1:25 AM, Jeff Morriss <jeff.morriss.ws@gmail.com> wrote:

Hi Abhik,

Sorry, I guess I mean: what is the earliest version of glib that
supports the APIs you're talking about?

For Windows we don't have a problem because we distribute glib with
Wireshark, but all other OS's rely on the currently-installed glib.
"configure.in" currently enforces glib > 2.4 .  Increasing that may be
OK but of course it means some number of people will have to go upgrade
their glib (so doing it shouldn't be taken lightly).

Regards,
Jeff


Abhik Sarkar wrote:
> Hi Jeff,
>
> I meant version of glib which is part of the current set of libraries
> used to build the SVN version (in particular wireshark-win32-libs).
> There are a few different ways of parsing XML used in various parts of
> WS, and I wanted to use an existing API without having to introduce a
> new dependency (but also without having to use any parser generators)
> and it seems to be possible using the mentioned functionality.
>
> Thanks,
> Abhik.
>
> On Thu, Mar 19, 2009 at 6:52 PM, Jeff Morriss <jeff.morriss.ws
> <http://jeff.morriss.ws>@gmail.com <http://gmail.com>> wrote:
>
>
>
>     Abhik Sarkar wrote:
>      > Hi Everyone,
>      >
>      > This is a question specifically to the core developers. Would it
>     be OK
>      > to use the GMarkupParser facility which is provided by the latest
>     glib
>      > that is part of the required libraries for the development version? I
>      > want to use it to read XML configuration files for a generally
>     available
>      > dissector.
>
>     Define "latest."  (I looked through the GLIB documentation and their
>     list of symbols new to each release and at least some of the markup
>     functions have been around for a while.)
>     ___________________________________________________________________________
>     Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx
>     <mailto:wireshark-dev@xxxxxxxxxxxxx>>
>     Archives:    http://www.wireshark.org/lists/wireshark-dev
>     Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>                 mailto:wireshark-dev-request@xxxxxxxxxxxxx
>     <mailto:wireshark-dev-request@xxxxxxxxxxxxx>?subject=unsubscribe
>
>
>
> ------------------------------------------------------------------------
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe