Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 22246 invoked by uid 500); 26 May 2003 12:50:13 -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 22233 invoked from network); 26 May 2003 12:50:12 -0000 Received: from mail.s-und-n.de (212.8.217.2) by daedalus.apache.org with SMTP; 26 May 2003 12:50:12 -0000 Received: from mail.s-und-n.de (localhost [127.0.0.1]) by mail2.s-und-n.de (postfix) with ESMTP id 537B2ACD4D for ; Mon, 26 May 2003 14:50:13 +0200 (CEST) Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id 006FAA833B for ; Mon, 26 May 2003 14:50:13 +0200 (CEST) Received: from hw0386 ([10.10.2.34]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003052614501081:519539 ; Mon, 26 May 2003 14:50:10 +0200 From: "Carsten Ziegeler" To: Subject: RE: [proposal] some changestoSourceResolver.resolve(baseURI,location, params) Date: Mon, 26 May 2003 14:51:36 +0200 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: <1053952798.21429.144.camel@yum.ot> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 26.05.2003 14:50:10, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 26.05.2003 14:50:12, Serialize complete at 26.05.2003 14:50:12 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bruno Dumon wrote: > Ok, back to the new-interface approach: rather than using an > ExtendedSourceFactory interface, how about letting the SourceFactory > optionally implement an additional interface, URIAbsolutizer. If > present, that interface will be asked to perform the uri-absolutizing > process, otherwise the default method will be used. > > The interface would thus look like: > > public interface URIAbsolutizer { > public String absolutize(String baseURI, String location); > } > > The difference with ExtendedSourceFactory is that this one will only be > implemented in case the absolutize-strategy differs from the default > behaviour, while ExtendedSourceFactory more sounds like a successor to > the current SourceFactory. > +1, I like it :) Carsten