Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 56174 invoked from network); 29 Aug 2007 09:02:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 09:02:25 -0000 Received: (qmail 21491 invoked by uid 500); 29 Aug 2007 09:02:20 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 21472 invoked by uid 500); 29 Aug 2007 09:02:20 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 21463 invoked by uid 99); 29 Aug 2007 09:02:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 02:02:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [145.253.98.114] (HELO mail.justis.de) (145.253.98.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 09:02:13 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.justis.de (Postfix) with ESMTP id 1548C16C001 for ; Wed, 29 Aug 2007 11:01:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at justis.de Received: from mail.justis.de ([127.0.0.1]) by localhost (mail.justis.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xgm+1ALx1j4g for ; Wed, 29 Aug 2007 11:01:49 +0200 (CEST) Received: from dali.justis (fw.justis.de [145.253.98.118]) by mail.justis.de (Postfix) with ESMTP id AEB044D4018 for ; Wed, 29 Aug 2007 11:01:49 +0200 (CEST) Message-ID: <46D535FD.7060100@justis.de> Date: Wed, 29 Aug 2007 11:01:49 +0200 From: Markus Fritz Organization: Just Innovative Software GmbH User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: 'any property'-Support for XPath-Query (@*) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, thanks for your help. Ard Schrijvers wrote: > > 2) //users/*/*/*/masterdata[jcr:contains(.,'Mich%')] > > should be //users/*/*/*/masterdata[jcr:contains(.,'Mich*')] to match > That works - i don't realize that jcr:contains() supports wildcards, and other wildcards than jcr:like(), which wants '%'. > Anyway, should the @* work? I think it should work, for all the users who are trying that (correct) XPath-Syntax. Is there a reason why it should not be treated synonym for '.' ? Bye, Markus -- Dipl.-Ing. (FH) Markus Fritz markus.fritz at justis.de Just Innovative Software GmbH * Robert-Bosch-Str. 32 * 74081 Heilbronn Tel.: +49 (0)71 31 89 87 8-0 Fax: +49 (0)71 31) 89 87 8-79 ---------------------------------------------------------------------- Registergericht: Amtsgericht Stuttgart, HRB 108601 Geschaeftsfuehrer: Monika Buchmann