Bug 1248375 - oscap does not handle non-decimal version of OVAL
oscap does not handle non-decimal version of OVAL
Status: CLOSED DUPLICATE of bug 1202868
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openscap (Show other bugs)
7.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Šimon Lukašík
BaseOS QE Security Team
:
Depends On:
Blocks: 1248380 1248378
  Show dependency treegraph
 
Reported: 2015-07-30 04:01 EDT by Ján Rusnačko
Modified: 2015-07-31 03:57 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1248378 1248380 (view as bug list)
Environment:
Last Closed: 2015-07-31 03:57:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ján Rusnačko 2015-07-30 04:01:22 EDT
Description of problem:
oscap does not handle the non-decimal version of OVAL XMLs (e.g. 5.10.1) well:

File '/home/jrusnack/workspace/tmp/result.xml' line 6: Element
'{http://oval.mitre.org/XMLSchema/oval-common-5}schema_version': '5.10.1' is not
a valid value of the atomic type 'xs:decimal'. 


Version-Release number of selected component (if applicable):
1.1.1

Steps to Reproduce:
$ oscap ds sds-compose source.xml result.xml 

where source.xml is OVAL XML with 5.10.1 version
Comment 3 Šimon Lukašík 2015-07-31 03:57:31 EDT
Thanks for a report.

This is gonna be fixed in upcoming RHEL-7 update. As a part of rebase (bug 1202868).

I have just verified that rebased package fixes this problem. -> Closing as duplicate to the upcoming rebase.

*** This bug has been marked as a duplicate of bug 1202868 ***

Note You need to log in before you can comment on or make changes to this bug.