From 30e26e481e37e2950d51ee78897c6fa64efead4d Mon Sep 17 00:00:00 2001 From: fyodor Date: Wed, 13 Aug 2008 01:30:42 +0000 Subject: [PATCH] we generally don't update the xmlversion just for a new attribute. Doing so may cause more trouble than its worth, though I'm open to convincing --- docs/nmap.dtd | 2 +- nmap.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nmap.dtd b/docs/nmap.dtd index c0501a09c..e2d918adb 100644 --- a/docs/nmap.dtd +++ b/docs/nmap.dtd @@ -79,7 +79,7 @@ start %attr_numeric; #IMPLIED startstr CDATA #IMPLIED version CDATA #REQUIRED - xmloutputversion (1.03) #REQUIRED + xmloutputversion (1.02) #REQUIRED > diff --git a/nmap.cc b/nmap.cc index 0f078dc7a..98fb9717b 100644 --- a/nmap.cc +++ b/nmap.cc @@ -1499,7 +1499,7 @@ int nmap_main(int argc, char *argv[]) { for(i=0; i < argc; i++) log_write(LOG_XML, (i == argc-1)? "%s\" " : "%s ", fakeargv[i]); - log_write(LOG_XML, "start=\"%lu\" startstr=\"%s\" version=\"%s\" xmloutputversion=\"1.03\">\n", + log_write(LOG_XML, "start=\"%lu\" startstr=\"%s\" version=\"%s\" xmloutputversion=\"1.02\">\n", (unsigned long) timep, mytime, NMAP_VERSION); output_xml_scaninfo_records(&ports);