Ticket #8970 (new defect)
Link formatting in XHTML-IM (XEP-0071)
| Reported by: | stpeter | Owned by: | nobody |
|---|---|---|---|
| Milestone: | Adium bugs | Component: | Service/Jabber (XMPP) |
| Version: | Severity: | normal | |
| Keywords: | Cc: | ||
| Patch Status: |
Description (last modified by evands) (diff)
Adium (using libpurple 2.3.1) does not properly format links in XHTML-IM according to XEP-0071. In particular it sends the link like this:
<message from="sender" type="chat" to="recipient" id="foo" > <body>http://www.example.com/</body> <html xmlns="http://jabber.org/protocol/xhtml-im"> <body xmlns="http://www.w3.org/1999/xhtml">http://www.example.com/</body> </html> </message>
However, some Jabber clients will not treat the link as clickable because it is not formatted as a link in the XHTML-IM. The proper formatting is:
<message from="sender" type="chat" to="recipient" id="foo" > <body>http://www.example.com/</body> <html xmlns="http://jabber.org/protocol/xhtml-im"> <body xmlns="http://www.w3.org/1999/xhtml"> <a href='http://www.example.com/'>http://www.example.com/</a> </body> </html> </message>
For details, see Business Rule #10 in Section 8 of XEP-0071:
http://www.xmpp.org/extensions/xep-0071.html#bizrules
Thanks!
/psa
Change History
Note: See
TracTickets for help on using
tickets.

