StanzaErrorType.MODIFY, "iq-stanza requires 'id' attribute to be present",
getErrorLanguage(serverRuntimeContext, sessionContext), null);
}
// rfc3920/9.2.3/2.
IQStanzaType iqType = stanza.getIQType();
if (iqType == null) {
// missing or unknown type
return ServerErrorResponses.getInstance().getStanzaError(StanzaErrorCondition.BAD_REQUEST, stanza,
StanzaErrorType.MODIFY, "iq-stanza requires a valid 'type' attribute to be present",
getErrorLanguage(serverRuntimeContext, sessionContext), null);