XMPP Stanza issues

Description

Im doing some error checking with jabber and noticed that XMPPStanza.errorMessage was returning null for a error packet that had a erro condition and error test set
eg
<presence type="error">
<error code="400" type="modify">
<jid-malformed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">nickname in use</text>
</error>
</presence>

so think the line 278 in XMPPStanza.as

return myErrorConditionNode.firstChild.nodeValue;

should be

return myErrorConditionNode.nextSibling.firstChild.nodeValue;

Environment

None

Activity

Show:
Barry Barry
August 24, 2005, 1:09 AM

Made modification based on forum posts

Fixed

Assignee

Barry Barry

Reporter

Barry Barry