[PATCH] Replace xsl:attribute name="xmlns" with xsl:element

Gary Gapinski gary at garygapinski.com
Sat Feb 2 09:24:04 UTC 2013


libxslt 1.1.27 now (correctly) prohibits xsl:attribute with name="xmlns".

This change uses an explicit xsl:element with explicit namespace.

This change should be removed (in favor of just identity transform) 
when input document has desired explicit namespace declaration.

Gary Gapinski (1):
  Remove invalid attempt to use xsl:attribute to set xmlns.     Replace
    with xsl:element with explicit namespace (namely, XCCDF 1.1).    
    Note that this overrides any namespace set in input document.    
    This should be removed when input document has explicit namespace
    declaration.

 RHEL6/transforms/shorthand2xccdf.xslt |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

-- 
1.7.10.4



More information about the scap-security-guide mailing list