Ambiguous example for COPY in RFC 4918
Federico Di Gregorio <fog <at> dndg.it>
2012-08-29 10:29:26 GMT
this is my first post to this list so, if this is not the correct
mailing list to discuss the topic, please, just tell me and I'll forward
it to a more appropriate forum.
We're working at a C# implementation of RFC 4918 and while most parts of
it are quite clear we found one example that, if taken with the text
preceding it, is quite puzzling. About a COPY operation with infinite
Depth and Overwrite:T the RFC says:
9.8.4 COPY and Overwriting Destination Resources
When a collection is overwritten, the membership of the destination
collection after the successful COPY request must be the same
membership as the source collection immediately before the COPY.
Thus, merging the membership of the source and destination
collections together in the destination is not a compliant behavior.
But the example "9.8.8 Example - COPY of a Collection" says that
"[...]Because there was an error copying R2, none of R2's members were
copied.[...]". Our understanding is that in the destination tree
/othercontainer/R2/ is still the member from the original
/othercontainer/ collection while R2 siblings in the source collection
/container/ have been copied correctly.
E.g., if we're asked to COPY