Closed egh closed 6 months ago
In the code you included you're passing the type constant as the fourth argument to evaluateXPath. This fourth argument is actually the variables object, the expected return type should be the fifth.
:facepalm: Thank you for the explanation!
I've encountered a situation with the latest release of fontoxpath that returns a number when I would expect a string.