You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/05/03 21:39:35 UTC

DO NOT REPLY [Bug 7410] - Use of tail-pruning is serverly broken

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 keshlam@us.ibm.com  2002-05-03 19:39 -------
Reproduced the bug (without the additional files) using fairly current code. 
This does look like a pruning problem.

On the fourth (I believe) call to the nodeset extension, we're trying to 
retrieve node handle 12714004, which is being resolved within a SAX2RTFDTM 
object. Unfortunately, the node ID is 20 -- and at the time of this call, the 
DTM's length is 14. Blammo. Either the handle got garbled, or the RTF got pruned 
before it was handed to nodeset().

It looks like the nodeset() calls are all in formbuilder.xsl.

Just a thought: Is nodeset()-on-an-RTF somehow persisting references to nodes 
past when we expected them to be retained? That _shouldn't_ be giving us 
trouble...