Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 15265 invoked by uid 500); 28 Jan 2003 15:41:52 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 15143 invoked from network); 28 Jan 2003 15:41:49 -0000 From: "Carsten Ziegeler" To: Subject: RE: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation EncodeURLTransformer.java Date: Tue, 28 Jan 2003 16:41:54 +0100 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <3E35AE92.3050705@a1.net> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 28.01.2003 16:41:48, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 28.01.2003 16:41:49, Serialize complete at 28.01.2003 16:41:49 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N With the recent changes, the encode url transformer does not support caching anymore. In order to support caching the transformer *must* know, if a session is available or not; otherwise you might get wrong cached results or do not have the correct url encoding. I would really appreciate it if we could make the assumption from above so the transformer can support caching again. Apart from that, you will get problems if you create/destroy a session when the processing of the xml pipeline has started, therefore I can only give the advice to create a session in actions and nowhere else. Any other ideas? Carsten > -----Original Message----- > From: Bernhard Huber [mailto:berni_huber@a1.net] > Sent: Monday, January 27, 2003 11:12 PM > To: cocoon-dev@xml.apache.org > Subject: Re: cvs commit: > xml-cocoon2/src/java/org/apache/cocoon/transformation > EncodeURLTransformer.java > > > hi, > > cziegeler@apache.org wrote: > > cziegeler 2003/01/26 23:43:33 > > > > Modified: src/java/org/apache/cocoon/transformation > > EncodeURLTransformer.java > > Log: > > - Fixing caching logic for encode url transformer > > > > - turning off caching, because you get wrong cached content, > *if* the session is created during processing > > > thx for fixing the fix.... > bernhard > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org