[JDEV] Namespace usage on server
David Waite
mass at akuma.org
Wed Oct 3 20:28:34 CDT 2001
Fabrice DESRE - FT.BD/FTRD/DMI/GRI wrote:
>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/).
>
Argh, you are right (and reminded me why I hate XML namespaces so much).
There is no way for an attribute to reference the default namespace URI
within a qualified element; you have to define a new namespace prefix
pointing to the same URI in order to pull it off.
-David Waite
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20011003/07c6b4fd/attachment-0002.htm>
More information about the JDev
mailing list