RIFTSAW-531 fixed exception when providing a literal parameter to the custom xpath function