Additional information:
The definition file for stretch still somehow works with oscap oval eval
--skip-valid
However openscap versions for wheezy and jessie cannot handle the new
definition files format at all, on jessie:
/usr/bin/oscap oval eval --skip-valid --results
"/tmp/oval-definitions-jessie.result.xml"
"/tmp/oval-definitions-jessie.xml" 2>&1 | grep -c error
1545
And that type of trace too:
Invalid type of operation in string evaluation: 8.
[../../../../src/OVAL/results/oval_cmp_basic.c:194]
Would not it make sense to generate oval files with schema matching the
distribution openscap version?