Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 84746 invoked from network); 11 Sep 2008 01:41:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2008 01:41:39 -0000 Received: (qmail 34121 invoked by uid 500); 11 Sep 2008 01:41:35 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 34102 invoked by uid 500); 11 Sep 2008 01:41:35 -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 34091 invoked by uid 99); 11 Sep 2008 01:41:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 18:41:35 -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: domain of antongavazuk@gmail.com designates 74.125.44.30 as permitted sender) Received: from [74.125.44.30] (HELO yx-out-2324.google.com) (74.125.44.30) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2008 01:40:37 +0000 Received: by yx-out-2324.google.com with SMTP id 8so51204yxm.1 for ; Wed, 10 Sep 2008 18:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=6dAyUenEMXvrHQVuf8bXBb5ScbygICTGvh9Rkelqkpk=; b=hLdLuXTfM6C5OjtC9/OaXg+/cE+9NrBZ3C4rr7FyomWs4ouZwlpHaz2rvWZSahTz8l SrRAS2RJMzqRI3Awx07b8RU9VxTJ1CDHO1sFGRMCsqttJ/1a4pB1nR0+nZv14tY95+Gz 65l3Hi9MpnZXcHc5W0nUi3xO/aNmyguP9L/DM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=sKcV+HQToe62CunCIPlHrYpg3vx9WhKtHAzRVOyb4leBma9cRmkeCDlltDqRV68c/H tA2SIkbeO2+iXUIjLwpuZWvSq+KobSqilyN0945ggavx+mbk4ki+AL5l4L1ptzSYLOdg e+MgVUKEK1RCzGz38RaYRFgNHjEw+tc/sx0pw= Received: by 10.151.38.11 with SMTP id q11mr3106720ybj.68.1221097268781; Wed, 10 Sep 2008 18:41:08 -0700 (PDT) Received: by 10.151.156.8 with HTTP; Wed, 10 Sep 2008 18:41:08 -0700 (PDT) Message-ID: Date: Thu, 11 Sep 2008 04:41:08 +0300 From: "Anton Gavazuk" To: "Jackrabbit users" Subject: Problems with XPath query - no result MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org HI all, get stuck with a problem my repository looks like /jcr:root/ -----A/nt:unstructured ------B/nt:unstructured -file / nt:file .... -file the problem is that queries like //element(*, nt:file) /jcr:root//element(*, nt:file) /jcr:root/A/B/element(*, nt:file) dont return result at all but query below works fine /jcr:root/A/B And the most strange thing that ALL queries work fine when I'm testing them in JCR Explorer Could you give me advice what is the issue?