Nmap Development mailing list archives

Word Can't Open XML Files Generated with Nmap 6.47


From: Colin Bruce <Colin.Bruce () ctalk co uk>
Date: Thu, 30 Apr 2015 13:56:03 +0000

Hi,

 

The latest version of Nmap produces this as the first three lines of any XML
output:

 

<?xml version="1.0"?>

<!DOCTYPE nmaprun>

<?xml-stylesheet href="https://svn.nmap.org/nmap/docs/nmap.xsl";
type="text/xsl"?>

 

Word 2013 is unable to open this file; complaining that "DTD is prohibited".
If the second line "<!DOCTYPE nmaprun>" is removed then

Word can happily read the file. Version 6.40 didn't include this line. I
haven't tried versions in between so I don't know when this change took
place. I know little or nothing about XML so I have no idea what the line
does or what the error is or even whether there is something wrong with the
latest version of Nmap or yet more things wrong with Word.

 

Best wishes....

Colin Bruce | Operations Manager

 

01785 336666

07920 263901

 <mailto:colin.bruce () ctalk co uk> colin.bruce () ctalk co uk 

 <http://www.ctalk.co.uk/> www.ctalk.co.uk



============================================
This communication contains information which is confidential and may also
be privileged.  It is for the exclusive use of the intended recipient. If
you have received this communication in error, please notify the sender
immediately and then destroy any copies of it. Please note that any
distribution, copying or use of this communication or the information in it
is strictly prohibited. We can be contacted in writing at, Darwin House,
Staffordshire Technology Park, Stafford. ST18 0FX.

 

 

Attachment: smime.p7s
Description:

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

Current thread: