<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>We're just using the current
xdb_file...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--temas</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=skurdziel@leapwireless.com
href="mailto:skurdziel@leapwireless.com">Stanley Kurdziel</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=jdev@jabber.org
href="mailto:jdev@jabber.org">jdev@jabber.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=thnguyen@leapwireless.com
href="mailto:thnguyen@leapwireless.com">Thanh Nguyen</A> ; <A
title=cowen@leapwireless.com href="mailto:cowen@leapwireless.com">Charles
Owen</A> ; <A title=skurdziel@leapwireless.com
href="mailto:skurdziel@leapwireless.com">Stanley Kurdziel</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, July 12, 2001 7:41
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [JDEV] Bug: Status messages
truncated before quote char</DIV>
<DIV><BR></DIV>
<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></BLOCKQUOTE></BODY></HTML>