I am asking this because in the WorkspaceImporter class we have this for
REPLACE_EXISTING:
    NodeId parentId = conflicting.getParentId();
           if (parentId == null) {
               String msg = "root node cannot be replaced";
               log.debug(msg);
               throw new RepositoryException(msg);
           }

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

On 8/9/06, Tobias Bocanegra <[EMAIL PROTECTED]> wrote:

no jcr:root is not protected, just some nodes in the jcr:system:

[rep:system]
  orderable
  + jcr:versionStorage (rep:versionStorage) = rep:versionStorage
mandatory protected abort
  + jcr:nodeTypes (rep:nodeTypes) = rep:nodeTypes mandatory protected
abort
  + * (nt:base) = nt:unstructured multiple ignore

regards, toby




Reply via email to