Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 43172 invoked from network); 20 Jun 2006 07:57:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2006 07:57:36 -0000 Received: (qmail 95540 invoked by uid 500); 20 Jun 2006 07:57:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 95463 invoked by uid 500); 20 Jun 2006 07:57:34 -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 95452 invoked by uid 99); 20 Jun 2006 07:57:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 00:57:33 -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 [195.216.81.147] (HELO mail.otego.com) (195.216.81.147) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 00:57:33 -0700 Received: (qmail 5164 invoked from network); 20 Jun 2006 09:57:11 +0200 Received: from 192.168.222.3 by zeus (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.88.2/1428. perlscan: 1.25st. Clear:RC:1(192.168.222.3):. Processed in 0.029615 secs); 20 Jun 2006 07:57:11 -0000 Received: from unknown (HELO localhost) (192.168.222.3) by 0 with SMTP; 20 Jun 2006 09:57:11 +0200 Date: Tue, 20 Jun 2006 09:57:08 +0200 (CEST) From: Giacomo Pati Sender: giacomo@lapgp.otego.com To: dev@cocoon.apache.org Subject: Re: Please review changes to WildcardHelper In-Reply-To: Message-ID: References: <447EB2F3.7000407@apache.org> <44967AC4.3000005@apache.org> <4496ABC8.2060604@apache.org> <4496CF81.4040800@apache.org> X-GPG-FINGRPRINT: 9E66 40E0 0A9C B37F E29E 5816 2CD7 49BD 98E3 5590 X-GPG-PUBLIC_KEY: http://pks.gpg.cz:11371/pks/lookup?op=get&search=0x2CD749BD98E35590 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 20 Jun 2006, Giacomo Pati wrote: > Date: Tue, 20 Jun 2006 09:52:17 +0200 (CEST) > From: Giacomo Pati > Reply-To: dev@cocoon.apache.org > To: dev@cocoon.apache.org > Subject: Re: Please review changes to WildcardHelper > > --[PinePGP]--------------------------------------------------[begin]-- > On Mon, 19 Jun 2006, Carsten Ziegeler wrote: > >> Date: Mon, 19 Jun 2006 18:23:29 +0200 >> From: Carsten Ziegeler >> Reply-To: dev@cocoon.apache.org >> To: dev@cocoon.apache.org >> Subject: Re: Please review changes to WildcardHelper >> >> Giacomo Pati wrote: >> > How about using the Ant code (as the Wildcard syntax was borrowed from >> > it)? Either using the Ant code directly (introducing a runtime >> > dependency to Ant) or copy the code? >> > >> > As we use spring now, now about the class >> > org.springframework.util.AntPathMatcher? >> > >> Yes, I thought about using the Ant code as well - do you know which >> class it is? >> >> Now, I think we can't directly use existing code, but have to copy it as >> we need to know whether a uri matches *and* if it matches we need to >> know the current values for the placeholders. At least the spring code >> does not provide this information. >> >> I think I will copy the code from one of those projects and use that as >> a base. > > I'd suggest using the org.springframework.util.AntPathMatcher code as it > doesn't have an additional dependency (not even on Ant). Perhaps using > our test cases against it would help to see whether that code is > sufficient (ATM) for us. I'll do a quick check whether our test cases pass with the mentioned class. > And if it is it wouldn't be that hard to > integrate the fragment extraction logic into it I guess (assuming we > copy that > code). > > -- > Giacomo Pati > Otego AG, Switzerland - http://www.otego.com > Orixo, the XML business alliance - http://www.orixo.com > --[PinePGP]----------------------------------------------------------- > gpg: Signature made Tue Jun 20 09:52:18 2006 CEST using DSA key ID 98E35590 > gpg: Good signature from "Giacomo Pati " > gpg: aka "Giacomo Pati " > gpg: aka "Giacomo Pati " > --[PinePGP]----------------------------------------------------[end]-- > > - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD4DBQFEl6pWLNdJvZjjVZARApzzAJ4+3D4w48j8K14RnqocrQEwGLONZACYyhYc 1Cr7YVhrZipgkHTPzOOLBw== =j/3r -----END PGP SIGNATURE-----