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=23115>. 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=23115 ArrayOutofBounds when XSL is in compiled form. ------- Additional Comments From [EMAIL PROTECTED] 2003-09-11 20:15 ------- Proposed change in method org.apache.xalan.xsltc.dom.SAXImpl : /** * Create an org.w3c.dom.Node from a node in the tree */ public Node makeNode(int index) { if (_nodes == null) { _nodes = new Node[_namesSize]; } if ( index >= _nodes.length ) { int mx = (_namesSize > index ? _namesSize : index); Node[] tmp = new Node[mx+1]; for (int i = 0; i <= mx; i++) { if ( i < _nodes.length ) { tmp[i] = _nodes[i]; } else { tmp[i] = new DTMNodeProxy((DTM)this, i); }; }; _nodes = tmp; }; return (_nodes[index] != null) ? _nodes[index] : (_nodes[index] = new DTMNodeProxy((DTM)this, index)); } It worked in my case, not sure if will do for all ;)
