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=7410>. 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=7410 Use of tail-pruning is serverly broken ------- Additional Comments From [EMAIL PROTECTED] 2002-03-25 15:31 ------- I uploaded a testcase for this problem: java org.apache.xalan.xslt.Process -IN aanvragenhuurauto.xml -XSL aanvragenhuurauto.xsl Expected output I'm not sure about as there is some debugging code inserted. The 2.3.1 gives an ArrayOutOfBoundsException and a number 0 somewhere at the end of the output after: <div class="formfootnotes"> Removing the debugging code will result in silent removal of the footnotes from the output. The correct (or at least expected) output shows a number 4 (the number of elements in some node) and the same number of footnotes after that. Removing the push and pop resulted in that output (but made me run into the ant - style bug) after which I implemented the suggested patch which also resulted in the correct output. Debugging code on the object reference on which the pushing and popping occured showed that different objects may the used for the (matching) push and the pop operation using this example. Smaller examples didn't show that problem. This patch solves the symptom (pushing and poping from the same stack's) and maybe not the bug (should it occur that the stack has changed ...?) not the underlying bug.
