[prev in list] [next in list] [prev in thread] [next in thread]
List: scap-security-guide
Subject: [PATCH 2/4] normalize whitespace for each ref in (attribute) ref list, permitting use of newlines or
From: blank () eclipse ! ncsc ! mil (Jeffrey Blank)
Date: 2012-07-30 15:10:47
Message-ID: 1343661049-13291-3-git-send-email-blank () eclipse ! ncsc ! mil
[Download RAW message or body]
Signed-off-by: Jeffrey Blank <blank at eclipse.ncsc.mil>
---
RHEL6/transforms/xccdf2table-stig.xslt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/RHEL6/transforms/xccdf2table-stig.xslt b/RHEL6/transforms/xccdf2table-stig.xslt
index 95e5d3a..e3024eb 100644
--- a/RHEL6/transforms/xccdf2table-stig.xslt
+++ b/RHEL6/transforms/xccdf2table-stig.xslt
@@ -137,8 +137,8 @@
<xsl:template name="note-output">
<xsl:param name="vulnid_sought"/>
<xsl:param name="vulnid_found"/>
-
- <xsl:variable name="vulnid_expanded" select="concat('V-', $vulnid_found)" />
+ <xsl:variable name="vulnid_found_normal" select="normalize-space($vulnid_found)" />
+ <xsl:variable name="vulnid_expanded" select="concat('V-', $vulnid_found_normal)" />
<xsl:if test="$vulnid_sought=$vulnid_expanded">
<tr><td><xsl:value-of select="@auth"/>: <xsl:value-of select="." /></td></tr>
</xsl:if>
--
1.7.1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic