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 29548 - [FO31] "Special streaming rules" as function property
Summary: [FO31] "Special streaming rules" as function property
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 minor
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: 2016-03-30 22:29 UTC by Michael Kay
Modified: 2016-07-21 15:41 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2016-03-30 22:29:57 UTC
Some functions in the current editor's draft, under the "Properties" heading, list "special streaming rules". See for example fn:innermost. This property is in the function catalog for use by XSLT and should not be exposed in the F+O spec.
Comment 1 Abel Braaksma 2016-04-02 15:46:24 UTC
For reference and check, the term "special-streaming-rules", which is a link pointing to a non-existing anchor, occurs 9 times:

fn:root: 2x
fn:innermost
fn:outermost
fn:reverse
fn:position
fn:last
fn:function-lookup
fn:fold-right

Note that there are some more XSLT-specific notes on streaming, for instance in fn:has-children. I think these have merit, though:

fn:has-children (in a Note)
fn:outermost (in a Note)
fn:uri-collection (see Bug 29551)
fn:last (in a Note)

Apart from removing "special-streaming-rules", would it make sense to have a more generic Note somewhere in FO31 signifying that some functions may fail or raise errors when used in a streaming context, but wouldn't raise these errors when used in non-streaming contexts (possibly without mentioning XSLT as the only such case)?
Comment 2 Michael Kay 2016-04-12 13:36:48 UTC
I have fixed this in the stylesheet used for merging the contents of the function catalog into the F+O spec narrative.