powered by Jive Software

Corrupted message

Build a collaboration client using smack library. I am using

ejabber as my server. During a collaboration session some of the messages get

corrupted not sure if it is a smack or ejabber issue.

client 1 send message:

<message id=“FB1AAC44-248A-36C7-4D6B-AF5AC988315B” to="user1@abc.com" from="user2@abc.com" type=“chat”>

<body>Sending map Parameter</body>

<thread>j8P3G0</thread>

<com:Collaboration xmlns:com=“com:ngc:collaboration:0.1:types” guid=“2CD6CD30-6D6B-0D04-6BCF-5DB7C18CDD28”>

<com:CommandList>

<com:Command status=“add” visibility=“on”>

<com:MapCommand>

           &lt;con:ViewContext xmlns:con="http://www.opengis.net/context"&gt;

<con:General>
<con:Window width=“550” height=“325”/>
<con:BoundingBox SRS=“ESPG:4326” minx="-40.22999999986501507009961642324924468994140625" miny=“79.63276078782973854686133563518524169921875” maxx=“319.7699999998650355337304063141345977783203125” maxy="-19.63276078782973854686133563518524169921875"/>
</con:General>

</con:ViewContext>

</com:MapCommand>

</com:Command>

</com:CommandList>

</com:Collaboration>

</message>

clinet 2 receive the following corrupted message:

<message id=“FB1AAC44-248A-36C7-4D6B-AF5AC988315B” to="user1@abc.com" from="user2@abc.com/blabla" type=“chat”>

<body>Sending map Parameter</body>

<thread>kTLxk0</thread>

<com:Collaboration xmlns:com=“com:ngc:collaboration:0.1:types” guid=“2CD6CD30-6D6B-0D04-6BCF-5DB7C18CDD28”>

<com:CommandList>

<com:Command status=“add” visibility=“on”>

<com:MapCommand>

           &lt;con:ViewContext xmlns:con="http://www.opengis.net/context"&gt;

<con:General>
<con:Window width=“550” height=“325”/>
<con:Window width=“550” height=“325”/>
<con:BoundingBox SRS=“ESPG:4326” minx="-40.22999999986501507009961642324924468994140625" miny=“79.63276078782973854686133563518524169921875” maxx=“319.7699999998650355337304063141345977783203125” maxy="-19.63276078782973854686133563518524169921875"/>
<con:BoundingBox SRS=“ESPG:4326” minx="-40.22999999986501507009961642324924468994140625" miny=“79.63276078782973854686133563518524169921875” maxx=“319.7699999998650355337304063141345977783203125” maxy="-19.63276078782973854686133563518524169921875"/>
</con:General>

</con:ViewContext>

</com:MapCommand>

</com:Command>

</com:CommandList>

</com:Collaboration>

</message>