> -----Original Message-----
> From: Peter Saint-Andre [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 03, 2001 6:56 AM
> To: '[EMAIL PROTECTED]'
> Subject: Re: [JDEV] Namespace usage on server
>
>
> > <stream:stream to='jabber'
> > xmlns:stream='http://etherx.jabber.org/streams'
> > xmlns='jabber:client'>
> > <iq id='A3' type='get'>
>
> vs.
>
> > <stream:stream to='jabber'
> > xmlns:stream='http://etherx.jabber.org/streams'>
> > <iq xmlns='jabber:client' id='A3' type='get'>
>
> The xmlns 'jabber:client' refers to the stream, not just any
> old element
> (e.g., your <iq/> element) within the stream, thus the error.
> All streams
> must be identified as jabber:client, jabber:component, or
> jabber:server.
From what I understand of XML namespaces, jabber:client defines a
default namespace, which has no effect on the stream:stream element
since the "stream" prefix explicitly puts it in the stream namespace.
Franck Mangin
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev