Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 21759 invoked by uid 500); 5 Jul 2001 13:46:43 -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 21738 invoked from network); 5 Jul 2001 13:46:40 -0000 From: maciejka@tiger.com.pl To: cocoon-dev@xml.apache.org Date: Thu, 5 Jul 2001 15:49:50 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: AW: CachingCIncludeTransformer Reply-to: maciejka@tiger.com.pl Message-ID: <3B448C9E.6588.ECA0DE@localhost> Priority: normal In-reply-to: References: <3B447EFF.29249.B76C9F@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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. > > Carsten Will you add it to the source tree or modify CIncludeTransformer? There is another issue in CIncludeTransformer that should be resolved: Sources are actually included by getting InputSource from source object and parsing it: parser.parse(this.sourceResolver.resolve(src).getInputSource()); If sources are sitemap pipelines, it is inefficient(because of unnecessary serialization/parsing stage), and should(?) be replaced by: this.sourceResolver.resolve(src).stream(this); which will not serialize/parse SitemapSources. Maciek Kaminski maciejka@tiger.com.pl --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org