On 02/02/2013 04:24 AM, Gary Gapinski wrote:
libxslt 1.1.27 now (correctly) prohibits xsl:attribute with name="xmlns".
This change uses an explicit xsl:element with explicit namespace.
Sheesh.
I'm going to have to temporarily NACK this one as well.
I'm now looking at guide.xslt and shorthand2xccdf.xslt to figure out how to handle the abject absence of namespace declarations where at least a half dozen namespaces should have been used.
Had libxslt been correct prior to 1.1.27, this likely would have caused some regard to explicit namespace declaration. As it is, to paraphrase Twain on Cooper, the rules of XML namespace usage have been flung down and danced upon.
It also is not at all immediately obvious how XCCDF 1.2 (part of SCAP 1.2) can be accommodated, but it will undoubtedly require explicit namespacing at or prior to shorthand2xccdf.xslt.