You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <DH...@csir.co.za> on 2008/03/31 16:01:53 UTC

Filter transformer limits?

Working with Cocoon 2.1.8
 
Does anyone know if there are any limits to the filter transformer?
 
When I try this:
 
 <map:transform type="filter">
    <map:parameter name="element-name" value="row"/>
    <use-request-parameters>true</use-request-parameters>
    <map:parameter name="count" value="50">
    <map:parameter name="blocknr" value="{request-param:bl}"/>
 </map:transform>
 
On a large dataset (>5000 records), I get a error that looks as if the transformation
cuts off mid-stream.  This problem does not happen with smaller datasets.
 
End tag 'block' does not match the start tag 'sq2:rowset'. Error processing resource 
 
Thanks
Derek

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


Re: Filter transformer limits?

Posted by Vadim Gritsenko <va...@reverycodes.com>.
On Mar 31, 2008, at 10:01 AM, Derek Hohls wrote:
> Working with Cocoon 2.1.8
>
> Does anyone know if there are any limits to the filter transformer?
>
> When I try this:
>
>  <map:transform type="filter">
>     <map:parameter name="element-name" value="row"/>
>     <use-request-parameters>true</use-request-parameters>
>     <map:parameter name="count" value="50">
>     <map:parameter name="blocknr" value="{request-param:bl}"/>
>  </map:transform>
>
> On a large dataset (>5000 records), I get a error that looks as if  
> the transformation
> cuts off mid-stream.  This problem does not happen with smaller  
> datasets.
>
> End tag 'block' does not match the start tag 'sq2:rowset'. Error  
> processing resource

AFAIR, this transformer does not have any limitations... Such usage  
scenarios should be limited by the available memory only.

Vadim

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