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] comments on JSONSerializationRules


On Thu, Aug 23, 2012 at 9:08 AM, Markus Sabadello <markus.sabadello@xdi.org> wrote:
XDI TC,

Based on experience from recent implementation work, I've added two comments to the JSONSerializationRules/Discussion page.

One is about nested cross-references, e.g. a statement like the following:

@!9999!8888$($msg)$(!1234)$do/$add/(=a/+b/(=x/+y/=z))

Markus, I definitely agree with your comment there.
 

The other comment is about cases where only some of the relations of a given type have cross-references, e.g.

        @!9999!8888$($msg)$(!1234)$do/$add/=markus
        @!9999!8888$($msg)$(!1234)$do/$add/=!1111
        @!9999!8888$($msg)$(!1234)$do/$add/(=!1111!2222!3$!(+age)/!/(data:,33))
        @!9999!8888$($msg)$(!1234)$do/$add/(=!1111!2222!3$*(+tel)/+home/=!1111!2222!3$*(+tel)$!1)

On this one, while I agree this solution works, the comment I posted in reply was: "I'm wondering if the rule shouldn't be that the target of all '''$add''' statements should be a complete XDI statement, and therefore it must always be a cross-reference.'' 

What do you think? We can always discuss on this Friday's telecon.

=Drummond 



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