Red Hat Bugzilla – Bug 825840
XML validation error should go to stderr
Last modified: 2013-09-12 09:20:33 EDT
This bug also affects rhel5. (openscap-utils-0.8.0-1.el5)
+++ This bug was initially created as a clone of Bug #825839 +++
Description of problem:
When an error occurs during validation of XCCDF, a message is written
to stdout and tool returns non-zero.
Scenarion, when this is the most visible:
After a scan the validation of the output xml fails and the scan's
and the validation's outputs are messed together.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. oscap xccdf validate-xml /my-invalid-xccdf.xml > /dev/null
Validation error is written on stdout.
Validation error is written to stderr.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
fixed in upstream.
This issue will be fixed in Red Hat Enterprise Linu x 5 by rebase
of openscap package. Hence, this bug can be considered duplicate
of that rebase.
*** This bug has been marked as a duplicate of bug 871120 ***