Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 70655 invoked from network); 21 Oct 2005 06:54:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 06:54:54 -0000 Received: (qmail 79549 invoked by uid 500); 21 Oct 2005 06:54:48 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 79458 invoked by uid 500); 21 Oct 2005 06:54:47 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 79443 invoked by uid 99); 21 Oct 2005 06:54:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 23:54:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.89.226.18] (HELO server.bizzdesign.nl) (80.89.226.18) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 23:54:45 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Identifier used in FragmentExtractorTransformer Date: Fri, 21 Oct 2005 08:54:55 +0200 Message-ID: <5E091A68F794974CAF431CA31F5AF2CC3C4F64@server.bizzdesign.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Identifier used in FragmentExtractorTransformer Thread-Index: AcXVpSxL0aY8mZdFTVGlIk1I/HmjnQAZuUkQ From: "Bart Molenkamp" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, How is this problem related to caching? It is not that hard for me to = provide a patch which just generates a new identifier, but I'm wondering = if it breaks caching... Bart. > -----Oorspronkelijk bericht----- > Van: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] > Verzonden: donderdag 20 oktober 2005 20:35 > Aan: dev@cocoon.apache.org > Onderwerp: Re: Identifier used in FragmentExtractorTransformer >=20 > On 20.10.2005 15:15, Bart Molenkamp wrote: >=20 > > My problem is that the id is based on the request uri (and the = number of > > fragments that it extracts during a single transformation). The = problem > > is that the contents of an XML document, and the content of the SVG > > image in that document (some chart generated from a database query) = is > > different for each user calling that page. But the request uri is = always > > the same, thus the ID for each extracted fragment is also always the > > same, resulting in each extracted fragment being overwritten in the > > transient store. > > > > This has some nasty side-effects, e.g. when using the browser's back > > button, or even the possibility to have charts displayed from other > > users. > > > > Therefore, I think it is good to change the way that id's are = generated. > > I was thinking to move the current ID generating code into a = protected > > method, and those who want other ID generation can extend the > > transformer and overwrite the method. > > > > Is this a good idea, and if so, shall I provide a patch? Can it be > > applied before the 2.1.8 release? >=20 > http://issues.apache.org/bugzilla/show_bug.cgi?id=3D28724 >=20 > J=F6rg