[JDEV] A Protocol Dev. Carification
Peter Saint-Andre
stpeter at jabber.org
Wed Apr 30 21:34:05 CDT 2003
On Wed, Apr 30, 2003 at 06:49:35PM -0600, David Waite wrote:
> nope, from
> http://www.jabber.org/ietf/draft-ietf-xmpp-core-11.html#stanzas-attributes-id
> :
>
> The optional 'id' attribute MAY be used to track stanzas sent and
> received. The 'id' attribute is generated by the sender. An 'id'
> attribute included in an IQ request of type "get" or "set" SHOULD be
> returned to the sender in any IQ response of type "result" or "error"
> generated by the recipient of the request. A recipient of a message or
> presence stanza MAY return that 'id' in any replies, but is NOT REQUIRED
> to do so.
>
> Of course, it is not possible to programmatically account for the SHOULD
> behavior on results and errors; the whole point of the 'id' is to enable
> endpoints to match asynchronous requests with their responses. Perhaps
> something to bring up to the XMPP working group?
IIRC we had that as a MUST in an earlier version of XMPP Core but I'd
have to look through CVS to find it. I know we've talked about SHOULD
vs. MUST for id attributes on IQ stanzas, and it sounds like we may need
to think about it some more. I would have no problem making that a MUST
but this is not the forum for such a discussion. :)
Peter
More information about the JDev
mailing list