Example 17 of JEP-0077 "In-Band Registration" currently does not comply with XMPP Core, which says: "An IQ stanza of type "result" MUST include zero or one child elements." Am I right to assume the solution will be to simply move the <x 'jabber:x:oob'/> element inside the <query xmlns='jabber:iq:register'/> element? - Ian