AnsweredAssumed Answered

Lost end-tag in custom PacketExtension

Question asked by prometoys on Apr 13, 2008
Latest reply on Apr 13, 2008 by prometoys

Hi,

 

I try to create my own PacketExtension. When I add it to my message I see this send packet in the Smack-Debug window

<message id="a1y78-20" to="hannes@jabber.home.prometoys.net/spark" from="prometoys@jabber.home.prometoys.net/spark">
  <codilire xmlns="http://prometoys.net/protocol/codilire">
    <g xmlns="http://www.w3.org/2000/svg" id="1208093084921-han">
<rect x="108.0" y="48.0" fill-opacity="0.25" fill="rgb(255,0,0)" width="94.0" height="75.0" stroke="rgb(0,0,0)" stroke-width="1.5"></rect>
</g>
</codilire>
</message>

 

But the received message look then so.

 

<message id="a1y78-20" to="hannes@jabber.home.prometoys.net/spark" from="prometoys@jabber.home.prometoys.net/spark"><codilire xmlns="http://prometoys.net/protocol/codilire"><g xmlns="http://www.w3.org/2000/svg" id="1208093084921-han">
<rect x="108.0" y="48.0" fill-opacity="0.25" fill="rgb(255,0,0)" width="94.0" height="75.0" stroke="rgb(0,0,0)" stroke-width="1.5"></rect>

</codilire></message>

 

The closing  get lost. If it would be during the transmission, the Jabber Server must close the connection, because a the stream wouldn't be valid anymore. so it must happens, after the other side receive the message. Or?

 

Regards, Keywan

Outcomes