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 24505 - Streamability rules: xsl:fallback is missing
Summary: Streamability rules: xsl:fallback is missing
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 03:27 UTC by Abel Braaksma
Modified: 2014-02-14 17:46 UTC (History)
1 user (show)

See Also:


Attachments

Description Abel Braaksma 2014-02-05 03:27:00 UTC
The instruction xsl:fallback is missing in the streamability rules of instructions, under 19.8.4 Classifying Instructions (http://www.w3.org/TR/xslt-30/#classifying-instructions).

The streamability rules are simple: there is only one operand, the sequence constructor, which is already defined. However, when the instruction appears within a known XSLT 3.0 instruction, it should be ignored.
Comment 1 C. M. Sperberg-McQueen 2014-02-11 15:11:34 UTC
We discussed this in Prague.

After some hesitation, we concluded that the streamability of fallbacks can in fact be calculated.  If the XSLT processor is going to use the fallback, then the streamability is that of the contained sequence constructor; if not, the xsl:fallback is ignored and will have no effect on the streamability of the stylesheet.  In neither case should there be a problem for the implementation; the fact that *we* don't know anything about the streamability of the extension instructions or XSLT 17.0 instructions doesn't turn out to matter.
Comment 2 Michael Kay 2014-02-14 17:46:58 UTC
Changes applied.