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 <[EMAIL PROTECTED]> wrote:

Hi,

On 8/9/06, Nicolas <[EMAIL PROTECTED]> 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/ - [EMAIL PROTECTED]
Software craftsmanship, JCR consulting, and Java development

Reply via email to