Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 42659 invoked from network); 20 Nov 2008 17:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2008 17:52:35 -0000 Received: (qmail 99510 invoked by uid 500); 20 Nov 2008 17:52:43 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 99488 invoked by uid 500); 20 Nov 2008 17:52:43 -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 99477 invoked by uid 99); 20 Nov 2008 17:52:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 09:52:43 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alessandro.bologna@gmail.com designates 209.85.198.227 as permitted sender) Received: from [209.85.198.227] (HELO rv-out-0506.google.com) (209.85.198.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 17:51:20 +0000 Received: by rv-out-0506.google.com with SMTP id k40so551882rvb.31 for ; Thu, 20 Nov 2008 09:51:56 -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:to :subject:in-reply-to:mime-version:content-type:references; bh=A4zpC1lsje9Yjxrak2+GRSODDObvEfudE27w/XkE/is=; b=bJs0PEGvwD94j2CHVjtfw9jSW714GgJCH6C0XnFlOL5Q/t7pK3rlxyh63XcCdayHgl EwodwC62yV2tP6FFw4fGE5pC56etN/iGBGLackkHU/s980ZbpQcFGPYApGnmYACu7lF/ Dq3jS/qofl3I9koKfBhDrvKQvjnoakXQLjcLA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=mJ3JlG9lJphCYvfjRHhkGS7sBOHH279d9PvlpaGvVVBYQtgVo/rHdDrdb0FLGBZ6LX e9gB4CfPjLQTWdcIZ2t3v6s5h7QideaQodAs1PwSkwbUI3m9NvYk9N3fRWTkS1THQXyz jDGXudl6e1F4/+hISuKzw2mO59QgBGyY9GAwM= Received: by 10.141.43.5 with SMTP id v5mr1362586rvj.82.1227203516013; Thu, 20 Nov 2008 09:51:56 -0800 (PST) Received: by 10.141.190.6 with HTTP; Thu, 20 Nov 2008 09:51:55 -0800 (PST) Message-ID: <29a095670811200951w2694c164y3c197ac8f0a1ec29@mail.gmail.com> Date: Thu, 20 Nov 2008 12:51:55 -0500 From: "Alessandro Bologna" To: users@jackrabbit.apache.org Subject: Re: System View XML mapping and multivalued properties In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_96310_12129574.1227203515992" References: <510143ac0811200909q70c15276y827f7aaeef0bac32@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_96310_12129574.1227203515992 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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)... 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 > ------=_Part_96310_12129574.1227203515992--