From e515fc9694efb8703f6c55782094e0273c0dec9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Fri, 25 Jun 2021 13:59:59 +0200 Subject: [PATCH] Workaround rpminspect problem rpminspect produces this problem: xml-files: ---------- 1) File /usr/share/openscap/xsl/oval-results-report.xsl is a malformed XML file on x86_64 Result: VERIFY Waiver Authorization: Anyone Details: No declaration for element stylesheet Suggested Remedy: Correct the reported errors in the XML document I assume that it's caused by mixing the DTD and schema - it probably expects that the DTD will contain a declaration of the root element as well. The workaround simply expands both entities by substituting them by their contents. --- xsl/oval-results-report.xsl | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/xsl/oval-results-report.xsl b/xsl/oval-results-report.xsl index fe50717795..744540c8f8 100644 --- a/xsl/oval-results-report.xsl +++ b/xsl/oval-results-report.xsl @@ -1,10 +1,4 @@ - - - - -]>