Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
1.4.x
-
None
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
16361
Description
In XPath/Function.cpp, Function::execute for an overriden function with 3 args,
the number of args is compared against 2? Which obviously is incorred:
else if (theArgCount == 1)
{ return execute(executionContext, context, args[0], locator); }else if (theArgCount == 2)
{ return execute(executionContext, context, args[0], args[1], locator); }else if (theArgCount == 2) //This should be 3
{ return execute(executionContext, context, args[0], args[1], args [2], locator); }else