> This may just be some broken assumptions we're making in the Xalan code
> about what's in a node-set, and whether or not it can always be ordered.
> Another thing to remember about result tree fragments is they each must
> have a separate owner document if they are going to be turned into a
> node-set.
>
Right, that would be the problem then. The RTFs are coming from something
like:
<xsl:variable name="foo">
<node>a</node>
</xsl:variable>
<xsl:variable name="bar">
<node>b</node>
</xsl:variable>
<xsl:value-of select="external:make-a-nodeset($foo,$bar)"/>
$foo, $bar are then RTFs which are owned by the same document -- hence the
isIndexed() assertion failures later. Would the right solution here be to
create a new document which is a copy of the input?
> Can you put together a small sample that I can build to reproduce the
> problem and attach that to a new bug report? That would help me to figure
> out exactly what's going on and how it can be fixed.
>
I can do, but it looks like you explained why this is happening above -- not
a bug, just a misunderstanding on my part.
Thanks,
Mark