[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]