jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Johnson ...@proteanit.net>
Subject Re: Node unfound, Node unsaved
Date Mon, 31 Mar 2008 12:11:45 GMT
Thanks Greg, i'll have a look at that. I don't know if things should be 
different with JCR, but i was just proceeding on the standard xml:

<reviews>
    <review isbn="xxxx">bar</review>
    <review isbn="yyyy">foo</review>
</reviews>

CJ

Greg Klebus wrote:
> Hi Charles
>
> Just a short comment on your content model:
>
> On Sun, Mar 30, 2008 at 9:17 PM, Charles Johnson <cj@proteanit.net> wrote:
>   
>>  There seem to be problems with the most fundamental functionality. I'm
>>  trying to create a single Node, /reviews, which I'll later use as the
>>  root for /reviews/review[0..n]
>>     
>
> Is there a reason for using same-name-siblings here? I think something
> like that would be much easier to handle, and much more
> self-explanatory:
>
> /reviews/review-iphone
> /reviews/review-ipodnano
>
> or sth similar (depending on what's review subject).
>
> Have you seen David's Model, esp Rule #4: Beware of Same Name Siblings
> [1]? You might disagree, but should at least consider the consequences
> of using SNSs.
>
> [1] http://wiki.apache.org/jackrabbit/DavidsModel#head-1df0224190c265f5156f037eb3f20e314fa6c4a7
>
> Cheers
> Greg
>
> PS. Sorry if that's a well thought-through decision already :)
>
>   


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message