<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE></TITLE>
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2>Actually, I was composing an email regarding truncation of offline
messages, when I saw your email :-)</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>I am
running jabber server 1.4.1 on Linux.</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>This
problem only happens when the receiving user is offline, and is not just
restricted to status elements. I noticed this problem during sending
regular messages. Here's the problem's I
observed:</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>1.
Sending a message with <body>'message</body> will end up
with only <body>&apos;</body> in the <username>.xml
file</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>2.
Sending a message with <body>"message</body> will end up
with only <body>&quot;</body> in the <username>.xml
file</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>3.
Sending a message with <body>part1"part2</body> will end
up with only <body>part1</body> in the <username>.xml
file</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>4.
Sending a message with <body>part1'part2</body> will end
up with only <body>part1</body> in the <username>.xml
file</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>Maybe
it's a bug in xdb_file, since the messages are sent fine if both users are
online.</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2>Interestingly, this does not happen on the jabber.org
server... Is jabber.org using xdb_file? or
xdb_<something else></FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>Or has
a fix been applied to jabber.org?</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff size=2>Thanks
for any information,</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666081921-12072001><FONT face=Arial color=#0000ff
size=2>-sek</FONT></SPAN></DIV>
<DIV><SPAN class=666081921-12072001></SPAN><FONT face=Tahoma><FONT face=Arial
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT
face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT></FONT> </DIV>
<DIV><FONT face=Tahoma><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR><FONT size=2>-----Original
Message-----<BR><B>From:</B> Jens Alfke [mailto:jens@mac.com]<BR><B>Sent:</B>
Thursday, July 12, 2001 12:03 PM<BR><B>To:</B>
jdev@jabber.org<BR><B>Subject:</B> [JDEV] Bug: Status messages truncated before
quote char<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>I have noticed that status messages (i.e. <status> elements in a
<presence> element) containing a quote character are truncated before
that character — but only when forwarded by the server upon client login, not
when they're sent in real time to an already logged in client. </P><BR>
<P>I've verified that my client<I> sends</I> XML metachars properly to the
server, and that the problem exists in the raw XML received by the client, not
in my XML parsing. </P><BR>
<P>This is with the 1.4.1 server running on Solaris. Anyone else seen this?
</P><BR>
<P><FONT face="Marker Felt" color=#005101
size=7>—Jens</FONT></P></BLOCKQUOTE></BODY></HTML>