James M Snell wrote:
> 2. To address the concerns James Holderness had about using attributes
>     vs. elements, I have moved the two most important pieces of
>     information in the tombstone (the entry id and timestamp) into
>     attributes.  For instance,
>     <at:deleted-entry ref="..." when="..." />
> 
>     The by and comment are still elements.

I honestly don't understand what was so hard about the element-based encoding. 
I've implemented a parser for the element-based syntax using SAX--basically the 
most tedious parsing mechanism there is--and it was not inconvenient in the 
least.

"by", "comment," and "when" are not specific to deletion--they apply to entry 
creation and entry editing as well. If we can get by without these properties 
for POST and PUT, then we don't need them for DELETE either. K.I.S.S.

In place of "when", atom:updated and/or app:edited should be used. Deleting an 
entry is definitely a "significant" change (atom:updated) and it is definitely 
an edit (app:edited). This will also make it easier to see how the tombstones 
are to be sorted/paged in feeds that are sorted by one of these dates. The 
draft also needs to specify how the tombstones are interpolated with entries.

- Brian


Reply via email to