Tobias,

Are you sure no modifications are done (update of the UUID for instance)? I
have tried the way you described and it didn't seem to work properly. I had
no error but when I reexport the subtree, its weight was half on the
original.

I had add a look at the JSR170 spec on this and it seems some kind of
treatment must apply to the nodes reimported...

Am I misunderstanding something please?

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

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

> Hi Tobias,
>
> The issue I have is nothing allow
>
> It's really simpler for me to update all protected nodes, restore the
> version history and then switch back to the protection. However to do
so, I
> don't see any other option than adding a method reregisterBuiltIn in the
> NodeTypeManager... I am not sure if it's a wise decision. Besides when I
> try  commenting those check, the import is false. I think some reference
are
> out of date...
>
> So unless you have a better idea, I have to implement an importXML
method
> for the Versioning. This method will have to be in core and would import
any
> /jcr:system/jcr:versionStorage of Jackrabbit.
>
> What do you think of this solution? Do you have a better idea?
i would write an own org.apache.jackrabbit.core.xml.Importer that does
not check the protected states, and then use this one for the version
workspace. i would even setup an own fake workspace for the version
storage and not go via the normal one.

regards, toby
--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to