Hi.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Richard Urwin
> Sent: venerdà 5 dicembre 2003 1.16
> To: Gilbert Ramirez; Ethereal Development
> Subject: Re: [Ethereal-dev] Print as XML - Status of work?
>
>
> On Thursday 04 Dec 2003 10:06 pm, Gilbert Ramirez wrote:
> > Attached is a sample PDML file from tethereal.
>
> I would have thought the <proto> tags should nest. If they dont,
> isn't there
> an ambiguity between:
>
> <proto>
> </proto>
> <proto>
> </proto>
>
> and
>
> <proto>
> <proto>
> </proto>
> </proto>
In my view, only the first syntax sould be allowed.
For instance, in real world protocols are nested (Ethernet includes IP that includes
TCP...).
However, when you display such a packet on the screen, you should display it as:
ethernet
field1
field2
....
IP
field1
....
So, it is much easier not to have nested <proto> tags, since this is not what you want
in the output.
This is how PDML has been defined so far.
Just my idea, obviously.
Cheers,
fulvio
_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev