[jdev] Authority component in xmpp: URIs

Norman Rasmussen norman at rasmussen.co.za
Thu Feb 26 15:51:45 CST 2009

On Thu, Feb 26, 2009 at 1:26 AM, Peter Saint-Andre <stpeter at stpeter.im> wrote:
> That is, a nodeid MUST NOT be of zero length, so that's a spec bug in
> RFC 5122. See also:

pity, so something like: xmpp:?message;body=1

would be invalid?

It would be particularly useful to insert as an xhtml a href in a menu
structure (instead of using pure adhoc with disco).  Otherwise the
menu bot or whatever is sending the xhtml has to insert it's own jid
into the message, which means any sort of jid conversion breaks (not
that xmpp land should be doing jid conversion anywhere). i.e.
bot at example.com has to send: choose <a
href="xmpp:bot at example.com?message;body=1">Option 1</a> or <a
href="xmpp:bot at example.com?message;body=2">Option 2</a>.

I guess it would be useful for muc joins too: eg,
room at conference.example.com could send: click <a
href="xmpp:?join">here</a> to join. (as part of the invite for clients
that don't understand the muc#user/x invite?)

Not sure if that's good or bad? and/or should we care?

- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/

More information about the JDev mailing list