Nmap Development mailing list archives

Bug with XML Output -oX


From: Grant Bartlett <grant.bartlett () gmail com>
Date: Mon, 24 May 2010 12:39:52 +1000

There is a silly bug that has been introduced the recent nmap
versions. I've noticed this in nmap-5.21-r17556 .

If you use the -oX flag to output to XML, the XML output contains an
invalid XSL template type, such that if you try and use stock standard
nmap.xsl it won't parse the XML.

<?xml version="1.0"?>
<?xml-stylesheet href="nmap.xsl" type="test/xsl"?>

SHOULD BE

<?xml version="1.0"?>
<?xml-stylesheet href="nmap.xsl" type="text/xsl"?>

Note: test/xsl should be text/xsl


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


Current thread: