hi, > Why is it not valid ? Does jabber ues a special flavour of XML ? just take a look at the DTDs on the stpeter's site : http://www.saint-andre.com/jabber/dtds/ (the stream must contain an xmlns attribute and iq can only contain to, from, id and type attributes.) regards, Benoit. -- Benoit Orihuela IDEALX S.A.S.