<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2> Please give more information
regarding the encryption being used within the message. Are you encrypting
the body of the message? All tags under the message tag? Perhaps a
simply paste to the list of an example may reveal exactly why it gets rejected
as invalid XML. Most likely cause, improper escaping of XML strings.
I've testing sending messages using the | char, without any issues at
all..</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:chandans@mahindrabt.com" title=chandans@mahindrabt.com>chandan
sonaye</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:jdev@jabber.org"
title=jdev@jabber.org>jdev@jabber.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 28, 2000 2:39
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [JDEV] encryption</DIV>
<DIV><BR></DIV>Hi all, <BR> I am working
in a Internet based project where we are using Instant Messaging
<BR> service using Jabber Server. ( Using
Win32 COM Object. ) <BR> We are
implementing security featrure in Jabber IM service at client side.
<BR> While sending message, we first
encrypt it, send message to server, store it at
<BR> server in encrypted form and
then decrypt it at client side when he receives
<BR> message. But we are facing
following problem. <BR> <BR>
1. When we send a message to another client, It goes thr jabber server.
<BR>
At that time, message is in encrypted form. When jabber server receives
<BR>
encrypted message, it gives error "Invalid XML received" . <BR>
<BR> 2. If we <B>remove encryption</B>,
and send message which contains characters
<BR> like ¦ (
ascii value = 199) or other characters like that , then jabber server
<BR> responds with
same error that "Invalid XML received" . <BR>
<BR> So message is
not forwarded to other client.
<BR> Doesn't
jabber server support these characters in message body?
<BR> If it doesn't
support, then how can we encrypt it since while encryption,
<BR> these
characters will come in message body.
<BR> How can we handle
this issue of security?
<BR> Can you provide
some solution to this or alternative to this ?
<P> Thanking in advance,
<P> chandan . <BR>
<P> <BR>
<P> </P></BLOCKQUOTE></BODY></HTML>