1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 12:41:29 +00:00

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

This commit is contained in:
fyodor
2008-08-13 01:30:42 +00:00
parent 3a67da3a7e
commit 30e26e481e
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@
start %attr_numeric; #IMPLIED start %attr_numeric; #IMPLIED
startstr CDATA #IMPLIED startstr CDATA #IMPLIED
version CDATA #REQUIRED version CDATA #REQUIRED
xmloutputversion (1.03) #REQUIRED xmloutputversion (1.02) #REQUIRED
> >
<!-- this element is written in output.c:doscaninfo() --> <!-- this element is written in output.c:doscaninfo() -->

View File

@@ -1499,7 +1499,7 @@ int nmap_main(int argc, char *argv[]) {
for(i=0; i < argc; i++) for(i=0; i < argc; i++)
log_write(LOG_XML, (i == argc-1)? "%s\" " : "%s ", fakeargv[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); (unsigned long) timep, mytime, NMAP_VERSION);
output_xml_scaninfo_records(&ports); output_xml_scaninfo_records(&ports);