jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: can't Import a system view using ImportXML
Date Wed, 09 Aug 2006 13:16:33 GMT

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.


Jukka Zitting

Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

View raw message