Help me!XMLLightWeightParser have error!

Hi all,

I am using wildfire 3.1.

And When client send a packet such as <presence><c node=""/></presence> , the XMLLightWeightParser take <presence><c node=""/> as a full message. So dom4j throw exception.

Do you know this error?

example:

If i send

“<presence><c node=“http://exodus.jabberstudio.org/caps” ver=“0.9.1.0” xmlns=“http://jabber.org/protocol/caps”/><status>Available</status><priority>1</priority>& lt;/presence>”

then error.

if i send <presence to=“abc”><c node=“http://exodus.jabberstudio.org/caps” ver=“0.9.1.0” xmlns=“http://jabber.org/protocol/caps”/><status>Available</status><priority>1</priority>& lt;/presence>

then OK.

if i send <presence><c node=“http://exodus.jabberstudio.org/caps” ver=“0.9.1.0” xmlns=“http://jabber.org/protocol/caps”></c><status>Available</status><priority>1</prio rity></presence>

then OK.

if i send <presence><c node=“http://exodus.jabberstudio.org/caps” ver=“0.9.1.0” xmlns=“http://jabber.org/protocol/caps”/><status>Available</status><priority>1</priority>& lt;/presence>

then OK.

why? help me! My email is wangmingzhesl@163.com!

locking duplicate post.