[Jingle] Typo and possible clarification in XEP 0166

Peter Saint-Andre stpeter at stpeter.im
Mon Apr 20 09:29:12 CDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

Good point!

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.

Peter

- --
Peter Saint-Andre
https://stpeter.im/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknshrgACgkQNL8k5A2w/vzeywCfaZT7xfF8bqS7dAbD6Vu6O3mk
uV8AoJgFanta/VxFv9m9oI4mgs+QaFDx
=mRNR
-----END PGP SIGNATURE-----


More information about the Jingle mailing list