forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: BROKEN: UTFDataFormatException: String cannot be longer than 32k.
Date Thu, 02 Oct 2003 11:18:18 GMT
Jeff Turner wrote:

> On Wed, Oct 01, 2003 at 09:08:12AM -0600, Adam R. B. Jack wrote:
...
>>I could chunk data into < 32K pieces, but I'm not sure how I'd fake the
>>parser into creating multiple text nodes. [I guess I could be 'ugly' just
>>split the file into multiple <source> entries.]
 >
> Hmm.  Could you preprocess the XML and add a <!-- --> after every 31k
> text chunk in the text?  Very hacky workaround, but easier than fixing
> the bug.

Cool hack, hadn't thought of it.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------



Mime
View raw message