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: hagelkr...@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.

Reply via email to