W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2014

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 20 May 2014 01:26:33 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25821-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25821

            Bug ID: 25821
           Summary: Use type determined usage (TDU) with streamable
                    templates
           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" />
</xsl:template>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:56 UTC