RE: [xdi] Bill: question about cross-reference expansion

From
Barnhill, William [USA] <>
Date
2009-12-04T15:16:05+00:00
ID
Thread
RE: [xdi] Bill: question about cross-reference expansion
Thanks Drummond. I'll post the email for my action item tonight, I think that should help. I'll also make sure +a+b is one of the expansion examples in the email.

Kind regards,

Bill Barnhill
Booz Allen Hamilton - Rome, NY
315-330-7386  |  | 
________________________________________
From:  [] On Behalf Of Drummond Reed []
Sent: Friday, December 04, 2009 12:50 AM
To: OASIS - XDI TC
Subject: [xdi] Bill: question about cross-reference expansion

Bill, I was thinking about how this would work to "fully expand" all XDI addresses into "$ statements", i.e., into XDI statements consisting of all $words (plus the four GCS symbols and literals).

It's a cool idea, and for a one-segment statement like +a, it's easy.


+a

(+/a)

+/$has/a


It is also easy for (+a).


(+a)

$$/$has//+a

$$/$has//(+/a)

$$/$has//+/$has/a

But I got stuck trying to expand the statement +a+b.


+a+b

(+a/+b)

+a/$has/+b

(+/a)/$has/(+/b)

(+/$has/a)/$has/(+/$has/b)

At this point I don't know how to get rid of the parentheses and still make it a valid XDI statement.

Ideas?

=Drummond