[JDEV] More on namespaces in jabberd

Dave Smith dave at jabber.org
Wed Oct 3 15:00:37 CDT 2001


Again, due to the fact that _none_ of the current Jabber source handles namespaces properly, nothing using namespaces like this will work..

This is a rather large fix to effect -- it requires a lot of code to be
examined to deal with namespaces when processing packets. At this point,
it's probably easiest to just start handling these issues in the jabelin implementation.

Diz


On Wed, Oct 03, 2001 at 06:13:26PM +0200, Fabrice DESRE - FT.BD/FTRD/DMI/GRI wrote:
>  Hello,
> 
> Just another misbehavior in jabberd :
> If I send:
> <?xml version='1.0'?>
> <stream:stream to='jabber' 
>                xmlns:stream='http://etherx.jabber.org/streams'
> 	       xmlns='jabber:client'
> 	       xmlns:jab='jabber:client'>
>    <jab:iq id='A3' type='get'>
>        <query xmlns='jabber:iq:auth'>
>           <username>fabrice</username>
>        </query>
>    </jab:iq>
> </stream:stream>
> 
> This should be correctly understood by jabberd, but it is not
> the case :-(( (I get a 406 error 'not acceptable')
> It seems simply that jabberd is not namespace aware, hence it is
> not conformant with the standards it claims to use. Being stuck
> with UTF-8 is an acceptable constraint (ok with respect to the
> standard) but a so inaccurate support of namespaces is not.
>  Are there any plans to a) upgrade libxode or b) switch to a
> conformant parser (xerces in sax2 mode comes to mind) ?
> 
> Regards,
> 
> 	Fabrice
> -- 
> Fabrice Desr? - France Telecom R&D/DMI/GRI
> Tel: +(33) 2 96 05 31 43
> Fax: +(33) 2 96 05 32 86
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list