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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

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


Subject: RE: [xri] Sticky star examples


Yes, Marty's right that =a(+b)*c+d must be =a*(+b)*c+d or =a!(+b)*c+d. 

=Drummond 

-----Original Message-----
From: Steven Churchill [mailto:steven.churchill@xdi.org] 
Sent: Sunday, April 22, 2007 4:11 PM
To: 'Schleiff, Marty'; xri@lists.oasis-open.org
Subject: RE: [xri] Sticky star examples


Marty,

Yes, that is my understanding of the definition of sticky stars (and bangs.)

You may be correct that B is not valid syntax. Drummond?

~ Steve


-----Original Message-----
From: Schleiff, Marty [mailto:marty.schleiff@boeing.com] 
Sent: Sunday, April 22, 2007 12:37 PM
To: Steven Churchill; xri@lists.oasis-open.org
Subject: RE: [xri] Sticky star examples

Hi Steve (& All),

It never struck me until just now what is meant by "sticky stars".
Please let me know if I got it right: a star/asterisk, being a local
delimiter, keeps the following term in a local context, and causes the xref
in which it appears to continue. If that's correct, then I suppose we also
have sticky bangs.

I don't think example B is valid syntax, but as I'm still learning, I'd like
to make sure I'm not mistaken. I think there needs to be an asterisk in
front of the left paren in example B.  


Marty.Schleiff@boeing.com; CISSP
Associate Technical Fellow - Cyber Identity Specialist Computing Security
Infrastructure
(206) 679-5933

-----Original Message-----
From: Steven Churchill [mailto:steven.churchill@xdi.org]
Sent: Saturday, April 21, 2007 6:32 PM
To: xri@lists.oasis-open.org
Subject: [xri] Sticky star examples


Drummond, 

Are the following (A and B) correct translations?


A: FOUR TOP-LEVEL SUBSEGMENTS
------------------------------------------------
XRI:            =a+b*c+d

global-literal          =
typeless-literal        a
global-xref             +b*c
global-literal                  +
typeless-literal                b
local-literal                   *c
global-xref             +d
global-literal                  +
typeless-literal                d


B: FIVE TOP-LEVEL SUBSEGMENTS
------------------------------------------------
XRI:            =a(+b)*c+d

global-literal          =
typeless-literal        a
typeless-xref           (+b)
global-xref                     +b
global-literal                          +
typeless-literal                        b
local-literal           *c
global-xref             +d
global-literal                  +
typeless-literal                d

Thx,

~ Steve

PS: I hate sticky stars! If someone wants that order of precendence,
then THEY should use parens (as in =a(+b*c)+d) -- not the other way
around.
In other words, I think that both XRIs A and B above should have 5
top-level

subsegments.



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