[OpenID] Yadis/XRDS Service Element URI Question

Chasen, Les les.chasen at neustar.biz
Sat Feb 10 19:09:59 UTC 2007


Yes you can extend the tags used in a <service> block.  Section 12 of
the XRI resolution spec
(http://www.oasis-open.org/committees/download.php/17293) discusses
extensibility.  

contact: =les
sip: =les/(+phone)
chat: =les/skype/chat
 
 

> -----Original Message-----
> From: general-bounces at openid.net [mailto:general-bounces at openid.net]
On
> Behalf Of David Fuelling
> Sent: Saturday, February 10, 2007 1:26 PM
> To: yadis at lists.danga.com
> Cc: specs at openid.net; general at openid.net
> Subject: [OpenID] Yadis/XRDS Service Element URI Question
> 
> Hey All,
> 
> I'm working on a draft OpenId 2.0 extension [1] and am looking for
> guidance
> on how to define a Yadis Service Element that includes a URI Template
> (instead of a real URI).
> 
> At first, I thought that the following would be ok:
> 
> <Service xmlns="xri://$xrd*($v*2.0)">
>   <Type>http://openid.net/srv/oeat/1.0/ett</Type>
>   <URI>https://{username}.example.com/</URI>
> </Service>
> 
> However, 'https://{username}.example.com/' is not a valid URI, since
the
> '{'
> and '}' characters are reserved per the URI specification.
> 
> So, should I simply "percent encode" the URI above to be
> 'https://%7Busername%7D.example.com/', or should I define a new
Service
> Element child, like the following:
> 
> <Service xmlns="xri://$xrd*($v*2.0)">
>   <Type>http://openid.net/srv/oeat/1.0/ett</Type>
>   <TemplateURI>https://{username}.example.com/</TemplateURI >
> </Service>
> 
> Does Yadis/XRDS require the presence of a URI child in a service
element?
> Is it legal to define new children elements?  Is that advisable?
> 
> Thanks!
> 
> David
> 
> [1]
>
http://www.sappenin.com/openid/ext/oet/openid-email-transform-extension-
> 1_0.
> html
> 
> _______________________________________________
> general mailing list
> general at openid.net
> http://openid.net/mailman/listinfo/general


More information about the yadis mailing list