Forum Discussion
Nasturshia
5 years agoOccasional Contributor
Rich as you suggested I did remove the offending variable from the expression and the error is not seen as you predicted.
Now I need to find where the variable is defined.
Now I need to find where the variable is defined.
HimanshuTayal
5 years agoCommunity Hero
Could you give a try to below code:
double count01 = Double.parseDouble([“count((//*[local-name() = ‘list01’] /*[local-name () = list02 and . = + expectedlist + “])”])
-----------------------------------OR-----------------------------------------------------------------
def count01 = [“count((//*[local-name() = ‘list01’] /*[local-name () = list02 and . = + expectedlist + “])”] as Double
Hope it will help you 🙂