- From: Ashok Malhotra <ashok.malhotra@oracle.com>
- Date: Tue, 29 Jan 2013 16:14:44 -0500
- To: "public-ldp-wg@w3.org" <public-ldp-wg@w3.org>
I think we are converging, so I'm writing this up as a proposal for collection handling. 3. Can collections contain collections? A. Yes, collections contain collections Collections are LDPRs and should be added to collections like any other LDPR. B. To add a collection to a collections, POST a (child) collection representation to a (parent) collection. C. Thus, a collection can contain a mix of members and collections. Some of the members may be links to LDPRs D. If you GET all members of a collection that is nested, you get all the contents, members and collections at the top level. That is, you do not get nested members. E. If you delete a collection you delete everything it contains. For nested collections this leads to a cascaded delete. F. If you do not want a member to be deleted when the collection is deleted, do not include the member in the collection but rather include a link to the member in the collection. I realize that E and F are controversial. If you disagree. Please indicate which parts of the proposal you disagree with. -- All the best, Ashok
Received on Tuesday, 29 January 2013 21:15:14 UTC