[Standards] IMML

Alex Jones alex at weej.com
Tue Aug 7 12:21:31 UTC 2007


On Tue, 2007-08-07 at 14:12 +0200, Matthias Wimmer wrote:
> Hi Alex!
> 
> Alex Jones schrieb:
> > <message>
> >   <text>This is <imml:em>not</imml:em> a joke <imml:icon>;-)</imml:icon>
> > <imml:uri>http://notajoke.org</imml:uri>
> > </message>
> > 
> > The beauty of this is that (specification permitting) if the client
> > wishes to ignore the IMML markup and process the message as a
> > traditional plain text message, it can. The message IS backwards
> > compatible! This is exactly the way HTML works with respect to "unknown"
> > elements.
> 
> In HTML this behaviour is defined, but XML is not HTML. You should not 
> expect the Jabber clients to ignore these extra tags. They typically do 
> parse the stanza and create some sort of a DOM like tree out of it. 
> Depending on how they implemented it, I expect you will get displayed 
> most of the time something out of that:
> 
> - "This is "
> - " a joke "
> - "This is  a joke "
> - ""

Ah, ok. Shame. It does beg the question as to whether or not it would be
a good idea to bring that behaviour into XMPP messages, though. But
that's for another thread. :)




More information about the Standards mailing list