[EMAIL PROTECTED] wrote:
> 2) <xsl:copy-of select="xalan:nodeset($stylesheets)"/> with just the
> default RTF is producing awfully strange results.

This seems to be due to a recent change in
XPathContext.createDTMIterator(int node).  The comments correctly state
that this should create a new DTMIterator that holds exactly one node. 
However, the body was changed to:

    DescendantIterator iter = new DescendantIterator();
    iter.setRoot(node, this);
    return iter;

The DescendantIterator ends up enumerating all of the nodes in the RTF
rather than just the one.  Scott, do you want to correct this or should
I?  I was thinking of looking at a new "no argument" constructor for
OneStepIteratorForward but I'm not that familiar with it yet.  Of
course, we could always revert to the old code but I'd like to not pass
up an opportunity for optimization here.

Gary

Reply via email to