Nmap Development mailing list archives

RE: XML Output Proposal


From: "Stou Sandalski" <tangui () cell2000 net>
Date: Wed, 16 Aug 2000 20:24:32 -0700



-----Original Message-----
From: Fyodor [mailto:fyodor () insecure org]
Sent: Wednesday, August 16, 2000 00:39
To: nmap-dev () insecure org
Cc: phreed () netarx com
Subject: XML Output Proposal

I have appended the sample output.  Sorry about the long line
length.  Please send mail to nmap-dev (or just me) if you have any
suggestions for improvement.  Remember that it can be very hard to change
machine-readable output formats once they are defined.  So we must take
the opportunity to scrutinize it now.  Also note that there has to be a
balance between readability, output size, and extensibility.


I definetly like this "scheme" (especialy the idea of the addrtype
attribute), however just two things: as far as I know empty tags are defined
<tag/> not </tag>, and for some reason I can't quite understand (maybe
because of comment tags being -->) I get an error on this line:

<!-- Nmap run completed at Tue Aug 15 22:59:22 2000 -- 20 IP addresses (4
hosts up) scanned in 106 seconds -->

right at the --, this occured both on the IE 5.5 Xml parser, and some app
called XMLWriter (I don't know if its even using its own orignal parser or
an msft one).  Are you planning to include this in a future beta release so
we can check out how it works maybe write some clients?

About the changing, is it possible to somehow add an attribute or tag to the
document defining which version of the xml output structure (schema?) this
client is outputing?  That would add way tooo much complexity, from having
to be backwards compatible and request different output versions, and
clients. I guess we will have to figure out if this is going to be sufficent
using beta's.



Stou


---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



Current thread: