On Thu, Jul 19, 2007 at 10:06:29AM -0600, Zhiwu Xie wrote: > Then what will happen if I remove one file from an item and add > another file? Will the new file get the old handle or a new one or I > can choose?
I suppose this largely depends on the behaviour of the versioning system we put in place (the results so far from the Summer of Code project are very promising, and I would personally hope this functionality to appear in the 1.6 release). My initial reaction would be to say that it's a different file, so it gets a different identifier. With a versioning system in place, however, the two versions would both exist, and would be linked by the version chain, so if a link to an "old" version is followed there would be (I would imagine) some indication that the file has since been replaced. I'm a bit of an identifier purist though; if two things are different, it makes me *very* uncomfortable giving them the same identifier. An alternative solution (that I just thought of while writing that) is that subsequent versions of files inherit the external identifiers of all previous versions, as well as getting a newly minted one. This would mean that if DSpace received a request to return an object with identifer 1234/56 and this identifier exists for versions 1, 2, and 3 of a file, then DSpace could offer all three, making clear the relationships between them. cheers, Jim -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP CONFIDENTIAL". ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

