Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 50261 invoked from network); 30 Sep 2005 07:50:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2005 07:50:57 -0000 Received: (qmail 36936 invoked by uid 500); 30 Sep 2005 07:50:55 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 36925 invoked by uid 99); 30 Sep 2005 07:50:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 00:50:55 -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 (asf.osuosl.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 30 Sep 2005 00:51:00 -0700 Received: (qmail invoked by alias); 30 Sep 2005 07:50:32 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.55]) [212.249.34.130] by mail.gmx.net (mp032) with SMTP; 30 Sep 2005 09:50:32 +0200 X-Authenticated: #894343 Message-ID: <433CEE47.5070008@gmx.net> Date: Fri, 30 Sep 2005 09:50:31 +0200 From: Marcel Reutegger User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: jcr:score clarification References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi David, David Caruana wrote: > As I understand from the spec, the columns returned from a query must > include a column called jcr:score (or equivalent if xpath score function > is used), although the value doesn't have to be meaningful. Is that > correct? yes, this is correct. This is once more one of the last minute changes that have been made to the jsr-170 spec. unfortunately this change did not find its way into the TCK and it is not even reflected in jackrabbit. > If so, then I'm having trouble passing the TCK test > GetPropertyNamesTest.testGetPropertyNames(). It doesn't take into > account the jcr:score column when testing the columns returned by a > query. > > Is this an issue in the test or my misunderstanding of the spec? This is definitively wrong in the test and also in jackrabbit. I've changed the affected test cases and adapted the jackrabbit implementation. svn revision: 292664 Thanks a lot for reporting this issue. regards marcel