On Mon, 2003-09-01 at 14:04, Hauke Ernst wrote:
> Hello,
> 
> yes, this is how it worked for 2.0.3.
> 
> The problem only occurs with 2.1. My configuration in cocoon.xconf is
> 
>   <xslt-processor logger="core.xslt-processor">
>     <parameter name="use-store" value="true"/>
>     <parameter name="incremental-processing" value="true"/>
>   </xslt-processor>
> 
>   <!--+
>       | Xalan XSLT Processor
>       +-->
>   <component class="org.apache.excalibur.xml.xslt.XSLTProcessorImpl"
logger="core.xslt-processor"
role="org.apache.excalibur.xml.xslt.XSLTProcessor/xalan">
>     <parameter name="use-store" value="true"/>
>     <parameter name="incremental-processing" value="true"/>
>     <parameter name="transformer-factory"
value="org.apache.xalan.processor.TransformerFactoryImpl"/>
>   </component>
> 
> Unfortunately, this does not lead to a streamed output.

- How can you be so sure?


One of my test-transformations applied on a huge dataset takes between 1
and minutes. In cocoon 2.0.3, I can see that the output is delivered
immediately, in 2.1 the output starts to appear on the screen after 1-2
minutes. 
The pipeline is

      <map:match pattern="renderhierarchicalfiletoc_xalan.xml">
        <map:generate src="Testfiles/hierarchicalTOC.xml"/>
        <map:transform type="xalan"
src="stylesheets/toc_fromhierarchicaltoc2.xsl"/>
        <map:serialize encoding="UTF-8" type="html"/>
      </map:match>

There is no sorting in the transformation which could prevent it from
streaming.

Regards, Hauke Ernst

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
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]

Reply via email to