Ethereal-dev: Re: [Ethereal-dev] Print as XML - Status of work?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 8 Dec 2003 14:42:20 -0800

On Dec 5, 2003, at 10:12 PM, Gilbert Ramirez wrote:

I've committed the change to CVS. Update and read the
doc/README.xml-output file for more information.

Should the mapping from Ethereal-specific names to generic PDML names (e.g. "frame.number" -> "geninfo.num") be done by adding an additional field to the "header_field_info" structure after "blurb" - if it's null, use the Ethereal name, otherwise use that name? That might be cleaner than wiring knowledge of particular fields into the output-as-XML code.

That'd require either

1) two versions of HFILL, one for fields with both types of name and one for fields without both types of name

or

	2) a huge amount of editing.