- From: <bugzilla@jessica.w3.org>
- Date: Mon, 02 Mar 2015 11:37:57 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28114
--- Comment #2 from Michael Kay <mike@saxonica.com> ---
Note also in 10.2.2 we say:
<quote>
Circularity is not the same as recursion. Stylesheet functions (see 10.3
Stylesheet Functions) and named templates (see 10.1 Named Templates) may call
other functions and named templates without restriction.
</quote>
This seems unclear as regards recursion in attribute set declarations.
Consider:
<xsl:attribute-set name="a">
<xsl:attribute name="x">
<xsl:variable name="v">
<e xsl:use-attribute-set="a">value</e>
</xsl:variable>
<xsl:value-of select="serialize($v)"/>
</xsl:attribute>
</xsl:attribute-set>
It's a pretty obscure corner case, but if we want to be rigorous we should have
a view on whether the above is a disallowed circularity or an allowed
recursion.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 2 March 2015 11:37:59 UTC