[core] Support exact type matches for type resolution from XPath #672
Labels
an:enhancement
An improvement on existing features / rules
has:pr
The issue is already tackled in a PR
in:type-resolution
Affects the type resolution code
in:xpath
Relating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution
Milestone
As shown in #666 (comment)
It would be interesting to extend the current type resolution XPath functions to allow for exact matches (no inheritance).
Currently XPath can only use a
typeof
function that will check if the type of the given node is a descendant of a given type (same rules asinstanceof
). But sometimes we want to check if a type's class is explicitly a given one (usuallygetClass() == Something.class
).The text was updated successfully, but these errors were encountered: