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=21407>. 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=21407 Missing set parent expression in FuncExtFunction.java Summary: Missing set parent expression in FuncExtFunction.java Product: XalanJ2 Version: 2.5 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: org.apache.xpath AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In class org.apache.xpath.functions.FuncExtFunction, method setArg, missing the code to set the parent expression for the argument expressioni. original code: public void setArg(Expression arg, int argNum) throws WrongNumberArgsException { m_argVec.addElement(arg); } corrected code: public void setArg(Expression arg, int argNum) throws WrongNumberArgsException { m_argVec.addElement(arg); arg.exprSetParent(this); // <== }
