W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2011

[Bug 13747] [XPath 3.0] Determinism of expressions returning constructed nodes

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Aug 2011 14:47:54 +0000
To: public-qt-comments@w3.org
Message-Id: <E1QrA4Y-0006nN-PW@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13747

--- Comment #2 from Vladimir Nesterovsky <vladimir@nesterovsky-bros.com> 2011-08-10 14:47:54 UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> > I'd like to suggest the possibility of abandoning the rule (that multiple
> > evaluations must return distinct nodes) entirely.
> 1. This can have consequences that go beyond of "loop-lifting and
> common-subexpression-refactoring".

another example is:

<xsl:function name="t:copy-of" as="element()">
  <xsl:param name="element" as="element()"/>

  <xsl:copy-of select="$element"/>
</xsl:function>

This MUST return a distinct nodes on each call.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 10 August 2011 14:47:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:36 UTC