-
Type:
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
Affects Version/s: 1.4.x
-
Fix Version/s: None
-
Component/s: XPathC
-
Labels:None
-
Environment:Operating System: Windows NT/2K
Platform: PC
-
Bugzilla Id:16361
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