Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] new IdASRegistry

Can you provide example ContextId strings which include information that is used to differentiate between multiple SEPs in a single XRDS?  If an XRDS document is allowed to have multiple context descriptors, then I'm imagining there will need to be something like:
<A href="http://example.com/context.xrds?http://example.com/context.xrds?<something>
 
Also, the example at http://wiki.eclipse.org/ContextDiscoveryComponents#Example doesn't contain anything that could be used to differentiate it from another SEP in the same XRDS.
 
So here's a use case (let me know if it's bogus):
 
I have one XRDS which contains two context descriptors.  Both are of the same type, but one contexts consists of subjects that make up my AIM buddy list, and another consists of subjects that make up my employer's employees.  Something in the ContextId string must differentiate these two, and there must be something in each SEP used to achieve this.
 
Or am I off base in thinking an XRDS will contain multiple context SEPs?  Is it instead the case that a different XRDS would be used for each context descriptor?


>>> "Markus Sabadello" <msabadello@xxxxxxxxxxxxx> 8/8/07 1:08 PM >>>

Hmm I think you are right, maybe the ABNF for "contexthttpURI" is not perfect at this point..

The point in having a file extension in a HTTP ContextId is to distinguish between different descriptor formats for obtaining the information necessary to instantiate a context. Right now the only supported format is XRD(S), but XDI will also be an option. 

At the moment, the IdASRegistry and IContextId code will accept any URL as a ContextId, and it will simply expect to find an XRDS file via Yadis discovery. Yadis discovery basically means that the XRDS file can be either directly located at that URL, or referenced from there via a HTTP header or HTML HTTP-EQUIV tag. 

Markus

On 8/8/07, Jim Sermersheim <jimse@xxxxxxxxxx ( mailto:jimse@xxxxxxxxxx )> wrote:

In the ABNF, the contexthttpURI allows something like http://example.com/context.xrds?somequery=something 
 
I suspect the query would not be expected when the descriptor-ext is set to .xdi or .xrds.  Would that be a correct assumption?


>>> "Markus Sabadello" <msabadello@xxxxxxxxxxxxx> 8/6/07 7:49 AM >>> 
Hi all,

Since I didn't get much feedback about the new XRI/XRDS based IdASRegistry, I am wondering if you guys (especially Jim and people working on Context Providers) had a chance to look at it. 

I would like to check it in soon so we can get this running, and it will definitely break a few things. The changes will include replacing ContextRefs with ContextIds in the IContextFactory interface. 

The relevant Wiki pages are: 
http://wiki.eclipse.org/ContextId 
http://wiki.eclipse.org/Context_Discovery 
http://wiki.eclipse.org/ContextDiscoveryComponents 

If noone objects I propose to commit this in a few days.. Let me know if I can help with anything. 

Markus


_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/higgins-dev 





Back to the top