But arnt extensions supposed to normally be in an X element in the message? Thats how it always used to be wasnt it?
----- Original Message ----- From: "Peter Millard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 3:43 PM Subject: Re: [JDEV] Custom messages/extensions > Richard Dobson wrote: > > Hi Mark, > > > > Message is not really appropriate for what you want to use it for, IQ > > is the place you should be putting your extensions, in messages you > > can only add x elements into the message and you certainly shouldnt > > be defining new message types. > > Richard & Mark - > > You can totally use any elements you want inside of a message provided that > it is namespaced properly (which your example seemed to be). This is the > nature of XML and namespaces. If you're application is more of a > "transactional" flow type of thing, you may want to use something more > standardized like Jabber-RPC, or just use IQ's since it has the implied > "request-result" type of transactional flow built into the protocol. If > you're just transporting bulk payloads, messages will work fine as you > showed in your example XML. > > Peter M. > > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
