Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 44530 invoked from network); 16 Feb 2009 11:25:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2009 11:25:31 -0000 Received: (qmail 98935 invoked by uid 500); 16 Feb 2009 11:25:30 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 98896 invoked by uid 500); 16 Feb 2009 11:25:30 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 98887 invoked by uid 99); 16 Feb 2009 11:25:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 03:25:29 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2009 11:25:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BD1CC234C48C for ; Mon, 16 Feb 2009 03:24:59 -0800 (PST) Message-ID: <1114833913.1234783499773.JavaMail.jira@brutus> Date: Mon, 16 Feb 2009 03:24:59 -0800 (PST) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1659) Support parent axis inside Xpath predicates In-Reply-To: <199859567.1213964624989.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673851#action_12673851 ] Marcel Reutegger commented on JCR-1659: --------------------------------------- Comments on patch: - JackrabbitIndexSearcher only contains rearranged imports - We should rather use PathFactory.getParentElement() instead of defining a new name - It seems LuceneQueryBuilder.visit(LocationStepQueryNode,Object) does not respect includeDescendants() for parent name - QueryFormat probably has to be adapted to support round tripping abstract query tree to XPath/SQL - Test case are missing > Support parent axis inside Xpath predicates > ------------------------------------------- > > Key: JCR-1659 > URL: https://issues.apache.org/jira/browse/JCR-1659 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-core, query > Affects Versions: 1.4 > Reporter: Dan Diephouse > Priority: Minor > Attachments: patch.txt > > Original Estimate: 0h > Remaining Estimate: 0h > > We need to be able to do the following inside our application: > /blogs/blog/entry[@title='Jackrabbit' or ../@author='Dan Diephouse'] > The example is contrived, but the need is real. Neither "../" or "parent::" seems to be supported currently. See this thread for the original discussion: http://markmail.org/message/dyxnobdwd7sofmes -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.