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] DSIGTransformXSL - Stylesheet missing in XMLSignature output
Date Thu, 06 May 2010 17:21:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49257

hagelkruys@a-trust.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #2 from hagelkruys@a-trust.at 2010-05-06 13:21:16 EDT ---
thx for fixing, the stylesheet now appears in the resulting transform. 

but the fix has another little problem, if I pass NULL to appendXSLTransform()
the fixed code calls mp_txfmNode->appendChild(NULL) an crashes. 
To be on the safe side stylesheet should be tested to NULL


    if (mp_stylesheetNode) {
        mp_txfmNode->insertBefore(stylesheet, mp_stylesheetNode);
        mp_txfmNode->removeChild(mp_stylesheetNode);
    }
    else {
        if(stylesheet) {
            mp_txfmNode->appendChild(stylesheet);
        }
    }

-- 
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