Hi John,<div>Well in this thread, I was getting to exactly what you were talking about. The &quot;optionality of the Subject XML&quot;.</div><div><br></div><div>I have already said that Resource&#39;s are &quot;aggregation&#39;s of Resources&quot;.</div>
<div><br></div><div>Now it so happen&#39;s that the argument for &quot;optional Subject&quot; is based on the &quot;supposed fact&quot; that the host-meta cannot have a Subject.</div><div><br></div><div>What I have proven here is that the</div>
<div>&quot;host-meta is an aggregation of all the resources available on the same domain (ie Resources that happen to have the same domain as the host-meta in their URI&#39;s). So the host-meta is no different from any other XRD which has a &lt;Subject&gt;.</div>
<div><br></div><div>So the host-meta MUST have a &lt;Subject&gt; element like any other XRD.</div><div><br></div><div>So there are no more use cases of XRD&#39;s that do not require a &lt;Subject&gt; element. </div><div><br>
</div><div>And hence the &lt;Subject&gt; of an XRD cannot be optional any more. Either it has to be mandatory or at least &quot;RECOMMENDED&quot;. </div><div><br></div><div>Now if the Subject is &quot;RECOMMENDED&quot; instead of &quot;MUST&quot; (which is what I want), you still need to provide a &quot;Valid&quot; reason why the Subject cannot be there.</div>
<div><br></div><div>The arguments given by Eran are NOT &quot;valid enough&quot;. In fact, at best, he has given some technical mumbo jumbo to support his case, which could hardly be construed as &quot;valid enough&quot; for a &quot;RECOMMENDATION&quot;.<br>
<br><div class="gmail_quote">On Tue, Nov 10, 2009 at 7:24 PM, John Kemp <span dir="ltr">&lt;<a href="mailto:john@jkemp.net">john@jkemp.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Santosh,<div class="im"><br>
<br>
On Nov 9, 2009, at 10:53 PM, Santosh Rajan wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think the whole problem is with the definition of the XRD, as I have suggested in the original post.<br>
</blockquote>
<br></div>
Well, that might be a problem, but it is not what I have been asking about in this thread. As far as I&#39;m aware, I&#39;m specifically talking about the optionality of the Subject XML element and ways of representing the subject of an XRD document, and I&#39;d prefer that in that thread, we restrict discussion to that topic, just to keep the discussion threads understandable.<br>

<br>
Cheers,<br>
<br>
- johnk<div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We need to see the XRD not not as &quot;describing a resource&quot;, but as an &quot;aggregator of a set of resources&quot;. I will rewrite the definition of an XRD.<br>
<br>
&quot;An XRD aggregates a set of related resources into a given Resource&quot;.<br>
<br>
Note that we are talking of two types of Resource&#39;s here.<br>
1) The &quot;given Resource&quot;, the one the XRD is describing.<br>
2) The Resource&#39;s pointed to by the Link elements. These are Resources which make up the &quot;given Resource&quot;.<br>
<br>
The important point to note here is that this is an aggregation of &quot;Resource&#39;s&quot; NOT aggregation of &quot;Links&quot;.<br>
<br>
Now if we agree that the host-meta is an aggregation of all Resources with URI&#39;s that share the same domain name, then the host-meta defaults to a single Resource identified by a URI. In other word&#39;s the host-meta is same as any other XRD.<br>

