RHEL-6, libxslt-1.1.26

Ok, so now when I try to make with fixes, the following errors happen:

Attribute nodes must be added before any child nodes to an element.
runtime error: file transforms/xccdf-addfixes.xslt line 37 element copy

The patch is

[root@localhost transforms]# diff -wruN xccdf-addfixes.xslt.orig xccdf-addfixes.xslt
--- xccdf-addfixes.xslt.orig    2013-02-01 14:40:40.580808238 -0600
+++ xccdf-addfixes.xslt    2013-02-01 14:35:31.607797643 -0600
@@ -11,7 +11,8 @@
   <xsl:template match="xccdf:Rule">
       <!-- deal with the fact that oscap demands fixes stand only before checks -->
-      <xsl:apply-templates select="@*|node()[not(self::xccdf:check)]"/>
+      <xsl:copy-of select="@*" />
+      <xsl:apply-templates select="node()[not(self::xccdf:check)]"/>
       <xsl:variable name="rule_id" select="@id"/>
       <xsl:for-each select="$fixgroup/xccdf:fix">

And it works.

Nice way to end the week!
Brian Millett
 "Shifts in paradigms
             often cause nose bleeds."
Greg Glenn