* Jean-Christophe FORTON [ 5. Feb 2009]:
> I'm back working on my vulnerability assessment project.

Glad to hear. :)

> Currently I'm generating xml reports and try to parse them with Xalan
> (JAVA API) but, unfortunately, the reports always contain the following
> line:  
> <setting name="Misc information on News server[entry]:From address :"
> value="OpenVAS <[email protected]>"/> 
> 
> My parser doesn't like the "<" ">" of <[email protected]> and says
> my xml input is not valid xml.

I suppose your xml parser is right, "<" and ">" should be escaped in the
attributes. Oddly enough, they should have been escaped during XML
output. Looking at the code, I can't quite make out what went wrong
there. I suppose you are not using the "XML (old style - deprecated)"
option?

Would you mind filing a bug report at http://bugs.openvas.org/ ?

> Any idea if this problem is fixed in version 2.0.0?

There were no changes in the relevant parts of the code between 1.0.2
and 2.0.0, so I think the problem may still be there, whatever it is.
But I would appreciate it if you could test the issue with an up-to-date
release of OpenVAS and let us know if the bug is still present for you.

Regards,

        Michael

-- 
Michael Wiegand |  OpenPGP key: D7D049EC  |  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

Attachment: pgp5zsfQ4rZDt.pgp
Description: PGP signature

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

Reply via email to