It's done. I will patch it later. Basically if a node in the WspImporter is
root, I skip it (but process the namespace still)

On 8/8/06, Nicolas <[EMAIL PROTECTED]> wrote:

Hi,

I agree on this. So basically, I should add in core a test to skip the
storage of jcr:root tag?

Nicolas


On 8/8/06, Jukka Zitting < [EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On 8/8/06, Nicolas < [EMAIL PROTECTED]> wrote:
> > When I try to import a whole workspace, here is the exception thrown:
> > /jcr:root: mandatory child node {http://www.jcp.org/jcr/1.0}system
> <http://www.jcp.org/jcr/1.0%7Dsystem> does not
> > exist. I don't understand why it happens and how to correct it: the
> root
> > node has children...
>
> It seems that the importer is trying to recreate the root node. We
> should probably add special handling of jcr:root in the importer code,
> so that importing "<foo/>" and "<jcr:root><foo/></jcr:root>" (or the
> equivalent system view) under the root node should both result in the
> creation of a "foo" node just below the root node.
>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
> Software craftsmanship, JCR consulting, and Java development
>



--
a+

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




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

Reply via email to