Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 30127 invoked from network); 15 May 2008 18:45:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 18:45:21 -0000 Received: (qmail 91472 invoked by uid 500); 15 May 2008 18:45:22 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 91434 invoked by uid 500); 15 May 2008 18:45:22 -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 91423 invoked by uid 99); 15 May 2008 18:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 11:45:22 -0700 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; Thu, 15 May 2008 18:44:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 36318234C115 for ; Thu, 15 May 2008 11:44:57 -0700 (PDT) Message-ID: <48811460.1210877097219.JavaMail.jira@brutus> Date: Thu, 15 May 2008 11:44:57 -0700 (PDT) From: "Matthijs Wensveen (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1606) Throw exception when unsupported xpath axes are used. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Throw exception when unsupported xpath axes are used. ----------------------------------------------------- Key: JCR-1606 URL: https://issues.apache.org/jira/browse/JCR-1606 Project: Jackrabbit Issue Type: New Feature Reporter: Matthijs Wensveen When an xpath query uses the non-shorthand form of any xpath axis, it is treated as 'child'. The shorthand form of 'descendant-or-self' does work though. For example: '/*//*' does not yield the same results as '/*/descendant::*' while being equivalent. According to the JCR 1.0.1 specification, only the abbreviated syntax need to be supported. However, I can't find what should happen when unsupported xpath features are used. It would be usefull when some exception is thrown, for example the InvalidQueryException? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.