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

[Bug 24040] [XT3TS] result-document-1107, 1109, 1110

From: <bugzilla@jessica.w3.org>
Date: Mon, 18 May 2015 15:52:43 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24040-523-RHb7GnKqN0@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24040

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> ---
In result-document-1107, it is possible to avoid the error by avoiding use of
the variable.

   <xsl:template name="a">
      <xsl:variable name="v">
         <xsl:call-template name="rrr"/>
      </xsl:variable>
      <xsl:sequence select="$v"/>
   </xsl:template>

since $v is only used once.  i.e. as if the transform had been written as:

   <xsl:template name="a">
         <xsl:call-template name="rrr"/>
   </xsl:template>


Modifying the test to

   <xsl:template name="a">
      <xsl:variable name="v">
         <xsl:call-template name="rrr"/>
      </xsl:variable>
      <xsl:sequence select="$v, $v"/>
   </xsl:template>

should force out the error.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 18 May 2015 15:52:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 18 May 2015 15:52:46 UTC