[Bug 28154] [xslt 3.0] streamable templates: climbing body

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28154

Abel Braaksma <abel.braaksma@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abel.braaksma@xs4all.nl

--- Comment #2 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
<xsl:template match="*" mode="a-streamable-mode" as="xs:string">
  <xsl:sequence select="ancestor::section"/>
</xsl:template>

Note: we didn't allow templates to return nodes and atomization because of the
as-attribute was not taken into account.

We allow this now:

<quote>
The xsl:template element has an as attribute that specifies an atomic or union
type.
</quote>

I agree that this text does not explicitly take atomization into account, which
essentially makes even fully roaming bodies streamable, because we allow it to
be roaming if this clause is true. 

I think that the type-adjusted posture is a good way forward.

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

Received on Thursday, 12 March 2015 16:02:57 UTC