Use case: <br><br>I have 1M user accounts, each identified with a URI.<br><br>I follow each URI to its associated XRD when I want to find out metadata about that resource.<br><br>If I can do 2 things, I can avoid needing to publish (and digitally sign!) 1M XRD documents, by creating a &quot;template XRD&quot;:<br>
(1) My URIs inside the XRD can contain {uri}<br>(2) {uri} means, in this context, &quot;The Subject of this XRD&quot;<br>(3) My XRD has no Subject element, so I use as its Subject the URI (user account) I started discovery on.<br>
<br>I can then sign exactly one document (the &quot;template&quot; XRD), and point to it from all of my 1M resources. I mark it as cacheable for 1 week and it is used for billions of metadata lookups without any HTTP overhead.  Life is good.<br>
<br>(This is a profile of using XRD + templates of course, but a reasonable one suggested to me by Breno.)<br><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 3:30 PM, Manger, James H <span dir="ltr">&lt;<a href="mailto:James.H.Manger@team.telstra.com">James.H.Manger@team.telstra.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Santosh,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div><div class="im">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&gt; </span>You are assuming the meta-data &quot;is not a resource&quot;.<span style="color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
</div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">No I am not.</span></p><div class="im">
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&gt;</span> I think meta-data is also a &quot;Resource&quot;.<span style="color: rgb(31, 73, 125);"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
</div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I agree, the jim.footy.xrd  file has its own URI so it is a resource — but that is irrelevant to &lt;Subject&gt;.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">The XRD &lt;Subject&gt; element “provides the identifier of the resource
<b>described by</b> this XRD” [<a href="http://www.oasis-open.org/committees/download.php/34724/xrd-1.0-wd09.html#element.xrd" target="_blank">XRD v1.0 WD9, §2.1.1.</a>].</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">jim.footy.xrd does not describe itself, it describes hundreds of other *.html pages I wrote about football. It makes no sense for &lt;Subject&gt; to hold the URI
 of the XRD file itself in this situation.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you have an OpenID identifier that isn’t used for anything else (eg its not your blog or home page), then (in some potential future OpenID v3) a GET on
 that OpenID identifier could return a XRD with its own URI in the &lt;Subject&gt;. It would be metadata about itself. It could point to an OP directly, eliminating the extra round-trip of going from a resource to its metadata since they are one and the same in this
 case. [Mind you, I’m not sure you gain much over serving an HTML page with OpenID v1 or v2 &lt;link&gt;s to the OP.]</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="FR">James Manger</span></p>
</div>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@lists.openid.net">general@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-general" target="_blank">http://lists.openid.net/mailman/listinfo/openid-general</a><br>
<br></blockquote></div><br>