This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29223 - [XT30] function-1025/1026 test implementation-defined behavior
Summary: [XT30] function-1025/1026 test implementation-defined behavior
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-22 03:46 UTC by Abel Braaksma
Modified: 2016-07-07 15:50 UTC (History)
1 user (show)

See Also:


Attachments

Description Abel Braaksma 2015-10-22 03:46:53 UTC
Both of these functions test new-each-time="no", but this is a hint to the processor. I propose to fix to allow the alternate outcome(s).
Comment 1 Michael Kay 2015-10-22 14:05:22 UTC
I disagree. The new-each-time attribute is not a hint, it has prescriptive semantics which these tests are designed to test.
Comment 2 Abel Braaksma 2015-10-22 15:56:17 UTC
Oh, you are right, I see it now (I was still in the "mode" of the idenity-sensitive hint of previous draft, I think). I see:

<quote>
DeterministicFO31 functions: as the term is defined in [Functions and Operators 3.1], these offer a guarantee that when a function is called repeatedly with the same arguments, it returns the same results. A classic example is the docFO30 function, which offers the guarantee that doc($X) is doc($X): that is, two calls supplying the same URI return the same node.
</quote>

which is set with new-each-time="no" (which seems to me that a better word would be new-each-time="never").

So we allow this to blow up if caching is not enough.

I have inadvertently already pushed the changes, I will revert them back.
Comment 3 Abel Braaksma 2016-02-16 14:29:46 UTC
> I will revert them back.

Not done yet, apparently. Assigned and on todo-list as discussed at F2F Prague 2nd day.
Comment 4 Abel Braaksma 2016-07-07 15:50:21 UTC
Done