Wireshark-dev: Re: [Wireshark-dev] GVCP Dissector
From: Marc Petit-Huguenin <marc@xxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Aug 2011 11:22:30 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/17/2011 11:14 AM, Guy Harris wrote:
> 
> On Aug 17, 2011, at 10:46 AM, Marc Petit-Huguenin wrote:
> 
>> I think it would be great to have a standard XML parser available in
>> Wireshark - for my dissector, it would be to parse the XML document that is
>> embedded in the ConfigUpdate RELOAD message.
> 
> Are you talking about dissectors having XML configuration files that they
> read when they start up, or about parsing XML contained in packets?  This
> thread started out discussing the former (which we have with hand-written
> Flex scanners); we already have the latter (see
> epan/dissectors/packet-xml.c).

Well, both.  For RELOAD the same type of XML configuration file can be received
inside a ConfigUpdate RELOAD message (and thus changing the configuration of the
dissector), inside an HTTP response (thus changing the configuration of the
RELOAD dissector from inside the HTTP dissector) or can be passed as parameter
for the RELOAD dissector.

- -- 
Marc Petit-Huguenin
Personal email: marc@xxxxxxxxxxxxxxxxxx
Professional email: petithug@xxxxxxx
Blog: http://blog.marc.petit-huguenin.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5MBuQACgkQ9RoMZyVa61cUbgCfW9cf61iwNFemSwX8ECo0Ynli
hXoAn3DR9y+bWOsjqja5GkU3+xoN37kU
=xlQt
-----END PGP SIGNATURE-----