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/04/10 22:22:32 UTC
[jira] Created: (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
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org
[jira] Commented: (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
Posted by "Christine Li (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANJ-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488749 ]
Christine Li commented on XALANJ-2377:
--------------------------------------
The patch is reasonable and it resolved the problem.
> 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
> 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
[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
Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
[ 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
[jira] Resolved: (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
Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XALANJ-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henry Zongaro resolved XALANJ-2377.
-----------------------------------
Resolution: Fixed
Fix Version/s: The Latest Development Code
Applied patch to Subversion repository.
> 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
> Fix For: The Latest Development Code
>
> 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