Fabrice DESRE - FT.BD/FTRD/DMI/GRI wrote:
[EMAIL PROTECTED]">
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


Reply via email to