RE: getting NPEs from HEAD

2002-06-16 Thread maciejka
On 14 Jun 2002 at 11:26, Vadim Gritsenko wrote: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > On 13 Jun 2002 at 19:03, Jeremy Quinn wrote: > > > Hi All, > > > Has the caching still got a few problems? > > > I have been getting these a bit: > ... > > > java.lang.NullPointerException

Re: getting NPEs from HEAD

2002-06-14 Thread maciejka
On 13 Jun 2002 at 19:03, Jeremy Quinn wrote: Same for me... > Hi All, > > Has the caching still got a few problems? > > I have been getting these a bit: > > Thanks for any suggestions > regards Jeremy > > > java.lang.NullPointerException > at > org.apache.cocoon.components.pipeline.impl.Ca

Re: Fw: cinclude caching "bug"

2002-05-31 Thread maciejka
On 30 May 2002 at 18:09, Nicola Ken Barozzi wrote: > Another caching insect. > > > - Original Message - > From: "Ulf Sauerland" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 30, 2002 5:33 PM > Subject: cinclude caching "bug" > > > > Hello, > > > > there is a well

Re: [RT]: Caching

2001-11-09 Thread maciejka
On 9 Nov 2001, at 9:31, Carsten Ziegeler wrote: > ... > 2. You can use constructs/features which are not cache-safe. For >example using document() inside a stylesheet is such an example. >OK, as we are for separation of concerns using this function >is evil anyway. But what about xsl:

Design flaw in Source interface?

2001-10-24 Thread maciejka
I think that there is a deign flaw in Source interface, which precludes implementation of important class of caching transformers. I would like to start explanation of what is wrong with case of caching CIncludeTransformer but everything below holds for whole class of "caching including transform

Design flaw in Source interface?

2001-10-24 Thread maciejka
I think that there is a deign flaw in Source interface, which precludes implementation of important class of caching transformers. I would like to start explanation of what is wrong with case of caching CIncludeTransformer but everything below holds for whole class of "caching including transform

Re: Memory usage problem

2001-10-23 Thread maciejka
On 23 Oct 2001, at 11:39, Robert Marcano wrote: Fo2pdf serializer based on Fop builds whole document in memory. That is why it uses so much memory. The only way to optimizy it is to optimize Fop. > I have doubts about using Cocoon+FOP to serve medium to large sized PDF > reports. I was doing

[c2 patch] CachingCIncludeTransformer

2001-07-17 Thread maciejka
Here is a patch upgrading the CachingCIncludeTransformer to use IncludeXMLConsumer. Maciek Kaminski [EMAIL PROTECTED] Index: CachingCIncludeTransformer.java === RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/trans

CachingCIncludeTransformer

2001-07-14 Thread maciejka
Here is a new version of CachingCIncludeTransformer mofied to work in noncaching pipelines. Maciek Kaminski [EMAIL PROTECTED] /* * Copyright (C) The Apache Software Foundation. All rights reserved.* * --

Re: AW: ContentAggregation and caching

2001-07-06 Thread maciejka
On 5 Jul 2001, at 16:14, Carsten Ziegeler wrote: > > Vadim Gritsenko wrote: > > > > Carsten, > > > > After you added "cocoon:" protocol, caching does not work anymore for > > aggregated pipelines. Do you have any plans on reviving this feature? > > > Yes, of course - but unfortunately time is

Re: AW: CachingCIncludeTransformer

2001-07-06 Thread maciejka
On 5 Jul 2001, at 16:19, Carsten Ziegeler wrote: > Could you please add some comments to the source how it works > and resend it? > Here they are. > > There is another issue in CIncludeTransformer that should be resolved: > > Sources are actually included by getting InputSource from source >

Re: AW: CachingCIncludeTransformer

2001-07-05 Thread maciejka
On 5 Jul 2001, at 15:10, Carsten Ziegeler wrote: > Ahh, now I understand the trick! You assume (correctly) that > the underlying xml document used by the generator has not > changed, so you could use the old values of the validity > object. Ok, this should work. > > Sorry for being so blind. >

Re: AW: CachingCIncludeTransformer

2001-07-05 Thread maciejka
On 5 Jul 2001, at 14:17, Carsten Ziegeler wrote: > Hi, > > are you sure that the CachingCIncludeTransformer is really working? > As far as I see the validity object gets all its information when > the first response is generated (the timestamps are added). > This hack works. > > But when the se

Re: AW: CachingCIncludeTransformer

2001-07-05 Thread maciejka
On 5 Jul 2001, at 10:27, Carsten Ziegeler wrote: > Hi, > > with the current caching algorithm implemented in Cocoon2 it is > not possible to cache either the CInludeTransformer nor the > XIncludeTransformer. > It is possible, although hacky. > Why is this so? > > Before the sax stream is gen

CachingCIncludeTransformer

2001-07-04 Thread maciejka
I am attaching code of CachingCIncludeTransformer, IncludeCacheValidity and xml files to try it. Is just a try to attack problem of caching cinclude transformer. Current caching framework design hardly makes it possible. One has to use CacheValidity objects in a hacky way. As ContentAggregator