[JDEV] client to client communication using jabber?

Ulrich Staudinger chicago5 at gmx.de
Sat Jan 4 13:25:16 CST 2003


To Dan:
and i think you should put your data inside the x-tag of a message ... 


regards,
ulrich


> "Dan" <vze2ry7c at verizon.net> wrote on 4-1-2003 18:42:23:
> >
> >>From what I can gather from the specs it is also perfectly legal to 
> >send XML payloads within the BODY element. Is this correct?
> 
> I doubt that the DTD for a message allows you to put additional XML 
> into a body tag, but even if is does.. 
> 
> >
> >Is there any reason why I should not use the body element for 
> >packaging xml payloads?
> 
> Why would you want to put it inside the body tag? Besides that it's not 
> meant for that and the DTD probably does not allow it, why not send it 
> outside the body tag? Sure winjab doesn't do anything with it.. why 
> should it? It doesn't understand your namespace. Only your own app has 
> to understand it. 
> 
> The fact that winjab actually *shows* the XML you put in the body just 
> indicates that either Winjab is buggy when parsing XML, or that you're 
> actually not sending XML but a normal (escaped) character sequence. 
> 
> 
> 
> -- 
> Tijl Houtbeckers
> Java/J2ME/GPRS Software Engineer @ Splendo
> The Netherlands
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 

-- 
Ulrich Staudinger http://www.die-horde.de http://www.igpp.de 
Product Manager @ http://complat.sourceforge.net/jnlp/ 
JID: uls at jabber.org 




More information about the JDev mailing list