Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] XML dictionary parsing with flex/bison

From: Anders Broman <a.broman@xxxxxxxxx>
Date: Sat, 16 Oct 2010 21:05:04 +0200
 Stephen Fisher skrev 2010-10-16 18:58:
On Sat, Oct 16, 2010 at 12:40:17PM -0400, Hadriel Kaplan wrote:

or libxml2 which I think is included in wireshark builds (right?),
libxml2 is not a requirement to build Wireshark, nor is it even an
option.

because I'm not familiar with flex/bison or lex/yacc.  But if there's
some specific reason flex/bison should be used, I can go learn how to
use them.

Is there a reason for using flex/bison for that?
Probably historical - it's been around since before XML was thought up:)
There may be other reasons that I'm not aware of though.
If I remember correctly long time ago we had an xml stub(for diameter) using libxml but there was a question about the licence not being GPL compatible. GLIB's xml parser would be an option but you'll have to use GLIB_CHECK_VERSION as it's not available in the lowest version we require I think.
Regards
Anders
___________________________________________________________________________
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