https://issues.apache.org/bugzilla/show_bug.cgi?id=49257

hagelkr...@a-trust.at changed:

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

--- Comment #2 from hagelkr...@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.

Reply via email to