DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4516>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4516

XSLTC compiler can generate classes with methods longer than 65535 bytes





------- Additional Comments From [EMAIL PROTECTED]  2002-04-18 17:02 -------
Here's a suggested work-around from Morten Jorgensen:

The work around includes changing your stylesheets, and not changing your
code.
It does not matter if you use TrAX/JAXP or the native API. What you need to
do is
to add a template to your stylesheet, and then add a <xsl:apply-imports/>
element
to the template. But, make sure that the template is never triggered.

  <xsl:template match="blob/blob/blob">
    <xsl:apply-imports/>
  </xsl:template>

That should make sure that XSLTC creates one method for each template in
your stylesheet. If you still get an error saying the code of a method is
longer than
65535 bytes, then you need to start looking at the size of some of your
templates.

Best regards,
Morten

Reply via email to