Nmap Development mailing list archives

Re: [Patch] Re: NMAP XML reports unreadable in linux


From: HG <hg.list () gmail com>
Date: Thu, 6 Jul 2006 13:45:37 +0300

Hi!

On 7/6/06, Eddie Bell <ejlbell () gmail com> wrote:
BTW, I submitted the file to validator.w3.org when trying to debug
this problem. I got one error (and I'm not sure if it even parsed for
longer than that). It says that the "page is not valid XML!" It is
missing charset and doctype. The error is: Line 4 column 0: no
document type declaration; will parse without validation. Could that
be the problem for Opera and Firefox?

Here is a patch against nmap-4.20ALPHA1 that adds a doctype to the xml
and adds the <distance> tag to the dtd. It now validates.

Thanks, but perhaps the right place to add it is somewhere in the code base ;-)
I'm now ok with keeping the style sheet with the reports. But it would
be good if that was not necessary in the future.

-- 
HG.


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: