[Oval-devel] Problem with trunk's OVAL XML generator

Javier Fernández-Sanguino Peña jfs at computer.org
Mon Jul 16 18:57:29 UTC 2007


It seems that some of the last commits broke the DSA2XML tool:

$ python parseDsa2Oval.py  Traceback (most recent call last):
  File "parseDsa2Oval.py", line 106, in ?
    printdsas(dsaref)
  File "parseDsa2Oval.py", line 34, in printdsas
    ovalDefinitions = oval.definition.generator.createOVALDefinitions (dsaref)
  File "/home/devel/debian/gsoc/OVAL/oval-svn/trunk/tools/oval/definition/generator.py",
line 389, in createOVALDefinitions
    definitions.appendChild (createDefinition(dsa, dsaref[dsa]))
  File "/home/devel/debian/gsoc/OVAL/oval-svn/trunk/tools/oval/definition/generator.py",
line 309, in createDefinition
    metadata.appendChild (__createXMLElement ("title", dsaref["description"])) 
KeyError: 'description'

Probably due to the addition of the 'description' field?

Regards

Javier

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/oval-devel/attachments/20070716/b098952f/attachment.pgp 


More information about the Oval-devel mailing list