You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2007/12/14 06:07:43 UTC

[jira] Closed: (XALANJ-2377) VerifyError loading translet compiled with XSLTC from stylesheet with very large template that uses local variable in a predicate, xsl:sort or xsl:number

     [ https://issues.apache.org/jira/browse/XALANJ-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henry Zongaro closed XALANJ-2377.
---------------------------------


Verified this is fixed in Xalan-J 2.7.1.

> 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: 2.7
>            Reporter: Henry Zongaro
>            Assignee: Henry Zongaro
>             Fix For: 2.7.1
>
>         Attachments: j2377.out, j2377.patch.txt, j2377.xml, j2377.xsl
>
>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org