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


Help: OASIS Mailing Lists Help | MarkMail Help

xdi message

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

Subject: Re: [xdi] How to get from =markus/+email to the actual data

Yes I guess that's still kind of an open question.. You're right, if =giovanni is sending the message, then you would do

But sometimes you don't have a sender authority, or you want the sender to be anonymous. I'm not sure if we ever talked about this situation... I'm usually using "$" for an "anonymous" sender. Maybe there are better ideas?


On Mon, Oct 5, 2009 at 9:22 AM, Giovanni Bartolomeo <giovanni.bartolomeo@uniroma2.it> wrote:
Hello, one simple question regarding the subject "$" in the statement


is "$" referring to the authority which originates this message? E.g. if I'd be that authority, would the above statement be the same as




Def. Quota "Drummond Reed" <drummond.reed@cordance.net>:

On Thu, Oct 1, 2009 at 1:38 PM, Markus Sabadello

Hello XDI TC,

Someone asked me a question about the XDI4j library in Higgins and about
how XDI endpoints relate to XRI resolution. So I put together some commented
sample code which uses OpenXRI and XDI4j:

The task is, given an XRI such as =markus/+email and nothing else, how do
you actually find and read the value (the e-mail address)?

Step by step, the code does the following:
1. It resolves the authority part of the XRI (=markus) using standard XRI
resolution with an XDI service type, i.e. it looks for an XDI endpoint in
the i-name's XRD.
2. After discovering that endpoint, it prepares and sends an XDI message
which looks like this:
3. The XDI endpoint answers with the statement that matches the $get query:
4. In the end, the code prints out the literal from that statement.

In total, a few simple lines of actually working code that should
demonstrate how XRI and XDI work together.


This message was sent using IMP, the Internet Messaging Program.

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:

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