From 238e0107f5633439775e6745b50a5e2b5b8ed812 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 24 May 2010 18:56:39 +0000 Subject: [PATCH] Fix the XML stylesheet processing instruction. It read "test/xsl" instead of "text/xsl". This was reported by Grant Bartlett. --- nmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap.cc b/nmap.cc index 5732b0beb..acceed4fd 100644 --- a/nmap.cc +++ b/nmap.cc @@ -1579,7 +1579,7 @@ int nmap_main(int argc, char *argv[]) { if (xslfname) { xml_open_pi("xml-stylesheet"); xml_attribute("href", "%s", xslfname); - xml_attribute("type", "test/xsl"); + xml_attribute("type", "text/xsl"); xml_close_pi(); xml_newline(); }