Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 61172 invoked from network); 21 Nov 2008 09:40:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2008 09:40:57 -0000 Received: (qmail 20877 invoked by uid 500); 21 Nov 2008 09:41:05 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 20856 invoked by uid 500); 21 Nov 2008 09:41:05 -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 20845 invoked by uid 99); 21 Nov 2008 09:41:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 01:41:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stefan.guggisberg@gmail.com designates 209.85.217.12 as permitted sender) Received: from [209.85.217.12] (HELO mail-gx0-f12.google.com) (209.85.217.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 09:39:41 +0000 Received: by gxk5 with SMTP id 5so808947gxk.19 for ; Fri, 21 Nov 2008 01:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=y77oF+jJYvcZotsbUuiystyeoh7SJEeb6HcW5SDLMdM=; b=V1BTJNMZT53OErfcBdPEdCnEq3vlsPEcfgVgstADbg7WqLqBQlXwtnuwRF9WZim0N0 DL+LaltT0O20OJgJvAr0P3UkSeLo7c9A3VWOEAY6w2pJqcurRxOorEoLCgsjh8PHL5iK LTt6/11srwpA4bjvk0pdklghYOjOaWZSm5ViI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=dE9oC+MedVz4H+N4lTDAG8obOwNX3Whx35TKK5cs6O+Z2758VvCOwjc712x0Il/3YG Wwq8V7lNb2tF+ekUXXTDBFe99StH7JvJi3UFOTyN7Gxr2/JRj+Q1r0G+C/ykq73Xqm0c R5JspK2be05g2W9OcP+rzu8G3gWl0ghCkykMw= Received: by 10.90.49.3 with SMTP id w3mr167903agw.80.1227260366498; Fri, 21 Nov 2008 01:39:26 -0800 (PST) Received: by 10.90.34.3 with HTTP; Fri, 21 Nov 2008 01:39:26 -0800 (PST) Message-ID: <90a8d1c00811210139r3203edcap940d37e86655e8f2@mail.gmail.com> Date: Fri, 21 Nov 2008 10:39:26 +0100 From: "Stefan Guggisberg" Sender: stefan.guggisberg@gmail.com To: users@jackrabbit.apache.org Subject: Re: System View XML mapping and multivalued properties In-Reply-To: <29a095670811200951w2694c164y3c197ac8f0a1ec29@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <510143ac0811200909q70c15276y827f7aaeef0bac32@mail.gmail.com> <29a095670811200951w2694c164y3c197ac8f0a1ec29@mail.gmail.com> X-Google-Sender-Auth: 8312fff46f3966ef X-Virus-Checked: Checked by ClamAV on apache.org hi alessandro On Thu, Nov 20, 2008 at 6:51 PM, Alessandro Bologna wrote: > Thanks Jukka, > I guess i have been a bit lazy not looking at the jira first ;) > > Alex, yes, JSR-283 does not seem to address the issue at all (just like > 170). Maybe, if there's somebody who happens to read this thread and is in > the committe, that person could propose to address it (hint hint)... i just checked. there's already a JSR 283 issue (BTW reported by me in april this year, my memory seems to suffer with age...;) it's been fixed in the current (non-public) draft. however, there's a minor problem, the newly introducedl attribute is not in the 'sv' namespace, as you correctly proposed. i'll create a new issue to address this. cheers stefan > > In the end, System View is the only way to guarantee data > migration/interoperability between different JCR implementations and it's > not a minor issue when the the contents are ambiguously serialized (and we > all dislike silos...) > > In the meanwhile, with our JCR (JR of course) I think that the solution > presented by Stefan (using a rep: attribute on the sv:property, if I > understand him correclty) may be the way to go (just in case somebody is > validating the SV schema strictly, to add an attribute in a different > namespace may be less intrusive). It seems to be a minor change in the code. > Then once JR becomes 2.0 compliant, we could use sv:multivalued="true" or > something like that. > > Thanks. > Alessandro > > > > > > > On Thu, Nov 20, 2008 at 12:36 PM, Alexander Klimetschek wrote: > >> I looked at the JCR 2.0 spec public review and it does not fix the >> issue. Do we have a chance to include such a sv:multivalued="true" >> marker for the 2.0 final? >> >> Regards, >> Alex >> >> On Thu, Nov 20, 2008 at 6:09 PM, Jukka Zitting >> wrote: >> > Hi, >> > >> > On Thu, Nov 20, 2008 at 5:29 PM, Alessandro Bologna >> > wrote: >> >> Maybe I am missing something, but if that's the case that I am not, >> maybe it >> >> would be worth adding some implementation specific workaround, such as >> >> adding an optional sv:multivalued="true" attribute that then can be used >> >> transparently during import. It should not break anything I believe >> (unless >> >> there's some strict validation of the SV schema in place). >> > >> > You're right, the spec is incomplete in that case and the only thing >> > we could do for now is to add some implementation-specific multivalue >> > marker. See also https://issues.apache.org/jira/browse/JCR-1464. >> > >> > BR, >> > >> > Jukka Zitting >> > >> >> >> >> -- >> Alexander Klimetschek >> alexander.klimetschek@day.com >> >