Wireshark-dev: Re: [Wireshark-dev] XML Parser
From: "Matt Poduska" <mpoduska.intermec@xxxxxxxxx>
Date: Mon, 22 Sep 2008 09:26:25 -0500
So, it sounds as though there is no generic XML parser available. The beauty
of XML is that you don't need to generate a special parser for every schema.
Has there been any thought to adding the Expat XML parser
(http://expat.sourceforge.net) or something like it? If I submit a snapshot
of an open-source XML parsing library to the Wireshark source tree, does it
have a chance of being accepted?

-----Original Message-----
From: Abhik Sarkar [mailto:sarkar.abhik@xxxxxxxxx] 
Sent: Saturday, September 20, 2008 11:54 PM
To: mpoduska.intermec@xxxxxxxxx; Developer support list for Wireshark
Subject: Re: [Wireshark-dev] XML Parser

I needed something similar for feature I have been working on for the SMPP
dissector. I could not (when I started working on this) find any ready-made
XML parser library in the WS tool chain. So, I have shamelessly copied
LEGO's good work on the Diamater Diameter dictionary support (which us also
based on XML files). It was a bit tough for me (because I have never worked
with Lex before), but it was a good learning experience. There is also the
XML dissector which (if I remember correctly) uses the lemon parser
generator.

HTH
Abhik.

On Fri, Sep 19, 2008 at 6:41 PM, Matt Poduska <mpoduska.intermec@xxxxxxxxx>
wrote:
> I'm looking to add support for loading vendor extension information 
> into the LLRP protocol dissector (submitted, but not yet accepted). 
> The vendor extension files are XML formatted, and define the structure 
> and content of extensions to the LLRP protocol. The vendor extension 
> XML files would be read when the dissector is initialized, and would 
> produce structures (in
> memory) that would be used to dissect the protocol extensions.
>
> Is there an XML parsing library available to my dissector?
>
> Thanks,
>
> Matt Poduska
> Software Engineer, RFID Systems
> Intermec
> 550 Second Street SE
> Cedar Rapids, IA 52401
> voice: 319.369.3331
> fax: 319.369.3577
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>
>