[Standards] [xmppwg] encapsulating NodeIDs in XMPP URIs

Peter Saint-Andre stpeter at stpeter.im
Wed Dec 12 10:37:18 CST 2007


Dave Cridland wrote:
> On Wed Dec 12 15:49:10 2007, Ralph Meijer wrote:
>> In line with XEP-0147, I would like to register the empty string as a
>> XMPP URI/IRI Querytype for the purpose of pointing to a specific note
>> without implying a particular action.
> 
> Actually, this strikes me as particularly good.

Interesting. :)

> URIs are, supposedly, used for addressing an object. However, the
> resolution of a URI - getting at the object data - usually supposes a
> particular action be used. In some cases, where URIs don't provide a
> useful action, this is a pain. "http" scheme URIs suffer from this,
> because we can't say "Open this URI as a WebDAV collection", or
> "Checkout this resource as a DeltaV working copy".
> 
> But sometimes it's very useful to use a URI purely as an address, and
> "xmpp" scheme URIs do suffer from the problem that there usually *is* an
> explicit action.

Not necessarily, though. A URI like xmpp:ralphm at ik.nu simply identifies
the entity.

> So I quite like the notion of using the empty query type as an explicit
> action of no action - addressing a node is one such case, but I suspect
> there may be others. (Maybe not today, maybe not tomorrow, etc)

So if there is no node identifier involved, are you suggesting that we
would do (2) instead of (1) below?

1. xmpp:ralphm at ik.nu
2. xmpp:ralphm at ik.nu?

How do we know that the query type is indeed empty? Do we need to do (3)
instead?

3. xmpp:ralphm at ik.nu?;

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/standards/attachments/20071212/f98f195d/attachment-0001.bin 


More information about the Standards mailing list