On 1/30/06, David Powell <[EMAIL PROTECTED]> wrote:
>
> Monday, January 30, 2006, 12:34:28 PM, Joe Gregorio wrote:
>
> > On 1/29/06, James M Snell <[EMAIL PROTECTED]> wrote:
> >>
> >> Oooh.. here's a question.  If I post a entry to your collection once
> >> with a title of "Hello World", it creates an entry with an id of
> >> "tag:bitworking.org,2005-10-21:livestore:HelloWorld".  Fair enough.. but
> >> if I delete that entry and create a new entry with the same title... it
> >> uses the exact same id!  aren't these id things supposed to be
> >> universally unique ;-)
>
> > How do you know that it isn't the same entry? Maybe I deleted it by
> > accident.
>
> This is similar to the problem of clients using POST to implement an
> "import" of entries from another system, and the server rewriting the
> ids.
>
> We don't say anything about the effects of atom:id in a posted entry.
> I expect that some client implementors will be surprised when
> implementations change the atom:id, as some servers will; especially
> when this is obviously in violation of the atom syntax id rules.

I don't think this behaviour is in any way "obviously in violation"
of the atom syntax rules since the server had no way of
determining if the incoming atom:id is universally unique to
begin with, nor does it know the 'intent' of the author, which
may be that a new atom:id should be generated:

  http://www.imc.org/atom-protocol/mail-archive/msg02515.html

   -joe

--
Joe Gregorio        http://bitworking.org

Reply via email to