Parser Error with Presence Packet

I recently received this error from server amessage.info

Apparently there is a parsing problem with the presence

packet from a yahoo transport. The transport might be

updated and the XML format is changed and caused the problem.

I didn’'t look into the code but I think the PacketReader

should ignored the extra fields right?

I haven’'t look into this in detail and I will get more

info if required.

XML Debug Output:

<presence type=’‘error’’ to=’‘peterliu@amessage.info/iJab’’ from=’‘yahoo.amessage.info/registered’’ id=’‘jBwtY-3’’><error type=’‘auth’’ code=’‘407’’><registration-requited xmlns=’‘urn:ietf:params:xml:ns:xmpp-stanzas’’/><text xmlns=’‘urn:ietf:params:xml:ns:xmpp-stanzas’’>

R

Exception:

org.xmlpull.v1.XmlPullParserException: parser must be on START_TAG or TEXT to read text (position: START_TAG seen …egistration-requited xmlns=’‘urn:ietf:params:xml:ns:xmpp-stanzas’’/>… @1:2372)

at org.xmlpull.mxp1.MXParser.nextText(MXParser.java:1115)

at org.jivesoftware.smack.PacketReader.parseError(PacketReader.java:607)

at org.jivesoftware.smack.PacketReader.parsePresence(PacketReader.java:725)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:280)

at org.jivesoftware.sclosed on error

mack.PacketReader.access$000(PacketReader.java:77)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:103)

Peter,

Sorry for the late reply. This problem was fixed for the next release. You can download the daily build and try it.

Let us know if it worked for you.

Regards,

– Gato