have a look at http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107418680806175&w=2
You're probably hitting the same bug.
Unknown wrote:
HI
Has anyone had a problem with cocoon chopping up the input content stream into 32 byte chunks. I have this (and it seems to happen in a fairly indeterministic way) and it is causing me grief in my custom transformers. I have checked for obvious things like invisible characters, white-space or other obvious causes but there is nothing obvious. It also chops up the incoming stream in the middle of words.
In a short chunk of contiguous character content (about 50 characters long)
it chopped it up into three parts (9, 32 and 9 characters). The split depends
on what has come before. Putting a trace on this it appears to work fine earlier
in a pipeline, but then Cocoon seems to reset the buffer to 32.
The method that is being affected in the transformer is
public void characters( char[] buffer, int start, int length ) throws SAXException { ... }
This is then being called three times in the case above when it should be only
called once. Is there a explicit buffer size that I can set somewhere?
Any help here will be very gratefully received.
Hugh F-R
Dr Hugh S. Field-Richards Principle Scientist QinetiQ, St Andrew's Road, Malvern, Worcs, WR14 3PS, UK Tel: ++1684 895075 Fax: ++1684 896113 Email: [EMAIL PROTECTED]
The views expressed above area are entirely those of the writer and do not represent the views, policy or understanding of any other person or official body.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
