[JDEV] Namespace usage on server
Fabrice DESRE - FT.BD/FTRD/DMI/GRI
fabrice.desre at francetelecom.com
Wed Oct 3 10:18:18 CDT 2001
David Waite wrote:
>
> Two things:
>
> 1) the 'to' attribute (as well as the 'id' attribute) are part of the
> jabber:client namespace.
No. Attributes must explicitly specify namespaces. They don't inherit
from the default namespace (see §5.2 of
http://www.w3.org/TR/REC-xml-names/).
> 2) namespaces are not used correctly by the server - while the resulting
> stream is well-formed XML and does use namespaces correctly, there is no
> flexibility on *how* you use those namespaces. For instance, if you
> started the stream off with <jabber:stream> instead of <stream:stream>,
> it would have also broken.
From the response of P.Saint Andre, I also think that sadly they are
used in a bad way.
Regards,
Fabrice
--
Fabrice Desré - France Telecom R&D/DMI/GRI
Tel: +(33) 2 96 05 31 43
Fax: +(33) 2 96 05 32 86
More information about the JDev
mailing list