[JDEV] Custom Namespaces..

Peter Saint-Andre stpeter at jabber.org
Wed Apr 17 09:01:34 CDT 2002


And of course you need to have components and clients that understand
these namespaces. :)

Peter

--
Peter Saint-Andre
email+jabber: stpeter at jabber.org
weblog: http://www.saint-andre.com/blog/

On Wed, 17 Apr 2002, David Waite wrote:

> Ritu Khetan wrote:
> 
> >Hi Peter,
> >
> >  I did go through the IETF draft and DJ\'s book, but
> >both of them do not discuss this in detail. I know that
> >jabber: cannot be used for custom namespaces.
> >I would like to have an example of declaring and
> >defining a custom namespace altogether.
> >Something like ritu:x:portfolio where I would like to
> >have a service to add stock information like:
> ><portfolio xmlns=ritu:x:portfolio jid=portfolio at localhost>
> >  <stockname>ABC</stockname>
> >   <price>12</price>
> >   <date>20020417</date>
> ></portfolio>
> >
> That appears to be correct - you just put custom information in its own 
> namespace (not prefixed with "jabber:"), and send it off wrapped in 
> another packet, such as an IQ.
> 
> -David Waite
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 




More information about the JDev mailing list