Project: mule
Issue MULE-7425: xpath function should not have any side effects on the message
when the xpath() function is not given a source parameter, the result of the evaluation is put on the message payload, which is fine. However, when the source parameter is provided, the payload should not be modified because that causes undesired side effects when using the function in filters or choice routers. When a source is provided, the evaluation result should be set on the source itself
Story points: 3