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=16361>. 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=16361 Function::Execute in XPath/Function.cpp runs wrong code when 3 args have been passed in Summary: Function::Execute in XPath/Function.cpp runs wrong code when 3 args have been passed in Product: XalanC Version: 1.4.x Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: XPathC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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
