W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2015

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 19 May 2015 14:46:07 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24040-523-u12AYrEvo0@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 19 May 2015 14:46:15 UTC