On Mon, 26 Aug 2002 15:05:06 +0200 Luca Andreucci <[EMAIL PROTECTED]> wrote:
> Alle 14:37, luned� 26 agosto 2002, Pasi Eronen ha scritto: > > > I agree, the plug-in code should be separated from the metadata > > (data[...] > > I suggest the metadata should be placed as an XML document in the > > same file as the plugin (so keeping them in sync with the code won't > > become a huge problem). E.g. something like this (BTW, I'm not XML > > schema expert, so don't consider this a good example :) > > ... > > <severity>High</severity> > > also based on (and recalling) the recent "Risk" thread on this list, > here and elsewhere I'd suggest the usage of attributes instead of > elements, such as in: > <severity value="high"/> > > Maybe we should move this thread to the developer lists... > Why use something as complex as xml? You need to import a parser at the very least into the deamon. If you must have opening and closing tags, how about sexpers? ((english ((risk high) (vuln-id 1234) (descr "this attack install windows, ugh"))) (german (...))) and I belive that it would be better to keep things together by language, you do not want to check 4+ places to se you translated everything. marc > -- andrew > - > [EMAIL PROTECTED]: general discussions about Nessus. > * To unsubscribe, send a mail to [EMAIL PROTECTED] with > "unsubscribe nessus" in the body. - [EMAIL PROTECTED]: general discussions about Nessus. * To unsubscribe, send a mail to [EMAIL PROTECTED] with "unsubscribe nessus" in the body.
