The commandline interface is currently very inefficient. Each document is even without caching, precompilation etc. at least build twice. The first time to get the content and the second time to get the mime-type of the document!
So, the only chance for you is to create a patch ;) Carsten Carsten Ziegeler Chief Architect S&N AG - Open Source Group ================================================================== Cocoon Consulting, Training and more mailto:[EMAIL PROTECTED] http://www.s-und-n.de ================================================================== > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 1:04 PM > To: [EMAIL PROTECTED] > Subject: Multiple transformer-passes when using command-line Cocoon > > > Hi, > > We are using Cocoon to create an XML-processing chain. This chain has > nothing to do with a web-application, so we are using the command-line > environment for Cocoon. > The set-up is very simple: a file-reader, our own transformer, an > xslt-transformer and an XML-serializer. When running this simple app, it > seams as though the pipeline is processed several times (trice, I think). > > My question is simple: why is this (preprocessing, cache..) and can I > disable it? > > The application is restarted for every run, so we don't need caching and > precompiling; > the transformation takes a very long time, so we don't want to process > several times... > > We are using Cocoon 2.0.2 on Win2k (and on AS/400) with jdk1.3.0_02 > > Thanks for any help, > > Koen > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]