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 22722 - [xslt 3.0] Streamability of call-template
Summary: [xslt 3.0] Streamability of call-template
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: 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: 2013-07-18 13:27 UTC by Michael Kay
Modified: 2014-05-15 14:00 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2013-07-18 13:27:54 UTC
We say that two named templates are "compatible" (one can override the other) if (in effect) they have the same parameter definitions.

We should require that the xsl:context-item declaration is consistent as well. Otherwise a non-streamable template could override a streamable one. More specifically, the sweep of xsl:call-template depends on whether " the referenced template has a child xsl:context-item element with the attribute use="prohibited"", which means that streamability can only be determined if we know this property will remain true of any overriding templates.
Comment 1 Michael Kay 2013-08-12 20:50:04 UTC
The proposal was accepted and has been applied.