[jdev] Reproducability of XEP-0115: Entity Capabilities - 5.3 Complex Generation Example
sgolovan at nes.ru
Tue Apr 22 03:06:08 CDT 2008
On 4/22/08, Stephan Maka <stephan at spaceboyz.net> wrote:
> Yann Leboulanger <asterix at lagaule.org> wrote:
> > > Why do "http://jabber.org/protocol/caps " and
> > > "http://jabber.org/protocol/muc " include a trailing white-space,
> > > opposed to their representation in the Service Discovery result?
> > I don't see any space, but I don't see where in the disco resutl there
I guess spaces are added to allow line breaking. Hash is computed for
the string without spaces.
> Look again. I can't even reproduce with the SHA-1 method given in
Remove http://jabber.org/protocol/caps< from a hashed string and
you'll get the desired hash value.
> Because it is required. Perhaps this is a bug in the XEP?
It looks like a bug in XEP.
More information about the JDev