Hi,
I'm using XHTMLText to add rich formatting to my client, following the example here http://www.igniterealtime.org/builds/smack/docs/latest/documentation/extensions/. Looking at it though it doesn't seem to conform to XEP-0071. According to http://xmpp.org/extensions/xep-0071.html , the xhtml in a message should be in the following format:
<message>
<body>hi!</body>
<htmlxmlns='http://jabber.org/protocol/xhtml-im'>
<bodyxmlns='http://www.w3.org/1999/xhtml'>
<pstyle='font-weight:bold'>hi!</p>
</body>
</html>
</message>
Using XHTMLText there doesn't seem to be a way to add the namespace to the body tag, for example the closest you can get to the above is:
<message>
<body>hi!</body>
<htmlxmlns='http://jabber.org/protocol/xhtml-im'>
<body>
<pstyle='font-weight:bold'>hi!</p>
</body>
</html>
</message>
Not sure if I'm missing something or if this is a known issue?