On Thu, 2003-12-04 at 14:12, Carsten Buchenau wrote:
> Hi there,
>
> I am working on a project where I need to post-process [t]ethereal
> output, and having this in XML format would ease a lot of my work. More
> precisely, I would need the ability to print a capture file as XML
> integrated in [t]ethereal.
>
> So I read with great interest the thread "RFC: Print as XML" as started
> by Gilbert in September
> (http://www.ethereal.com/lists/ethereal-dev/200309/msg00488.html),
> including the link to the PDML spec... Can you tell me what's the status
> on that? Did you decide on a specification already and can you estimate
> when you might start the implementation in cvs??
>
> thanks a lot,
> carsten
>
I've had it in a stable state for a while, but haven't checked it in
because I was working with Fulvio Risso to make sure the PDML that
tethereal produces works in Analyzer. We're having some problems there,
but both our schedules are busy such that we haven't made progress on
that front.
I *could* check in what I have now, but I worry that if people start
relying on the format and it has to change in the future then people
might get upset at having to modify their scripts. I wonder if it's
worthwhile to stick a version number into the file somehow to denote
that this is the first version of tethereal's PDML output.
If anyone has an idea on how to do that (remember, I'm no XML expert),
I'd love to hear it. Attached is a sample PDML file from tethereal.
BTW, when I *do* check in the work, part of the package will also be a
Python class to parse the XML and provide Python objects representing
the packets. I'm using that for my own script which does post-processing
of a capture file.
--gilbert