[Bug 24040] [XT3TS] result-document-1107, 1109, 1110

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24040

--- Comment #4 from Tim Mills <tim@cbcl.co.uk> ---
(In reply to Abel Braaksma from comment #3)
> >    <xsl:template name="a">
> 
> That template is used by test result-document-1101, not 1107, the latter
> using the sort as mentioned in comment#0.

My mistake.  I'll add a separate comment regarding 1107.

> That is not to say that in 1101 the same issue applies. And I'm not certain
> whether using the variable twice really forces this error, it can still be
> rewritten by inlining if a processor chooses so, i.e. like:
> 
> <xsl:sequence>
>     <xsl:call-template name="rrr" />
>     <xsl:call-template name="rrr" />
> </xsl:sequence>

This isn't a valid rewrite, because the template returns nodes with node
identity.  The above rewrite returns two distinct node.  ($v, $v) would return
two nodes with the same identity.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 19 May 2015 14:46:14 UTC