<br>
On Tue, Nov 10, 2009 at 7:20 AM, John Kemp &lt;<a href="mailto:john@jkemp.net" target="_blank">john@jkemp.net</a>&gt; wrote:<br>
On Nov 9, 2009, at 8:23 PM, John Bradley wrote:<br>
<br>
John,<br>
<br>
I am having a hard time with your argument that http: URI are not sufficient for naming resources.<br>
<br>
I didn&#39;t say that.<br>
<br>
I simply said that using a string for the base type would make things easier.<br>
<br>
<br>
<br>
I would recommend you read the TAG findings on XRI and XRDS.<br>
<a href="http://www.w3.org/2001/tag/doc/URNsAndRegistries-50" target="_blank">http://www.w3.org/2001/tag/doc/URNsAndRegistries-50</a><br>
<br>
I will for the sake of argument agree with Roy Fielding that http: URI can be used as names for any and all resources.   That is distinct from them being used as locators for all resources.<br>
<br>
I fail to see a compelling argument for allowing strings in XRD subjects and creating a registry of subject types. (been there it didn&#39;t go well)<br>
<br>
Please don&#39;t take us down that road again.<br>
<br>
A XRD Subject, is a NAME it is not a Locator.<br>
<br>
I understand, really.<br>
<br>
<br>
 Constraining Subject to a absolute anyURI is not unreasonable in my opinion.   Subject can name information and non information resources.<br>
<br>
It&#39;s not necessarily unreasonable to me either, but it does put the host-meta spec. into being forced to deal with URI scheme hell to meet the use-case.<br>
<br>
<br>
<br>
Subject is not always required because it could be specified in some other way by the protocol using the XRD.  Profiles of XRD are free to make it required.<br>
<br>
Regardless of how the Subject is specified, it could be referenced in the document too. And if it exists, what is the reason _not_ to link to it in the document?<br>
<br>
<br>
<br>
If a XRD is retrieved via HTTP the protocol retrieving it may choose to infer the subject (Name) is the Locator (URL).<br>
<br>
This is an XML doc if someone outside of the XRI-TC thinks they need extension elements to describe the Scope of the XRD that is up to them.  They define a namespace and have at it.<br>
<br>
Would it make you happy if host-meta had a subject ie:<br>
&lt;Subject&gt;http:/<a href="http://google.com/#host-metta" target="_blank">google.com/#host-metta</a>&lt;/Subject&gt;<br>
<br>
as well as the &lt;hm:Host&gt; elements to describe scope for the templates.<br>
<br>
Even if &lt;Subject is not used for anything in the host-meta spec?<br>
<br>
Given the history you will not convince the XRI-TC to define Subject to be something other than a URI.<br>
<br>
Yes, that seems apparent. And it seems that host-meta will not get into the URI scheme hot water. I can&#39;t say I blame either group.<br>
<br>
Regardless of my opinion, it seems that if neither side will change their collective minds, we&#39;re left with the status quo, and we&#39;ll have to settle on it as the least-bad alternative.<br>
<br>
- johnk<br>
<br>
<br>
 That we didn&#39;t restrict it to http: URI will probably get us into hot water in some places.<br>
<br>
<br>
Regards<br>
John Bradley<br>
<br>
<br>
On 2009-11-09, at 8:35 PM, Eran Hammer-Lahav wrote:<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: John Kemp [mailto:<a href="mailto:john@jkemp.net" target="_blank">john@jkemp.net</a>]<br>
Sent: Monday, November 09, 2009 2:14 PM<br>
<br>
I believe that an XRD always has a subject. So far, I have seen no<br>
argument to the contrary, and the use-cases discussed all seem to have<br>
a subject, even when it is called host.<br>
<br>
We agree on that. The question is only whether it is useful to define an element generic enough to support the wide range of potential subjects and still enable interoperability.<br>
<br>
I do see a pragmatic issue about how the subject of an XRD is<br>
represented in the XRD document itself.<br>
<br>
What I am trying to convey is that from my perspective, the use case supported by the current &lt;Subject&gt; design is by far more likely than any other use case, and is the primary driver in developing XRD. I am reluctant to design an element without better requirements or use cases.<br>

<br>
I agree that this issue is tough to solve, but I think providing<br>
common subject-related semantics at the XRD level with a measure of<br>
extensibility in the right direction is simply good design.<br>
<br>
I think that&#39;s what we have done. We just don&#39;t agree on how this extensibility should be provided.<br>
<br>
I don&#39;t have any particular investment in XRD at all, so you are<br>
certainly free to evaluate (hopefully without further unwarranted<br>
ridicule) my arguments and decide not to pursue any changes.<br>
<br>
If anything I wrote came off as ridiculing your views please accept my apology. I have meant no disrespect. My request for use cases wasn&#39;t made as criticism, but an actual request for use cases.<br>
<br>
- johnk<br>
<br>
_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@lists.openid.net" target="_blank">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>
<br>
_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@lists.openid.net" target="_blank">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>
<br>
<br>
-- <br>
<a href="http://hi.im/santosh" target="_blank">http://hi.im/santosh</a><br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://hi.im/santosh">http://hi.im/santosh</a><br><br><br>
</div>