Two things:
1. jabber:* namespaces are reserved for officially supported namespaces. JSM
actually is supposed to block any jabber:* namespaces which it does not understand
as of 1.4.

2. you will need to write a JSM component in order to transfer your iq request to
an xdb request, specifically if you have any security requirements (such as, other
users cannot access this data from you, or can only access it if they are on your
roster). If it is to have no access restrictions, you may want to look at the xml
storage draft @ http://docs.jabber.org/draft-proto/html/xml.html , and the code (I
believe jsm/modules/mod_xml.c) to see if you could just tack into that.

-David Waite

Maciek Borowka wrote:

> Hello,
> We have developped our version of xdb module that fits our particular needs.
> We have our own jabber client also (OK, we are going to have ;+).
>
> Now, we would like to ask the jabber server for some informations and
> we would like it to pass our query to our xdb module. I was thinking about
> definition of the new namespace, but I don't know how to say the server
> not to interpret it on its own, but to leave xdb take care about it. I suppose,
> I will need to put something in jabber.xml file.
>
> So, what I would like is to be able to ask the server:
> <iq type='get'>
>   <query xmlns="jabber:iq:maciek"/> //perhaps, I should call it: jabber:x:maciek
> </iq>
>
> And have the server that pass it to xdb and then pass its reply back to client:
> <iq type='result' to='[EMAIL PROTECTED]'>
>   <item>my item1</item>
>   <item>my item2</item>
> </iq>
>
> How can I do it? Do I need actually to modify anything in jabber.xml or perhaps
> the query will be passed to to xdb automaticaly?
>
> Maciek
>
>
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev


_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to