[jdev] Proper use of <composing/>

Mark Derricutt mark at talios.com
Sun Aug 28 22:15:28 CDT 2005


Hey all, just getting back into some XMPP dev and was wondering about 
the <composing/> element inside a message.

I added some code to ignoring messages there were being "composed" on 
the assumption that it's not the final message, and that I'd be 
expecting a copy without a <composing/> element once the user has sent 
the final message.

However, the more I look at this, the more I see clients sending only 
one final message with the entire message content AND the <composing/> 
element.

<message to="talios at gmail.com/mobile" 
from="dantekgeek at gmail.com/AdiumEC5BBF13" type="chat"><body>and now I 
see you on IRC</body><x xmlns="jabber:x:event"><composing/></x><html 
xmlns="http://jabber.org/protocol/xhtml-im"></html></message>


Does anyone have a pointer for a JEP for this composition message?  I 
can't seem to spot which its in.  I'm sure my assumptions are wrong 
(which is more logical than the alternative that everyone else has it 
wrong)....

Cheers,
mark



More information about the JDev mailing list