You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/03/15 19:31:31 UTC
DO NOT REPLY [Bug 7157] New: -
XPath.installFunction() arguments do not match implementation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7157>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7157
XPath.installFunction() arguments do not match implementation
Summary: XPath.installFunction() arguments do not match
implementation
Product: XalanJ2
Version: CurrentCVS
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xpath
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: arik@phaos.com
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);
}