Compiling large stylesheet with XSLTC fails 2006-06-08 - By Joanne Tong
Try rebuilding XSLTC with the latest source from Subversion. A patch was recently committed to avoid the 64kb method size limitation. The patch should fix some instances of the problem, though not all. http://issues.apache.org/jira/browse/XALANJ-1324
If that doesn't work, try breaking up templates into smaller named templates and use xsl:call-template.
Joanne Tong Software Developer, XSLT Development, IBM Toronto Lab
"Sterritt, Christopher L." <chris.sterritt@(protected)> 06/07/2006 04:27 PM
To <xalan-j-users@(protected)> cc
Subject Compiling large stylesheet with XSLTC fails
Hello,
We've got a stylesheet broken into parts which are <xsl:include>'d. This was fine for the first bit, but with the second bit (which is about 90k) now we can't run with XSLTC (although it all works fine with just XSLT).
Is this a known issue with XSLTC? Are there workarounds of any kind, short of rewriting the code to call the stylesheets separately? We've explicitly turned off inlining (I know it's the default, we had to make sure) to make sure that's not the problem, and the result is the same. We're facing a deadline, so the long-term goal of splitting above the code that does the transform is reasonable, but not to hit our deadline.
Thanks, --chris sterritt
<br><font size=2 face="sans-serif">Try rebuilding XSLTC with the latest source from Subversion. A patch was recently committed to avoid the 64kb method size limitation. The patch should fix some instances of the problem, though not all.</font> <br><font size=2 face="sans-serif">http://issues.apache.org/jira/browse/XALANJ -1324</font> <br> <br><font size=2 face="sans-serif">If that doesn't work, try breaking up templates into smaller named templates and use xsl:call-template.</font> <br> <br> <br><font size=2 face="sans-serif">Joanne Tong<br> Software Developer, XSLT Development, IBM Toronto Lab<br> </font> <br> <br> <br> <table width=100%> <tr valign=top> <td width=40%><font size=1 face="sans-serif"><b>"Sterritt, Christopher L." <chris.sterritt@(protected)></b> </font> <p><font size=1 face="sans-serif">06/07/2006 04:27 PM</font> <td width=59%> <table width=100%> <tr valign=top> <td> <div align=right><font size=1 face="sans-serif">To</font></div> <td><font size=1 face="sans-serif"><xalan-j-users@(protected)></font> <tr valign=top> <td> <div align=right><font size=1 face="sans-serif">cc</font></div> <td> <tr valign=top> <td> <div align=right><font size=1 face="sans-serif">Subject</font></div> <td><font size=1 face="sans-serif">Compiling large stylesheet with XSLTC fails</font></table> <br> <table> <tr valign=top> <td> <td></table> <br></table> <br> <br> <br><tt><font size=2>Hello,<br> <br> We've got a stylesheet broken into parts which are<br> <xsl:include>'d. This was fine for the first bit, but with the second<br> bit (which is about 90k) now we can't run with XSLTC (although it all<br> works fine with just XSLT).<br> <br> Is this a known issue with XSLTC? Are there workarounds of any<br> kind, short of rewriting the code to call the stylesheets separately?<br> We've explicitly turned off inlining (I know it's the default, we had to<br> make sure) to make sure that's not the problem, and the result is the<br> same. We're facing a deadline, so the long-term goal of splitting above<br> the code that does the transform is reasonable, but not to hit our<br> deadline.<br> <br> Thanks,<br> --chris sterritt<br> </font></tt> <br>
|
|