[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]