[jdev] iq:private question

Craig Hollabaugh craig at hollabaugh.com
Thu Jun 3 19:03:37 CDT 2004


Thanks for replying.

On Thu, 2004-06-03 at 16:16, Robert Norris wrote:
> > Does returning mod_PASS mean that my iq queries with
> > xnlns='jabber:iq:private' will be routed to my custom client?
> It looks like j2 will pass it on to the client, thats correct. Whether
> it should is another story - I think the results of such an action
> (using a predefined namespace in a non-standard way) is undefined at
> best.

I'm not actually using the predefined namespace in a non-standard way.
I'm implementing a private data store for my non-IM clients with
additional features above those offered by jabberd. I'd like to do that
with a standard server (without modifying the source code). 

If jabberd v2 passes my iq packets on to clients, then the developers
have properly implemented JEP-0049. If a 'to' attribute exists then the
server should honor it. In v1.4.3, I don't know why this namespace is
handled like a special case. 

> > ps. I want to use the jabber:iq:private namespace for my app instead
> > of developing a new one that does the same thing.
> If you want to guarantee that it works correctly everywhere, use a
> custom namespace.

There's no need to 're-invent the wheel' here.

Rob thanks for replying on the return mod_PASS question. I'll get
jabberd2 running and get back to coding.


Dr. Craig Hollabaugh, craig at hollabaugh.com
Author of Embedded Linux: Hardware, Software and Interfacing

More information about the JDev mailing list