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] SECOND STRAWMAN from Drummond and Markus - please vote ASAP

Oops, I was so intent on the mail I was writing that I missed seeing this one.

I think once we think of and document & and ^ as node symbols not arc symbols the order question goes away, and they break up a path into smaller chunks where arc subsegments have only a context symbol, which is more comprehensible. 

I think adding that many more characters for spacing adds more visual symbol jumble than it gets rid of.

I don't want to use paired delimiters for things that already have a defined (completely predictable) end.

On Apr 15, 2013, at 11:52 AM, Drummond Reed <drummond@connect.me> wrote:

Ladies and gentlemen:

In keeping with the goal of putting a syntax stake in the ground before sundown today, Markus and I have processed feedback on the previous strawman, including Joseph's analysis, and as a result have a new strawman to propose.

It has been posted to https://wiki.oasis-open.org/xdi/XdiSyntaxExamples and is also copied below.

Once again, please respond ASAP with one of two replies:
  1. Yes, I like it.
  2. No, here's what I'd like to change.

New Proposed Strawman to Test for Consensus


  1. Multiple symbol characters may be easy for machines but is hard for humans to parse no matter what we do. So this proposal follows a new rule: context symbols are never used in pairs. The solution is to reintroduce brackets, but used slightly differently than before.
  2. The use of brackets is also consistent with Joseph's analysis.
  3. Per earlier proposals, angle brackets < > that wrap the context identifier are used to indicate attributes.
  4. Square brackets [ ] that wrap the context identifier are used to indicate singletons.
  5. If a node is both an attribute and a singleton, the square brackets wrap the angle brackets, e.g., [< >].
  6. Since symbols never appear more than once, the question of symbol ordering goes away.
  7. Definitions use the $ metaclass and a cross-reference to the term being defined (or the authority for the definition). This is consistent both with the role of $ as the reserved symbol for metaclass and the use of cross-references to reuse identifiers in a different context -- in this case the dictionary context. It also is consistent with the rule that all context symbols never appear in pairs.


   "123 Main St"
   "Apt 23"
   "1*DIGIT '@example.com'"

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