You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by ndesk1900 <nd...@gmail.com> on 2009/07/04 04:38:11 UTC

Question on mix:referenceable .

Hello all,

The Java Specification Request 170 states that 

"A repository implementation may make its workspace root nodes
mix:referenceable. If so, then the root node of all workspaces must be
referenceable, and all must have the same UUID"

Could someone explain why?

Thanks'
-- 
View this message in context: http://www.nabble.com/Question-on-mix%3Areferenceable-.-tp24330793p24330793.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.


Re: Question on mix:referenceable .

Posted by Alexander Klimetschek <ak...@day.com>.
On Sat, Jul 4, 2009 at 4:38 AM, ndesk1900<nd...@gmail.com> wrote:
>
> Hello all,
>
> The Java Specification Request 170 states that
>
> "A repository implementation may make its workspace root nodes
> mix:referenceable. If so, then the root node of all workspaces must be
> referenceable, and all must have the same UUID"
>
> Could someone explain why?

Because you can copy/merge nodes between workspaces (in this use-case
a bit like branches in version control systems), where the UUIDs of
copied nodes are the same across workspaces. And thus the root node,
which is already "created" by the repository at start, must have the
same UUID in multiple workspaces.

BTW, in Jackrabbit the root node UUID is always
"cafebabe-cafe-babe-cafe-babecafebabe".

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com