On Tue, Jan 6, 2009 at 6:50 PM, Diego Marin Santos <[email protected]> wrote: > when we save a file on repository we create a node with the name of this > file(let's name it filename node) and a child of this node, named > "jcr:content", representig the file actually. My question is which node > should i make versionable? filename node or "jcr:content" node?
That depends... If you could think of having child-nodes other than jcr:content under the file node (special meta-data, etc.) it makes sense to version the jcr:content node only. But if there is data on the file node that should get versioned together with the content, you should version the file node. Regards, Alex -- Alexander Klimetschek [email protected]
