On Tue, May 27, 2008 at 2:07 PM, Joshna Reddy <[EMAIL PROTECTED]> wrote: > Hi > > Thanks for the help.I have tried out using System View and it works fine for > non versionable content. > > I am able to export and import the content. > > But with versionable content , jcr:isCheckedOut property is changed to > "true" for the node . > > Exported Xml has <sv:property sv:name="jcr:isCheckedOut" > sv:type="Boolean"><sv:value>false</sv:value></sv:property> > > When the same xml is imported why is jcr:isCheckedOut made "true" .It is > supposed to be "false" according to xml. Because of this i am running in to > versioning issues in my application.
jcr:isCheckedOut represents 'meta' data which is controled by the repository. AFAIK a new versionable node is always checked-out initially, hence jcr:isCheckedOut=true. cheers stefan > > Any help would be appreciated. > > -Thanks > K.Joshna > > On Mon, May 26, 2008 at 5:30 PM, Stefan Guggisberg < > [EMAIL PROTECTED]> wrote: > >> hi >> >> On Fri, May 23, 2008 at 12:08 PM, Joshna Reddy <[EMAIL PROTECTED]> >> wrote: >> > Hii >> > >> > I have exported a node structure using exportDocumentView(....) and >> written >> > it a file. >> > >> > In the exported xml document jcr:mixintypes property is not present i.e >> > mixin types of the node are not exported >> >> that's a known limitation of the document view xml mapping. >> multi-valued properties, incl. jcr:mixinTypes, are omitted on document >> view export. see http://issues.apache.org/jira/browse/JCR-325 for a >> discussion of multi-valued property representation in the document view >> xml mapping. >> >> please see also section 6.4.2.5 in the JSR 170 spec. >> >> please note that the document view xml mapping is per definition 'lossy' >> and not guaruanteed to roundtrip properly. if you need xml roundtripping >> you should use system view export instead. >> >> cheers >> stefan >> >> > >> > Later when i tried to import the same node structure using importXML(...) >> > >> > I see that jcr:uuid property is not created . I have tried out using >> > ImportUUIDBehaviour.CREATE_NEW >> > >> > Why does export and import take care of mixin types. >> > >> > Is there any thing obvious that i am missing . >> > >> > Please help me out .... >> > >> > Thanks >> > K.Joshna >> > >> >
