Ethereal-dev: Re: [Ethereal-dev] version numbers of xml and stats_tree?!? Is PACKAGE setting i

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 10 Sep 2005 01:08:39 -0700
LEGO wrote:

xml is about to go... It won't be a plugin anymore. I'm almost done
with the new one (that uses dtds to create the fields) and doesn't use
lex to parse the tvb but a tvb parser API I'll be checkin' in very
soon (this eve if I have time).

An XML document without a <!DOCTYPE item after the <?xml item is perhaps illegal, but I've seen one in at least one capture; the current dissector appears to generate a bunch of "[ ERROR: Unrecognized text ]" errors for it. The text is

	<?xml version="1.0" encoding="iso-8859-1" ?><RecList_8><row> ...

but the first protocol tree item is

	<? xml

and that item covers the entire

	<?xml version="1.0" encoding="iso-8859-1" ?>

item but only displays the "<? xml" part.

(Also, "<?xml" turns into "<? xml" in the display, so you don't see the text exactly as it is in the packet.)