Subject: MucManager RequestOwnerList error code="400"
When I call MucManager.RequestOwnerList it sends this request (the user sending the request is an owner of the room):
<iq id="MX_12" to="rooma@conference.XXXX" type="get" xmlns="jabber:client">
<query xmlns="http://jabber.org/protocol/muc#admin">
<item affiliation="owner" />
</query>
</iq>
and the server returns:
<iq type="error" id="MX_18" from="rooma@conference.XXXX" to="XXXX@XXXX" xmlns="jabber:client">
<query xmlns="http://jabber.org/protocol/muc#admin" />
<error code="400" type="modify">
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</iq>
Looking at http://xmpp.org/extensions/xep-0045.html/#modifyowner the request should be using ' not "
Example 181. Owner Requests Owner List
<iq from='bard@shakespeare.lit/globe' id='owner3' to='coven@chat.shakespeare.lit' type='get'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item affiliation='owner'/>
</query>
</iq>
I am using an openfire server.
<iq id="MX_12" to="rooma@conference.XXXX" type="get" xmlns="jabber:client">
<query xmlns="http://jabber.org/protocol/muc#admin">
<item affiliation="owner" />
</query>
</iq>
and the server returns:
<iq type="error" id="MX_18" from="rooma@conference.XXXX" to="XXXX@XXXX" xmlns="jabber:client">
<query xmlns="http://jabber.org/protocol/muc#admin" />
<error code="400" type="modify">
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</iq>
Looking at http://xmpp.org/extensions/xep-0045.html/#modifyowner the request should be using ' not "
Example 181. Owner Requests Owner List
<iq from='bard@shakespeare.lit/globe' id='owner3' to='coven@chat.shakespeare.lit' type='get'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item affiliation='owner'/>
</query>
</iq>
I am using an openfire server.