Bug 1248375

Summary: oscap does not handle non-decimal version of OVAL
Product: Red Hat Enterprise Linux 7 Reporter: Ján Rusnačko <jrusnack>
Component: openscapAssignee: Šimon Lukašík <slukasik>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: openscap-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 07:57:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1248378, 1248380    

Description Ján Rusnačko 2015-07-30 08:01:22 UTC
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 07:57:31 UTC
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 ***