[Standards] References and XHTML-IM interoperability

Tobias Markmann tmarkmann at googlemail.com
Fri Dec 2 12:00:06 UTC 2016


Hi all,

XEP-0372 [1] provides a way to link parts of a plain-text XMPP message to
related content, either via a URL or XML content inline of the reference
tag.

People are going to want at least some rich text support in their messages,
simple stuff like bold/italics/underline, or lists, etc. As XHTML-IM [2]
has currently the widest adoption as a solution for rich text among XMPP
clients, it'll help if References were to support XHTML-IM.

XHTML-IM, or HTML for that matter, traditional way to reference stuff is
via URL in combination with <img src="..."/> or <a href="..."/>.

One approach would be requiring IDs on the tags you want to reference. This
way the reference tag could simple refer to that ID, which naturally would
be UUIDs.

Another would be XPath or XPointer to have the reference tag refer to the
element from the root of the top-level-stanza.

What do you think would be the ideal solution here?

Cheers,
Tobi

[1] http://xmpp.org/extensions/xep-0372.html
[2] http://xmpp.org/extensions/xep-0071.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20161202/e48ab09a/attachment.html>


More information about the Standards mailing list