So now I want to post my grouse no (2) with XRD.  The idea that the &lt;Subject&gt; of an XRD can be implicit or &quot;0&quot; is a BAD BAD BAD Idea!! Sorry Dirk for the Caps and exclamations. I will list out the reasons.<div>
<br></div><div>1) XRD without &lt;Subject&gt; is a security risk. If nothing, it makes life easier for the &quot;Man in the middle attacker&quot;.</div><div>2) Cacheing of XRD&#39;s is thrown out of the window. You can&#39;t cache XRD&#39;s without a &lt;Subject&gt;. I firmly believe that Cacheing of XRD&#39;s will be a &quot;BIG THING&quot;. Applications &quot;IN THE KNOW OF XRD&#39;s&quot; will deifinitely like to cache XRD&#39;s. It will definitely speed up the discovery process.</div>
<div>3) The whole idea of millions/billions XRD&#39;s flying around the WWW like &quot;headless chicken&quot; (without subject) is giving me nightmares.</div><div><br></div><div>The &lt;Subject&gt; MUST be made mandatory for every XRD.</div>
<div><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 2:26 AM, Breno de Medeiros <span dir="ltr">&lt;<a href="mailto:breno@google.com">breno@google.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The subject of an XRD is implicitly the URI of the resource that was<br>
discovered and resulted in this XRD being returned as its metadata. So<br>
in general Subject is not needed.<br>
<br>
When the same metadata applies to multiple URIs then one can be the<br>
Subject and others can be Aliases.<br>
<br>
Another use for Subject is for the XRD signature. A sound trust model<br>
needs to validate the binding of subject and metadata in the<br>
signature, so Subject should always be present in signed documents,<br>
unless the application defines other means to bind the metadata and<br>
resource in a verifiable way.<br>
<font color="#888888"><br>
<br>
--<br>
--Breno<br>
<br>
+1 (650) 214-1007 desk<br>
+1 (408) 212-0135 (Grand Central)<br>
MTV-41-3 : 383-A<br>
PST (GMT-8) / PDT(GMT-7)<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://hi.im/santosh">http://hi.im/santosh</a><br><br><br>
</div>