You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Glen Stampoultzis <gs...@iinet.net.au> on 2003/09/20 10:17:35 UTC

Error generating page

I'm just trying to switch over from 0.4 to 0.5.  When I try and generate 
using 0.5 I get the following error in one of my pages:

      [java] X [0] hssf/chart.html       BROKEN: UTFDataFormatException: 
String cannot be longer than 32k.

I have a big source tag that I assume is the cause of the problem.  Is this 
limit by design?

Regards,


Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/


Re: Error generating page

Posted by Jeff Turner <je...@apache.org>.
On Sat, Sep 20, 2003 at 06:17:35PM +1000, Glen Stampoultzis wrote:
> 
> I'm just trying to switch over from 0.4 to 0.5.  When I try and generate 
> using 0.5 I get the following error in one of my pages:
> 
>      [java] X [0] hssf/chart.html       BROKEN: UTFDataFormatException: 
> String cannot be longer than 32k.
> 
> I have a big source tag that I assume is the cause of the problem.  Is this 
> limit by design?

Seems to be a Cocoon bug:

http://issues.apache.org/bugzilla/show_bug.cgi?id=23299

In the meanwhile, it's pretty simple to work around this bug.  Attached
is a patch for POI's chart.xml.

--Jeff

> Regards,
> 
> 
> Glen Stampoultzis
> gstamp@iinet.net.au
> http://members.iinet.net.au/~gstamp/glen/
>