jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AJ Chen" <cano...@gmail.com>
Subject Re: UUID not created when importing xml
Date Mon, 30 Jul 2007 16:49:04 GMT
Stefan,
Thanks for reminding me the difference between system and document views. I
changed to exportSystemView() and it worked beautifully.

-aj

On 7/30/07, Stefan Guggisberg <stefan.guggisberg@gmail.com> wrote:
>
> hi aj,
>
> On 7/29/07, AJ Chen <canovaj@gmail.com> wrote:
> > Using session.exportDocumentView(), I export a referenceable node (with
> > jcr:uuid) to xml file, and I verify that the xml has the uuid.  But,
> when
> > importing this file, the uuid is not created, regardless which
> > ImportUUIDBehavior is used. My goal is to restore the node with the
> original
> > uuid. Any idea why UUID is not automatically created during importing?
>
> could you please provide a small test case, incl. a small xml file?
>
> btw: please note that the document view serialization format is not
> meant for roundtripping (export/re-import). whenever possible you
> should use system view format for roundtripping.
>
> cheers
> stefan
>
> >
> > Thanks,
> > AJ
> > --
> > AJ Chen, PhD
> > Palo Alto, CA
> > http://web2express.org
> >
>



-- 
AJ Chen, PhD
Palo Alto, CA
http://web2express.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message