Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D786ECAE5 for ; Thu, 24 May 2012 10:13:19 +0000 (UTC) Received: (qmail 63189 invoked by uid 500); 24 May 2012 10:13:19 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 63106 invoked by uid 500); 24 May 2012 10:13:19 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 63072 invoked by uid 99); 24 May 2012 10:13:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 10:13:17 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mueller@adobe.com designates 64.18.1.191 as permitted sender) Received: from [64.18.1.191] (HELO exprod6og106.obsmtp.com) (64.18.1.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2012 10:13:09 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob106.postini.com ([64.18.5.12]) with SMTP ID DSNKT74JoCFXb3XwqSydwoL09leDUz2VAsBb@postini.com; Thu, 24 May 2012 03:12:48 PDT Received: from inner-relay-1.corp.adobe.com (inner-relay-1.sea.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q4OACkIf023866 for ; Thu, 24 May 2012 03:12:46 -0700 (PDT) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q4OACjvm025953 for ; Thu, 24 May 2012 03:12:45 -0700 (PDT) Received: from eurcas01.eur.adobe.com (10.128.4.27) by nacas03.corp.adobe.com (10.8.189.121) with Microsoft SMTP Server (TLS) id 8.3.192.1; Thu, 24 May 2012 03:12:45 -0700 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurcas01.eur.adobe.com ([10.128.4.27]) with mapi; Thu, 24 May 2012 11:12:43 +0100 From: Thomas Mueller To: "oak-dev@jackrabbit.apache.org" Date: Thu, 24 May 2012 11:12:39 +0100 Subject: TCK: strange XPath query Thread-Topic: strange XPath query Thread-Index: Ac05lcHakZPbLOXUTm+Dz/91FjIy5w== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.2.120421 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CBE3D6372C676muelleradobecom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CBE3D6372C676muelleradobecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, The test org.apache.jackrabbit.test.api.query.OrderByMultiTypeTest.testMult= ipleOrder currently fails at line 73, where it tries to run a query of the = form: (1) //testroot/*[@jcr:primaryType=3D'nt:unstructured'] I believe there is a typo in the test, and the query should be: (2) /jcr:root/testroot/*[@jcr:primaryType=3D'nt:unstructured'] Queries of type (1) are currently not supported, because they would contain= two wildcards: path like '%/testroot/%'. I wonder if such queries are impo= rtant, that is, whether we need to support them in the XPath to SQL-2 conve= rter. It's possible to support them, but I would like to not support them n= ow, unless *really* necessary. What do you think? In any case I will log a issue to change the TCK test. Regards, Thomas --_000_CBE3D6372C676muelleradobecom_--