On 23.12.2014 11:41, Bartosz Małkowski wrote: > >> Wiadomość napisana przez Florian Schmaus <[email protected]> w dniu 23 gru >> 2014, o godz. 11:14: >> >> I see two design issues. You already mentioned the custom type value. >> Never invent new values for defined (top level) elements or new >> attributes (XEP-0134 § 2.1). >> >> Also your custom (OTR) payload should (must?) be encapsulated into a >> extension element. So your example becomes: >> >> <message to='[email protected]'> >> <otr xmlns='urn:xmpp:otr:1'> >> <!-- OTR payload here --> >> </otr> >> </message> > > Don’t shoot! > I assume that it was just example to illustrate solution. > :-)
Of course. I just don't want to leave those examples uncommented, otherwise people may start considering that as a good/valid example. - Florian
signature.asc
Description: OpenPGP digital signature
