processone/ejabberd — pull request #218 by weiss (2014-05-21 21:54:11+00:00)
Title: Omit XML namespace declaration for <iq/> stanzas

Only the child elements of `` stanzas are qualified by non-default namespaces, not the `` stanzas themselves.

This change just clarifies the code. It doesn't alter the behaviour, as the `` stanzas are handed over to `jlib:iq_to_xml/1`, and that function [ignores][1] the `xmlns` attribute anyway.

[1]: https://github.com/processone/ejabberd/blob/6baf3a24de429ed6cf27b267d5b91ef3d64114bf/src/jlib.erl#L453