In dom4j 1.3 and the
current cvs snapshot this seems to be broken. It returns the size of the array
that contains the stack, not number of elements in the stack. Am I the first
person to use this, or am I missing something?
i.e.
return
stack.length;
should be
return
lastElementIndex;
Mike