[JDEV] CDATA in messages

David Waite mass at akuma.org
Wed Aug 28 13:31:27 CDT 2002


Hmm, I sent

<![CDATA[FOO]]>

and it really sent
SENT: <message id="jcl_200" to="testuser at jabber.org" 
type="chat"><thread>da80858c73f3de63ce3cc8c599e8cacc1c60993c</thread><body><![CDATA[ 
foo ]]></body><x xmlns="jabber:x:event"><composing/></x></message>

You didn't send <![CDATA[boo]]>, you sent <![[CDATA[ foo]]> (note the 
extra '[')

And sending

&lt;

<message id="jcl_201" to="testuser at jabber.org" 
type="chat"><thread>da80858c73f3de63ce3cc8c599e8cacc1c60993c</thread><body>&lt;</body><x 
xmlns="jabber:x:event"><composing/></x></message>

-David Waite (noting that his effort to keep this from becoming a jdev 
thread failed ;-))





More information about the JDev mailing list