OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [xri] XRD trusted discovery workflow


On Thu, Dec 11, 2008 at 7:10 PM, Dirk Balfanz <balfanz@google.com> wrote:
I do think that something like

<Service>
  <Type>uri-to-uri-map</Type>
  <URIMap>...</URIMap>
</Service>

doesn't make much sense b/c both the <Type> element _and_ the <URIMap> element say that this is a URI map. We don't need to say it twice.

I disagree.  The <Type> describes the service (It's a way to map URI's, e.g.).  The URIMap is the way you go about mapping the URI.

If you omit the <Type>, then how does an XRD consumer know that the URIMap is supposed to be used to map URI's to URL, instead of doing something with some other Service-Type, like OpenID.

As an example, these two Services are very different, despite having the same URIMap.

<Service>
  <Type>http://xrd.something/GenericURIMap</Type>
  <URIMap>http://example.com?uri={uri}</URIMap>
</Service>

and

<Service>
  <Type>http://specs.openid.net/auth/2.0</Type>
  <URIMap>http://example.com?uri={uri}</URIMap>
</Service>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]