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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

(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.

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25821

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michael Kay <[hidden email]> ---
The WG accepted this change. The editor has taken the liberty of applying the
same change also to streamable stylesheet functions.

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