santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49257] New: DSIGTransformXSL - Stylesheet missing in XMLSignature output
Date Thu, 06 May 2010 11:52:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49257

           Summary: DSIGTransformXSL - Stylesheet missing in XMLSignature
                    output
           Product: Security
           Version: C++ 1.5.1
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: C++ Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: hagelkruys@a-trust.at


When appending an XSL Transform to an DSIG Reference, the XSL source is missing
in the output. 

Cause:
In DSIGTransformXSL::createBlankTransform the mp_stylesheetNode is set to NULL.
When calloig setStylesheet, the stylesheet is copied to mp_stylesheetNode, but
it is not append to mp_txfmNode, because of the following condition
if (mp_stylesheetNode != 0)
{}

I think the best solution to work around this problem is to add an else to this
if condition:

else
{
mp_txfmNode->appendChild(mp_stylesheetNode);
}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message