Ethereal-dev: Re: [Ethereal-dev] [Potential-patch] Support for latest libxml2 on win32 platfor

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Thu, 14 Oct 2004 18:55:53 +0200
Olivier Jacques wrote:


Using Diameter dissector with XML definition files on WIN32 platforms
doesn't work.
It has been reported by several people:
http://www.ethereal.com/lists/ethereal-dev/200403/msg00748.html
http://www.ethereal.com/lists/ethereal-users/200405/msg00153.html
http://www.ethereal.com/lists/ethereal-users/200307/msg00247.html

The patch attached fixes this issue by removing XML validation against DTD. Please check it in.

It could look radical, but XML validation is not really necessary in our case. I also tested the fact that having syntax errors in the dictionary files are still properly detected.
Tested OK on Debian woody and win32 systems.

For WIN32 system, you have to put the libxml2.dll from http://www.zlatkovic.com/libxml.en.html#binaries in the path where Ethereal can find it. I putted mine in c:\windows\system32\

It should be enough to put the dll into the C:\program files\Ethereal dir, as I wouldn't install files in system32, this usually ends up in a lot of trouble later on.

Do we want to put the libxml2.dll (or maybe a bit more of that zip) into the official release?

Regards, ULFL