W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2015

[Bug 28114] [xslt 3.0] Cycles in attribute sets

From: <bugzilla@jessica.w3.org>
Date: Mon, 02 Mar 2015 11:37:57 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28114-523-U5CixQMwKN@http.www.w3.org/Bugs/Public/>

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
Note also in 10.2.2 we say:

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.

This seems unclear as regards recursion in attribute set declarations.

<xsl:attribute-set name="a">
  <xsl:attribute name="x">
    <xsl:variable name="v">
      <e xsl:use-attribute-set="a">value</e>
    <xsl:value-of select="serialize($v)"/>

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

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 2 March 2015 11:37:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:53 UTC