cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugh Field-Richards <h.field-richa...@eris.qinetiq.com>
Subject Re: Cocoon setting small buffer size in content stream
Date Thu, 05 Feb 2004 16:40:02 GMT
I am going to assume in all cases that this will be the case
and code suitably. Wrong assumptions on behaviour can
be bad for the health :-) Appending the data together is the
only solution and  I should have done that in the first
place.

Thanks for all the help

Hugh F-R

On 5 Feb 2004, at 13:59, Matthias Stöckel wrote:

> Hi Hugh,
>
> this seems to be the default behavior of the SAX Parser.
> http://xml.apache.org/xerces-j/apiDocs/org/xml/sax/ 
> ContentHandler.html#characters(char[],%20int,%20int)
> I don't think that this is a bug. There can be several calls to the  
> characters method between the startelement and end endelement method.  
> Appending the characters from the different calls seems to be the only  
> solution.
> Cheers
>   Matthias
>
> Hugh Field-Richards wrote:
>> It certainly looks as though it is the same bug. It is interesting  
>> that there
>> 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
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


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


Mime
View raw message