[JDEV] CDATA in messages

Jens Askengren jens.askengren at tim.se
Wed Aug 28 07:33:26 CDT 2002


I just had a discussion about xml over jabber..

I typed something like this:

	<![[CDATA[ hello ]]>

but my peer recieved 

	  hello 

So the CDATA tag was interpreted somewhere in the
message chain: Exodus <-> jabberd <-> Gabber.

Repeating the test while the recipient was offline, resulted in
a message with <body> hello </body> beeing stored in the jabberd spool
file.

Either jabberd or the clients are broken I guess. 
But the clients does encode regular tags correctly. I dont understand
why a CDATA tag should be trated differently.


-- 

Jens Askengren

Teknik i Media Sverige AB (publ)
Address: Södra förstadsgatan 2, SE-211 34 Malmö, Sweden
Tel: +46 40 601 57 00 (vx)
Mobile: +46 704 20 57 17
Fax: +46 40 601 57 99
http://www.tim.se

DISCLAIMER: "The information contained in this email and any attachment
is
confidential. It is intended only for the named addressee(s). If you are
not the named addressee please notify the sender immediately and do not
disclose, copy or distribute the contents to any other person other than
the intended addressee(s)."




More information about the JDev mailing list