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] <Rel> & <ResourceType> (was Proposed XRD schema)


The idea was to preserve the functionality offered by Service/Type but to redefine it as a hint (in the same sense that MediaType is now a hint per link semantics). So that the same way to can give a parser a hint that the URI linked to will serve a JPEG, you can hint that the OpenID provider will support PAPE. As we know, there are cases where we will trust hints, allowing us to be more efficient.

This also came up in the F2F where we spend some time trying to find ways to preserve this functionality.

EHL

> -----Original Message-----
> From: Drummond Reed [mailto:drummond.reed@cordance.net]
> Sent: Sunday, February 15, 2009 11:29 PM
> To: 'Brian Eaton'; njones@ouno.com
> Cc: xri@lists.oasis-open.org
> Subject: [xri] <Rel> & <ResourceType> (was Proposed XRD schema)
>
> +1 to Brian's point below. However his example raises one question that
> I
> hadn't realized the importance of before.
>
> Eran, in the context of a <Link> element, can you concisely explain
> difference between <Rel> and <ResourceType>?
>
> I worry that future XRD consuming application developers are going to
> become
> confused as to when they should be looking for a <Rel> and when they
> should
> be looking for a <ResourceType> and when for both.
>
> I ask partly because the predecessor XRDS format only had a <Type>
> element,
> and that seemed to do the job for everything, so I expect lots of
> questions
> about why it was expanded into two elements. I'm cool with it if we
> have a
> good, clean explanation which translates into clear best practices
> advice,
> so that's why I'm asking.
>
> =Drummond
>
> > -----Original Message-----
> > From: Brian Eaton [mailto:beaton@google.com]
> > Sent: Sunday, February 15, 2009 11:08 PM
> > To: njones@ouno.com
> > Cc: xri@lists.oasis-open.org
> > Subject: Re: [xri] Proposed XRD schema
> >
> > On Fri, Feb 13, 2009 at 7:28 PM,  <njones@ouno.com> wrote:
> > > How would xsd:any work?
> >
> > Libraries would wander through the XML looking for the appropriate
> > Link element based on Rel and ResourceType.  Once they found it, they
> > would return the entire Link element, and application code can then
> do
> > further investigation.
> >
> > The schemas for individual Link types would include whatever XML
> > elements are necessary to supply interesting metadata.  For example:
> >
> > <Link priority="10">
> >        <Rel>
> > http://some.URI.that.indicates.relationsip.is.self.or.sub.service.com
> > </Rel>
> >        <ResourceType> http://spec.openid.net/auth/2.0/ux/popup
> > </ResourceType>
> >        <height>500px</height>
> >        <width>450px</width>
> > </Link>
> >
> > I'm completely appalled by the notion of encoding that kind of
> > metadata as additional Rel or ResourceType or query string elements.
> > We've got XML parsers.  We should use them.
> >
> > Cheers,
> > Brian
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this mail list, you must leave the OASIS TC that
> > generates this mail.  Follow this link to all your TCs in OASIS at:
> > https://www.oasis-
> open.org/apps/org/workgroup/portal/my_workgroups.php
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  Follow this link to all your TCs in OASIS at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



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