You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Merrilees <da...@fenc.org.uk> on 2004/11/08 12:30:36 UTC

The code of method generate() is exceeding the 65535 bytes limit

I have a problem using xsp with large files. Is there any I increase the
65535 bytes limit?

Thanks 

David Merrilees

Line 72, column 0: The code of method generate() is exceeding the 65535
bytes limit


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: The code of method generate() is exceeding the 65535 bytes limit

Posted by Jorg Heymans <jh...@domek.be>.

Joerg Heinicke wrote:
> On 08.11.2004 12:30, David Merrilees wrote:
> 
>> I have a problem using xsp with large files. Is there any I increase the
>> 65535 bytes limit?
> 
> 
> No, it's a Java limit, not a Cocoon/XSP limit. XSPs are transformed 
> internally into Java, therefore the Java limit gets active. 

....

> Unfortunately you have to split up your XSP file, e.g. by moving some 
> methods out of it into external Java classes.

I wouldn't say "unfortunately you have to" here but rather "luckily you 
can" :)

> 
> Joerg
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: The code of method generate() is exceeding the 65535 bytes limit

Posted by Joerg Heinicke <jo...@gmx.de>.
On 08.11.2004 12:30, David Merrilees wrote:

> I have a problem using xsp with large files. Is there any I increase the
> 65535 bytes limit?

No, it's a Java limit, not a Cocoon/XSP limit. XSPs are transformed 
internally into Java, therefore the Java limit gets active. 
Unfortunately you have to split up your XSP file, e.g. by moving some 
methods out of it into external Java classes.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: The code of method generate() is exceeding the 65535 bytes limit

Posted by Antonio Gallardo <ag...@agssa.net>.
David Merrilees dijo:
> I have a problem using xsp with large files. Is there any I increase the
> 65535 bytes limit?

You should try the other compilers (pizza, javac or jikes).

Best Regards,

Antonio Gallardo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org