MULE-7425: xpath function should not have any side effects on the messag...

...e