Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
2.7.1
-
None
-
None
-
Operating System: Other
Platform: Other
-
7157
Description
The org.apache.xpath.XPath class has a method installFunction(). The first
argument, String name, is not used in the method's implementation (see below),
and thus fails to do what the method signature and javadoc imply.
/**
- Install a built-in function.
- @param name The unqualified name of the function.
- @param funcIndex The index of the function in the table.
- @param func A Implementation of an XPath Function object.
- @return the position of the function in the internal index.
*/
public void installFunction(String name, int funcIndex, Function func) { FunctionTable.installFunction(func, funcIndex); }