Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 78238 invoked from network); 21 Feb 2008 14:14:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 14:14:28 -0000 Received: (qmail 10223 invoked by uid 500); 21 Feb 2008 14:14:20 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 10169 invoked by uid 500); 21 Feb 2008 14:14:20 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 10158 invoked by uid 99); 21 Feb 2008 14:14:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 06:14:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [146.64.10.166] (HELO wabe.csir.co.za) (146.64.10.166) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 14:13:26 +0000 Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.14.1/8.14.1) with ESMTP id m1LECcGl023833 for ; Thu, 21 Feb 2008 16:12:38 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Thu, 21 Feb 2008 16:12:38 +0200 Message-Id: <47BDA2DC.5CE9.00D4.0@csir.co.za> X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Date: Thu, 21 Feb 2008 16:12:15 +0200 From: "Derek Hohls" To: Subject: Re: Is there an "url wildcard" selector (equivalent) References: <47BD816C.8000804@acrys.com> In-Reply-To: <47BD816C.8000804@acrys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-CSIR-MailScanner-Information: Please contact sys-admin at csir dot co dot za for more information X-CSIR-MailScanner: Found to be clean X-MailScanner-From: dhohls@csir.co.za X-Virus-Checked: Checked by ClamAV on apache.org Rainer =20 I am sure you will get a better answer than this :) but, off the top of my head, could you not implement a selector, inside your general case matcher, which could make use of regular expressions to handle any degree of complexity - see: http://cocoon.apache.org/2.1/userdocs/regular-expression-header-selector.ht= ml=20 =20 Derek PS I agree that its more "verbose" but then terseness was=20 never a design goal of XML !! >>> On 2008/02/21 at 03:49, in message <47BD816C.8000804@acrys.com>, Rainer= Pruy wrote: Hi, probably a question with a simple answer. However, I just failed up to now in getting at it..... wildcard *matcher* is one of the most used components with cocoon, I'd reck= on. But what to do, when one needs to handle X/c/** and X/** (excluding X/c/**)= different? (At least if the contained components are not "final" (serialize, read)) ("X" is an arbitrary path, not having any single path component "c"; while "c" is a simple path component (no "/")) Using combinations of wildcard macher and simple selector does work, but is= quite verbose. A "not c" pattern is not generally available (decomposing c into positive a= nd negative set patterns might work, but will be even more writing for c's that include several char= acters). Any selector I did miss? Regards, Rainer --=20 Rainer Pruy Managing Director Acrys Consult GmbH & Co. KG Untermainkai 29-30, D-60329 Frankfurt, Germany Phone: +49-69-244506-0 - Fax: +49-69-244506-50 Web: http://www.acrys.com ( http://www.acrys.com/ ) - Email: office@acrys.= com=20 Registered: Frankfurt am Main, HRA 31151 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org=20 For additional commands, e-mail: users-help@cocoon.apache.org=20 --=20 This message is subject to the CSIR's copyright terms and conditions, e-mai= l legal notice, and implemented Open Document Format (ODF) standard.=20 The full disclaimer details can be found at http://www.csir.co.za/disclaime= r.html. This message has been scanned for viruses and dangerous content by MailScan= ner,=20 and is believed to be clean. MailScanner thanks Transtec Computers for the= ir support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org