Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 29761 invoked from network); 20 Sep 2007 20:54:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 20:54:28 -0000 Received: (qmail 93688 invoked by uid 500); 20 Sep 2007 20:54:19 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 93672 invoked by uid 500); 20 Sep 2007 20:54:19 -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 93663 invoked by uid 99); 20 Sep 2007 20:54:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 13:54:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 20:54:18 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IYT25-0004lu-Tc for users@jackrabbit.apache.org; Thu, 20 Sep 2007 13:53:57 -0700 Message-ID: <12805682.post@talk.nabble.com> Date: Thu, 20 Sep 2007 13:53:57 -0700 (PDT) From: hsp_ To: users@jackrabbit.apache.org Subject: XPath (child axis) search not working on v1.3.1, it was on v1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: piccinatto@ibest.com.br X-Virus-Checked: Checked by ClamAV on apache.org Hi; I have a xpath search that was working on v1.3 and now, after upgrade to v1.3.1, stopped to work. That is: /jcr:root/Folder//element(*, nt:base)[childNode/@prop:name = 'false'] And the exception: avax.jcr.query.InvalidQueryException: Encountered "]" at line 1, column 136. Was expecting one of: "or" ... "and" ... "div" ... "idiv" ... "mod" ... "*" ... "return" ... "to" ... "where" ... "intersect" ... "union" ... "except" ... ... ... "/" ... "//" ... "-" ... "+" ... "|" ... "[" ... ... ... ... ... "," ... ... ... : Encountered "]" at line 1, column 136. Was expecting one of: "or" ... "and" ... "div" ... "idiv" ... "mod" ... "*" ... "return" ... "to" ... "where" ... "intersect" ... "union" ... "except" ... ... ... "/" ... "//" ... "-" ... "+" ... "|" ... "[" ... ... ... ... ... "," ... ... ... : Encountered "]" at line 1, column 136. Was expecting one of: "or" ... "and" ... "div" ... "idiv" ... "mod" ... "*" ... "return" ... "to" ... "where" ... "intersect" ... "union" ... "except" ... ... ... "/" ... "//" ... "-" ... "+" ... "|" ... "[" ... ... ... ... ... "," ... ... ... Is there some alter in xpath between the versions? Best regards Helio. -- View this message in context: http://www.nabble.com/XPath-%28child-axis%29-search-not-working-on-v1.3.1%2C-it-was-on-v1.3-tf4490103.html#a12805682 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.