[JDEV] Rich Text in Messages

DJ Adams dj.adams at pobox.com
Wed Dec 20 02:19:37 CST 2000


On Tue, Dec 19, 2000 at 08:23:31PM -0700, Dave Smith wrote:
  
> /me prepares for a fun discussion...
  
:-)

> Clients should not have to know _anything_ about XHTML("rich text") in order
> to display message, IMHO. Hence the <body> tag only contains plain text. If

Totally agree.

> embedding display/rich text capabilities with the <presence> packet that a client
[...]
> <presence>
>       <x xmlns='jabber:x:capabilities'>
>             <xhtml-message/>
>             ...
> That would allow other clients to get pushed the proper information -- no 
> compliated semantics for request/respond stuff (although that's easy enough
> through <iq>) I just like the concept of having capability information pushed. :)
> 

IMHO <presence> should be for presence, and feature discovery should be 
done with iq; there's a namespace that nearly fits the bill - 
jabber:iq:version. I wouldn't look forward to '<presence> bloat' that 
would happen if we did start adding extensions to it. There is a fine 
balancing trick between matching what you (as a client) need and what you
want, with push and pull.

That will be 2 pence please ;-)

dj




More information about the JDev mailing list