[JDEV] XML in messages body

Keith Minkler keith at digix.net
Mon Dec 6 12:30:40 CST 1999


Yes, the .7 version of the server unescapes those tokens... the .8 version
will reescape them properly.  If allgoes well, that version should be out
tonight...

Keith Minkler
  -----Original Message-----
  From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
Franci Penov
  Sent: Monday, December 06, 1999 11:08 AM
  To: jdev at jabber.org
  Subject: [JDEV] XML in messages body


  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?

  Regards, Franci Penov
  ===================
  WebMessenger Inc
  francip at webmessenger.bg
  ===================
  Do you like good jokes? :-))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/19991206/bcf703c3/attachment-0002.htm>


More information about the JDev mailing list