was a suggestion of using concat() to force things. In another case that I
had that certainly worked, but this is straight content from the XML stream.
I have been unable to get a small, reliable enough example to submit a bug
report. I know how I can work around it, but I just wonder when it is going to
bite me again.
Many thanks for the help
Hugh F-R
On 4 Feb 2004, at 16:27, Jorg Heymans wrote:
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
