[JDEV] XML in messages body

Franci Penov francip at webmessenger.bg
Mon Dec 6 12:38:36 CST 1999


Hi Thomas,

Yes, i am pretty sure this was the output from the socket, as i conducted
some experiments with plain ol' telnet (somebody should provide a
shorthanded way for logon from telnet ;-))).
So, from what you've said and from what i understood, it comes out that this
is an erro, which i hope will be resolved in some future release, am i
right?

Regards, Franci Penov
===================
WebMessenger Inc.
francip at webmessenger.bg


> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
> Thomas Charron
> Sent: Monday, December 06, 1999 20:05
> To: jdev at jabber.org
> Subject: Re: [JDEV] XML in messages body
>
>
> Quoting Franci Penov <francip at webmessenger.bg>:
> > Hi,
> > I have a question. I am trying to send messages with XML inside
> of message
> > body. I have a simple client, which tokenises all '<', '>',
> etc. inside of
> > the message body. However, on the other side i got them untokenised.
> > Example:
> > Sent message:
> > <message to='user at jabber1'>
> > <body>&lt;some xml body&gt;</body>
> > </message>
> > Received message:
> > <message to='user at jabber1'>
> > <body><some xml body></body>
> > </message>
> > Now, as i saw in messages.dtd everything in message body should
> be treated
> > as CDATA. Doesn't this mean that Jabber should not untokenise
> message body?
>
>   No, it shouldn't be.  Are you sure that's what's comming from
> the socket, and
> you're not viewing the untokenized content?
>
>   Perhaps jserver is reassembling the packet, and is causing the issue..
>
> ---
> Thomas Charron





More information about the JDev mailing list