jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas " <nto...@gmail.com>
Subject Re: can't Import a system view using ImportXML
Date Wed, 09 Aug 2006 15:25:30 GMT
Hi,

I understand but isn't jcr:root protected? We won't change the UUID as
specified in the spec.

Another issue: the pseudo-code you have written earlier should be in
WorkspaceImporter? Am I correct?

BR
Nico
my blog! http://www.deviant-abstraction.net !!

On 8/9/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> Hi,
>
> On 8/9/06, Nicolas <ntoper@gmail.com> wrote:
> > What would happen to jcr:system if we delete jcr:root and then replace
> it?
>
> I think the best way to implement the REPLACE_EXISTING support is not
> to actually "replace" the node, but to remove all unprotected
> properties and child nodes, and to then recreate the properties and
> child nodes from the import XML. Since protected child nodes won't be
> affected, jcr:system will not be overridden.
>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftsmanship, JCR consulting, and Java development
>

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