[Jingle] Typo and possible clarification in XEP 0166
stpeter at stpeter.im
Mon Apr 20 09:29:12 CDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
On 4/19/09 10:36 PM, Justin Uberti wrote:
> One thing I noticed is that we don't have any defined semantics for
> handling ties on the call initiation (i.e. if A and B call each other at
> the same time). This happens more often than you would expect, and there
> are some easy things we could do to handle this scenario (e.g. lowest
> JID or session id wins). To have this actually work across all clients,
> we would need to explicitly specify this. Thoughts?
Given the possible problems with JID comparison (not everyone does
stringprep correctly), I think that comparing session IDs might be
safer. But that means we might want to specify the allowable characters
for session IDs a bit more carefully (e.g., say that they need to match
the NMTOKEN datatype).
... Well, checking the schema I see that we already say this:
<xs:attribute name='sid' type='xs:NMTOKEN' use='required'/>
So that would work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Jingle