[Bug 25821] New: Use type determined usage (TDU) with streamable templates


            Bug ID: 25821
           Summary: Use type determined usage (TDU) with streamable
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

(apologies if this was reported before, I thought we discussed this, but I
could only find a similar issue in Bug 24109)

I checked the current Working Draft, both internal and public, and the
following is considered not guaranteed streamable:

<xsl:template match="author" mode="streamable" as="xs:string">
   <xsl:sequence select="name" />

I think we should take the declared type into account with streamability
analysis. We already have such rules elsewhere, as from bug 24109, it seems too
restrictive to not allow such a construct, especially because I think (but
can't claim) that people tend to use xsl:sequence over xsl:value-of nowadays.

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 20 May 2014 01:26:37 UTC