[ 
https://issues.apache.org/jira/browse/SYNAPSE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Griffin updated SYNAPSE-56:
-----------------------------------

    Attachment: XSLTMediator.patch

The attached patch provides a fix for this issue.  

The patch uses a sequence of sourceNode.insertSiblingAfter(result) and 
sourceNode.detach() to replace the sourceNode with the transformation result.  

This is a change from the original approach which used 
*.getFirstOMChild().detach() and then either *.setFirstChild(result) or 
*.addChild(result) depending on the position of the parent in the hierarchy. 

> XSLTMediator appends transformation result to original SOAPBody contents
> ------------------------------------------------------------------------
>
>                 Key: SYNAPSE-56
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-56
>             Project: Synapse
>          Issue Type: Bug
>          Components: extensions
>    Affects Versions: 0.91
>         Environment: all
>            Reporter: Michael Griffin
>         Attachments: XSLTMediator.patch
>
>
> When using the XSLTMediator to transform the response of the target web 
> service, the transformation result is appended to the contents of the 
> SOAPBody element.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to