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 <[EMAIL PROTECTED]> 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 > [email protected] > https://wireshark.org/mailman/listinfo/wireshark-dev > > _______________________________________________ Wireshark-dev mailing list [email protected] https://wireshark.org/mailman/listinfo/wireshark-dev
