<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Fabrice DESRE - FT.BD/FTRD/DMI/GRI wrote:<br>
<blockquote type="cite" cite="mid:3BBB2C3A.44CC1D1F@francetelecom.com">
<pre wrap="">David Waite wrote:<br></pre>
<blockquote type="cite">
<pre wrap="">Two things:<br><br>1) the 'to' attribute (as well as the 'id' attribute) are part of the<br>jabber:client namespace.<br></pre>
</blockquote>
<pre wrap=""><!----><br> No. Attributes must explicitly specify namespaces. They don't inherit<br>from the default namespace (see §5.2 of<br><a class="moz-txt-link-freetext" href="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</a>).</pre>
</blockquote>
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.<br>
<br>
-David Waite<br>
</body>
</html>