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." <[EMAIL PROTECTED]>

06/07/2006 04:27 PM

To
<xalan-j-users@xml.apache.org>
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

Reply via email to