I only need to get an attribute and values from an xml entity  
for example:
<software name="Microsoft SMTP" re="Microsoft ESMTP MAIL Service, Version: 
6.0.3790.1830">
I just want to get the "Microsoft SMTP" value froim name attribute the same for 
re attribute
where re is the regexp pattern to be matches with the banner got from the SMTP 
server ...
and according to the documention GMarkupParser does support 
        * Elements 
        * Attributes 
        * 5 standard entities: &amp; &lt; &gt; &quot; &apos; 
        * Character references 
        * Sections marked as CDATA 
and so it's more than sufficient.

best.


3. Re: openvas plugins development enhancment (Jan-Oliver Wagner)

------------------------------

Message: 3
Date: Mon, 29 Sep 2008 11:56:01 +0200
From: "Jan-Oliver Wagner" <[EMAIL PROTECTED]>
Subject: Re: [Openvas-plugins] openvas plugins development enhancment
To: "openvas-plugins" <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;  charset="iso-8859-1"

Christian,

On Freitag, 26. September 2008, Christian Eric EDJENGUELE wrote:
> I've seen the documentation 
> http://developer.gimp.org/api/2.0/glib/glib-Simple-XML-Subset-Parser.html?, 
> It's seems nice,?lightweight and looks event based like sax! so this does not 
> influence my conceptual ideas...
> but why GMarupParser and not libxml2 ?
> libxml has a sax interface.
> http://www.jamesh.id.au/articles/libxml-sax/libxml-sax.html

We've been very careful with adding further dependencies to OpenVAS.
On the one hand this is because of the portability and on the other hand
it is about security (linking any additional library into OpenVAS means
to inherit its security problems as well).

So, if the parsing part is solvable with what the present dependencies
offer, it is best to go with this.
Whether it is indeed solvable, I can not judge. Do you think, GMarupParser 
is sufficient?

Best

    Jan

-- 
Dr. Jan-Oliver Wagner                        Intevation GmbH, Osnabr?ck
Amtsgericht Osnabr?ck, HR B 18998            http://www.intevation.de/
Gesch?ftsf?hrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


------------------------------

_______________________________________________
Openvas-plugins mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins


End of Openvas-plugins Digest, Vol 10, Issue 24
***********************************************


__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
_______________________________________________
Openvas-plugins mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins

Reply via email to