<br>Hi John,<div>Yes I agree with your views given. Also I can see that you have a good compromise solution to the problem.</div><div>Regards</div><div>Santosh</div><div><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 8:47 PM, John Kemp <span dir="ltr"><<a href="mailto:john@jkemp.net">john@jkemp.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Nov 10, 2009, at 9:25 AM, Santosh Rajan wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi John,<br>
Well in this thread, I was getting to exactly what you were talking about. The "optionality of the Subject XML".<br>
<br>
I have already said that Resource's are "aggregation's of Resources".<br>
<br>
Now it so happen's that the argument for "optional Subject" is based on the "supposed fact" that the host-meta cannot have a Subject.<br>
</blockquote>
<br></div>
Sorry, but I understood that even Eran agrees that host-meta XRDs have a subject - it's called "host". Of course, I don't wish to put words in his mouth, so I hope he'll correct me if he thinks otherwise.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
What I have proven here is that the<br>
"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's). So the host-meta is no different from any other XRD which has a <Subject>.<br>
<br>
So the host-meta MUST have a <Subject> element like any other XRD.<br>
</blockquote>
<br></div>
I agree with you on that.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So there are no more use cases of XRD's that do not require a <Subject> element.<br>
</blockquote>
<br></div>
Again, I agree that as far as I can tell there are no use-cases of XRD where the document shouldn't list the subject of the XRD.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
And hence the <Subject> of an XRD cannot be optional any more. Either it has to be mandatory or at least "RECOMMENDED".<br>
<br>
Now if the Subject is "RECOMMENDED" instead of "MUST" (which is what I want), you still need to provide a "Valid" reason why the Subject cannot be there.<br>
</blockquote>
<br></div>
The argument that I have been making is that there is a pragmatic reason for making the Subject XML element optional. The argument is that<br>
<br>
i) the XRI folks want the Subject XML element to allow only URI identifiers.<br>
ii) The host-meta folks would prefer NOT to get into defining a new URI scheme or using HTTP URIs in some way to point to "hosts".<br>
<br>
I understand that there are good arguments from both sides as to why they don't want to budge on this issue, even though I personally see that it is likely that all XRDs have a logical subject even if that subject is called host (or something else).<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The arguments given by Eran are NOT "valid enough". In fact, at best, he has given some technical mumbo jumbo to support his case, which could hardly be construed as "valid enough" for a "RECOMMENDATION".<br>
</blockquote>
<br></div>
Well I'm sorry to disagree here, but I think the arguments on either side for doing what they want to do are pretty reasonable. There is a pragmatic compromise in order to make both sets of use-cases reasonably easy to satisfy.<br>
<br>
There are (at least) two potential solutions to making Subject required:<br>
<br>
i) Even host-like things *could* be identified by URIs (HTTP or otherwise) even if doing so is not well-understood or particularly easy.<br>
ii) Subject could allow things other than URIs in the base case, and restrict to anyURI in a profile.<br>
<br>
As far as I understand it, neither side is currently willing to compromise. That doesn't invalidate anyone's arguments however.<br>
<br>
I think it would help if we remembered that there are real people trying to do interesting and difficult work here - being polite and not ridiculing each others' arguments seems like a good first step.<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">
<br>
On Tue, Nov 10, 2009 at 7:24 PM, John Kemp <<a href="mailto:john@jkemp.net" target="_blank">john@jkemp.net</a>> wrote:<br>
Hi Santosh,<br>
<br>
<br>
On Nov 9, 2009, at 10:53 PM, Santosh Rajan wrote:<br>
<br>
I think the whole problem is with the definition of the XRD, as I have suggested in the original post.<br>
<br>
Well, that might be a problem, but it is not what I have been asking about in this thread. As far as I'm aware, I'm specifically talking about the optionality of the Subject XML element and ways of representing the subject of an XRD document, and I'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<br>
<br>
<br>
We need to see the XRD not not as "describing a resource", but as an "aggregator of a set of resources". I will rewrite the definition of an XRD.<br>
<br>
"An XRD aggregates a set of related resources into a given Resource".<br>
<br>
Note that we are talking of two types of Resource's here.<br>
1) The "given Resource", the one the XRD is describing.<br>
2) The Resource's pointed to by the Link elements. These are Resources which make up the "given Resource".<br>
<br>
The important point to note here is that this is an aggregation of "Resource's" NOT aggregation of "Links".<br>
<br>
Now if we agree that the host-meta is an aggregation of all Resources with URI's that share the same domain name, then the host-meta defaults to a single Resource identified by a URI. In other word's the host-meta is same as any other XRD.<br>
<br>
On Tue, Nov 10, 2009 at 7:20 AM, John Kemp <<a href="mailto:john@jkemp.net" target="_blank">john@jkemp.net</a>> 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'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't go well)<br>
<br>
Please don'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'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>
<Subject>http:/<a href="http://google.com/#host-metta" target="_blank">google.com/#host-metta</a></Subject><br>
<br>
as well as the <hm:Host> elements to describe scope for the templates.<br>
<br>
Even if <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't say I blame either group.<br>
<br>
Regardless of my opinion, it seems that if neither side will change their collective minds, we're left with the status quo, and we'll have to settle on it as the least-bad alternative.<br>
<br>
- johnk<br>
<br>
<br>
That we didn'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 <Subject> 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's what we have done. We just don't agree on how this extensibility should be provided.<br>
<br>
I don'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'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>
<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>