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 24512 - Streamability of extension functions is not defined in the spec
Summary: Streamability of extension functions is not defined in the spec
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-05 04:30 UTC by Abel Braaksma
Modified: 2014-07-18 11:14 UTC (History)
1 user (show)

See Also:


Attachments

Description Abel Braaksma 2014-02-05 04:30:05 UTC
Under 19.8.7.12 Streamability of Function Calls (http://www.w3.org/TR/xslt-30/#streamability-of-function-calls), we say nothing about function calls to extension functions.

It should probably be implementation defined, but I think we should mention it.
Comment 1 Abel Braaksma 2014-02-05 04:35:31 UTC
This also applies to 19.8.7.13 Streamability of Named Function References, which doesn't mention extension functions either.
Comment 2 Michael Kay 2014-02-05 12:08:37 UTC
Agreed. It's implementation-defined, and we should say so.
Comment 3 C. M. Sperberg-McQueen 2014-02-11 15:55:02 UTC
We discussed this in Prague and agreed that the omission should be rectified.
Comment 4 Michael Kay 2014-02-16 20:36:14 UTC
Change applied as decided.
Comment 5 Abel Braaksma 2014-03-06 16:07:35 UTC
The change was not applied to "19.8.7.13 Streamability of Named Function References" as mentioned in comment 1, only under 19.8.7.12.

In addition, the rule about partial function application under 19.8.7.12 generalizes all functions to use TDU, but TDU only applies to stylesheet functions, not to built-in functions. I think we should say so (unless this is intentional, in which case the operand usage of some arguments may change when PFA is used).
Comment 6 Michael Kay 2014-05-16 14:50:04 UTC
We also now need to consider named function references and partial function application of calls to streamable stylesheet functions.
Comment 7 Michael Kay 2014-07-14 10:52:34 UTC
The WG accepted the proposal in message https://lists.w3.org/Archives/Member/w3c-xsl-wg/2014Jul/0009.html (member-only) with minor changes (minutes dated 10 July). The changes have been applied.
Comment 8 Michael Kay 2014-07-18 11:14:04 UTC
During the telcon on 17 July 2014, the WG amended its decision on this, with the effect that a stylesheet function declared with streamable="yes" whose arguments are all atomized is deemed guaranteed streamable regardless of the function body, and therefore inline function declarations are not prohibited in such a function.