FunctionLibrary.isAvailable method - Clarification on languageLevel parameter
Interface name:: FunctionLibrary
Method name : isAvailable Parameter that I need clarification: languageLevel
Documentation says: the XPath language level (times 10, e.g. 31 for XPath 3.1)
Clarification needed: Is it always the Xpath language level or could it be xquery language level also depending on the case?
Updated by Michael Kay 7 months ago
XQuery doesn't define any built-in functions that aren't also available in XPath, so this interface doesn't need to distinguish XPath from XQuery and the same language level applies to both.
Do be aware that although we expose interfaces like this as public, they are not part of the product's external API and are subject to change from one release to the next. There's also a possibility that some interfaces could cease to be public if/when we adopt the Java module system.
Updated by Vishnu Ganesan 7 months ago
Thanks for the quick reply Michael Kay,
Regarding your second point: We have a use case, where we have to extend FunctionLibrary, do we have any other alternate option in-case if the current interfaces are not exposed in the future releases?
Please register to edit this issue