VerifyError loading translet compiled with XSLTC from stylesheet with very 
large template that uses local variable in a predicate, xsl:sort or xsl:number
---------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: XALANJ-2377
                 URL: https://issues.apache.org/jira/browse/XALANJ-2377
             Project: XalanJ2
          Issue Type: Bug
          Components: XSLTC
    Affects Versions: The Latest Development Code
            Reporter: Henry Zongaro
         Assigned To: Henry Zongaro


A VerifyError with a message similar to "Localvariable 5 contains the wrong 
type" might result if a stylesheet compiled by XSLTC contains a very large 
template, where the template contains a local variable that is referenced 
within a predicate or in one of expressions of an xsl:sort or xsl:number 
instruction.  Here's the fragment that triggers the problem in a sample test 
case that I will attach:

      <xsl:variable name="v" select="count(/doc/*)"/>
      <xsl:if test="/doc/mid/mid/ch[$v+400 > .]">
        <yes/>
      </xsl:if>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to