Er, I realized how wrong I just was above. Apologies for that.
The stanza IS given, right in this "if" branch inside the void xmpp_xml_end function
http://code.citadel.org/?p=citadel.git;a=blob;f=citadel/modules/xmpp/serv_xmpp.c;h=3248a11cb39bbbf98b1281ec78082c10d3da3774;hb=refs/heads/master#l406
Problem is, this branch never enters! Instead, this one always
http://code.citadel.org/?p=citadel.git;a=blob;f=citadel/modules/xmpp/serv_xmpp.c;h=3248a11cb39bbbf98b1281ec78082c10d3da3774;hb=refs/heads/master#l435
I'm having hard time to find out why...
Meanwhile I leave attached the error log obtained from Pidgin's debug console. Notice lines 67 and 69
1 (11:20:55) util: Writing file prefs.xml to directory /home/tux/.purple 2 (11:20:55) util: Writing file /home/tux/.purple/prefs.xml 3 (11:20:57) account: Connecting to account us...@uncensored.citadel.org/. 4 (11:20:57) connection: Connecting. gc = 0x83fa5d8 5 (11:20:57) dnssrv: querying SRV record for uncensored.citadel.org: _xmpp-client._tcp.uncensored.citadel.org 6 (11:20:57) dnssrv: res_query returned an error 7 (11:20:57) dnsquery: Performing DNS lookup for uncensored.citadel.org 8 (11:20:57) dns: Wait for DNS child 14708 failed: No hay ningún proceso hijo 9 (11:20:57) dns: Created new DNS child 14713, there are now 1 children. 10 (11:20:57) dns: Successfully sent DNS request to child 14713 11 (11:20:57) dns: Got response for 'uncensored.citadel.org' 12 (11:20:57) dnsquery: IP resolved for uncensored.citadel.org 13 (11:20:57) proxy: Attempting connection to 216.150.130.111 14 (11:20:57) proxy: Connecting to uncensored.citadel.org:5222 with no proxy 15 (11:20:57) proxy: Connection in progress 16 (11:20:57) proxy: Connecting to uncensored.citadel.org:5222. 17 (11:20:57) proxy: Connected to uncensored.citadel.org:5222. 18 (11:20:57) jabber: Sending (us...@uncensored.citadel.org): <?xml version='1.0' ?> 19 (11:20:57) jabber: Sending (us...@uncensored.citadel.org): <stream:stream to='uncensored.citadel.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> 20 (11:20:57) jabber: Recv (38): <?xml version="1.0" encoding="UTF-8"?> 21 (11:20:58) jabber: Recv (485): <stream:stream from="uncensored.citadel.org" id="0002a927" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"><stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms><auth xmlns="http://jabber.org/features/iq-auth"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features> 22 (11:20:58) jabber: Sending (us...@uncensored.citadel.org): <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> 23 (11:20:58) jabber: Recv (50): <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> 24 (11:20:58) nss: subject=CN=uncensored.citadel.org,O=Uncensored Communications Group,L=Yorktown Heights,ST=New York,C=US issuer=CN=uncensored.citadel.org,O=Uncensored Communications Group,L=Yorktown Heights,ST=New York,C=US 25 (11:20:58) certificate/x509/tls_cached: Starting verify for uncensored.citadel.org 26 (11:20:58) certificate/x509/tls_cached: Certificate uncensored.citadel.org expired at Sun Nov 4 08:54:27 1906 27 (11:20:58) certificate/x509/tls_cached: Checking for cached cert... 28 (11:20:58) certificate/x509/tls_cached: ...Found cached cert 29 (11:20:58) nss/x509: Loading certificate from /home/tux/.purple/certificates/x509/tls_peers/uncensored.citadel.org 30 (11:20:58) certificate/x509/tls_cached: Peer cert matched cached 31 (11:20:59) certificate/x509/tls_cached: User ACCEPTED cert Caching first in chain for future use as uncensored.citadel.org... 32 (11:20:59) nss/x509: Exporting certificate to /home/tux/.purple/certificates/x509/tls_peers/uncensored.citadel.org 33 (11:20:59) util: Writing file /home/tux/.purple/certificates/x509/tls_peers/uncensored.citadel.org 34 (11:20:59) certificate: Successfully verified certificate for uncensored.citadel.org 35 (11:20:59) jabber: Sending (ssl) (us...@uncensored.citadel.org): <stream:stream to='uncensored.citadel.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> 36 (11:20:59) jabber: Recv (ssl)(38): <?xml version="1.0" encoding="UTF-8"?> 37 (11:20:59) jabber: Recv (ssl)(15): <stream:stream 38 (11:20:59) jabber: Recv (ssl)(30): from="uncensored.citadel.org" 39 (11:20:59) jabber: Recv (ssl)(14): id="0002a927" 40 (11:20:59) jabber: Recv (ssl)(14): version="1.0" 41 (11:20:59) jabber: Recv (ssl)(48): xmlns:stream="http://etherx.jabber.org/streams" 42 (11:20:59) jabber: Recv (ssl)(22): xmlns="jabber:client"> 43 (11:20:59) jabber: Recv (ssl)(17): <stream:features> 44 (11:20:59) jabber: Recv (ssl)(53): <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> 45 (11:20:59) jabber: Recv (ssl)(28): <mechanism>PLAIN</mechanism> 46 (11:20:59) jabber: Recv (ssl)(13): </mechanisms> 47 (11:20:59) jabber: Recv (ssl)(50): <auth xmlns="http://jabber.org/features/iq-auth"/> 48 (11:20:59) jabber: Recv (ssl)(48): <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/> 49 (11:20:59) jabber: Recv (ssl)(54): <session xmlns="urn:ietf:params:xml:ns:xmpp-session"/> 50 (11:20:59) jabber: Recv (ssl)(18): </stream:features> 51 (11:20:59) jabber: Sending (ssl) (us...@uncensored.citadel.org): <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' xmlns:ga='http://www.google.com/talk/protocol/auth' ga:client-uses-full-bind-result='true' mechanism='PLAIN'>password removed</auth> 52 (11:21:01) jabber: Recv (ssl)(51): <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/> 53 (11:21:01) jabber: Sending (ssl) (us...@uncensored.citadel.org): <stream:stream to='uncensored.citadel.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> 54 (11:21:01) jabber: Recv (ssl)(38): <?xml version="1.0" encoding="UTF-8"?> 55 (11:21:01) jabber: Recv (ssl)(15): <stream:stream 56 (11:21:01) jabber: Recv (ssl)(30): from="uncensored.citadel.org" 57 (11:21:01) jabber: Recv (ssl)(14): id="0002a927" 58 (11:21:01) jabber: Recv (ssl)(14): version="1.0" 59 (11:21:01) jabber: Recv (ssl)(48): xmlns:stream="http://etherx.jabber.org/streams" 60 (11:21:01) jabber: Recv (ssl)(22): xmlns="jabber:client"> 61 (11:21:01) jabber: Recv (ssl)(17): <stream:features> 62 (11:21:01) jabber: Recv (ssl)(48): <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/> 63 (11:21:01) jabber: Recv (ssl)(54): <session xmlns="urn:ietf:params:xml:ns:xmpp-session"/> 64 (11:21:01) jabber: Recv (ssl)(18): </stream:features> 65 (11:21:01) jabber: Sending (ssl) (us...@uncensored.citadel.org): <iq type='set' id='purple93e49cff'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/></iq> 66 (11:21:01) jabber: Recv (ssl)(37): <iq type="error" id="purple93e49cff"> 67 (11:21:01) jabber: Recv (ssl)(41): <error>Don't know howto do 'set'!</error> 68 (11:21:01) jabber: Recv (ssl)(5): </iq> 69 (11:21:01) connection: purple_connection_error_reason called with NULL description 70 (11:21:01) connection: Connection error on 0x83fa5d8 (reason: 0 description: Unknown error) 71 (11:21:01) account: Disconnecting account us...@uncensored.citadel.org/ (0x846a910) 72 (11:21:01) connection: Disconnecting connection 0x83fa5d8 73 (11:21:01) jabber: Sending (ssl) (us...@uncensored.citadel.org): </stream:stream> 74 (11:21:01) connection: Destroying connection 0x83fa5d8 75 (11:21:03) util: Writing file accounts.xml to directory /home/tux/.purple 76 (11:21:03) util: Writing file /home/tux/.purple/accounts.xml