17791236 guide generation from test xccdf generates spurious message
authorJacob Varughese <jacob.varughese@oracle.com>
Mon, 18 Nov 2013 14:28:51 -0800
changeset 1556 1b3a67a443bf
parent 1555 85cc81ad9166
child 1557 e419cc20d324
17791236 guide generation from test xccdf generates spurious message
components/openscap/patches/security-guide-xsl.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/openscap/patches/security-guide-xsl.patch	Mon Nov 18 14:28:51 2013 -0800
@@ -0,0 +1,13 @@
+This patch prevents a warning message from being generated when the input file
+ is not an xccdf results file.
+
+--- openscap-0.9.7/xsl/security-guide.xsl.orig    Tue Oct 29 11:52:16 2013
++++ openscap-0.9.7/xsl/security-guide.xsl    Tue Nov 12 15:37:21 2013
[email protected]@ -256,5 +256,7 @@
+   </row>
+ </xsl:template>
+
++<!-- override warn-unresolved for guide generation -->
++<xsl:template name='warn-unresolved'/>
+
+ </xsl:stylesheet>