The XPath types Boolean
and Number
can map either to the corresponding Java primitive types or to the corresponding Java object types. If the XPath processor is looking for a function that accepts XPath parameters 3.2
and true
, it looks first for a function that accepts (double, boolean)
and then (Double, Boolean)
. Functions that accept some combination of primitive types and object types are not recognized by the XPath processor.