[JDEV] Namespace usage on server
Peter Saint-Andre
stpeter at jabber.org
Wed Oct 3 08:56:09 CDT 2001
> <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.
Now, granted this is perhaps not well documented, but it's not a bug in
the server.
Here's a copy of the DTD:
http://www.saint-andre.com/jabber/dtds/streams.dtd.txt
Peter
More information about the JDev
mailing list