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

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