<p>Neighter the built-in check nor the suggested solution would work on my jabber server (jabberd14 / Debian Wheezy).</p>

<p>jabberd returns the XML attributes in single quotes. So the working check on my system is<br><code>check_jabber -A -e "<?xml version='1.0'?><stream:stream" -e "xmlns='jabber:client'" -e "xmlns:stream='http://etherx.jabber.org/streams'"</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/nagios-plugins/nagios-plugins/issues/891#issuecomment-25432354'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/_EHT0K2RMtzboqJPrl-P-CtsgMoKy6FvY565zKGm3xrpuFiLmwqswUKTbHdHL3WG.gif' height='1' width='1'></p>