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] Added sections on variables and template variables to the JSON Model page

Regarding variables, I like the idea of being able to "constrain" them.

I have found that this is useful when implementing XDI connectors, to "break" an XDI address into its individual parts.

It would be ideal if we could constrain variables in the following "three dimensions":

In addition, it should be possible to:

I added some thoughts on how this could be done the discussion page:


On Thu, Mar 28, 2013 at 8:53 AM, Drummond Reed <drummond@connect.me> wrote:
I realized when I created the https://wiki.oasis-open.org/xdi/JsonModel proposal, I forgot to include anything about variable syntax. Due to the JSON model only needing to use ( ), [ ], and < > brackets, it conveniently leaves { } for variables. See:


I also included section on template variables, which are only for documentation, but still important to standardize to make developer's lives easy. The proposal is to use <--variable-->. See:

Again, please look this over, play with it, and send any questions about the JSON Model or syntax to the list -- or be prepared to bring them to Friday's telecon, since we really want to move from there into implementation (we have a lot of wiki pages and other docs, not to mention CODE, to begin updating).



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