[JDEV] Conference quote cutoff problem

Alejandro Kapauan akapauan at lucent.com
Tue May 15 09:21:28 CDT 2001


I have jabber-1.4.1 and conference-0.4.1 running on a SUN Sparc Solaris
2.6 box and am observing a problem with conferencing. Message bodies
sent to a conference with any quotable character (e.g. " ' ;) are cut
off at the character. For example, if the client sends a message
test1"test2" (body only shown here):

<body>test1&quot;test2&quot;</body>

the following is sent back to the conference:
<body>test1</body>

After looking at the debug messages, and adding a few log_debug() lines
in the code, it looks like the message gets clobbered when xmlnode_dup()
is called from con_room_sendwalk() (appox. line 97 in
conference_room.c). The original xmlnode passed to xmlnode_dup() is
okay, but the xmlnode returned by the function has the quote-cutoff
problem above.

Is there anyone familiar enough with the xmlnode library code to be able
to point me to the problem? If I had the time, I'd probably work on this
some more, and become familiar with the xmlnode implementation, but I'm
just putting the server together on the side. (There are
hearing-impaired engineers at my location who find jabber *very*
useful!)

-Alejandro Kapauan
akapauan at lucent.com



More information about the JDev mailing list