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] Proposed additional X3 representation format, or a replacement for X3 Whitespace


Good question, Markus. I was looking over Bill's example and had a second question. The example shows that subcontexts begin with the string "_context". That, too, is a valid XRI string. I think it would be a mistake to start reserving XRIs to have special semantics unless they are $ words defined for this purpose.

So that's a second issue we need to address if we are going to make X3J part of the XDI Serialization spec.

=Drummond

On Mon, Dec 28, 2009 at 8:20 AM, Markus Sabadello <markus.sabadello@xdi.org> wrote:
Hi Bill,

I tried implementing your X3J format, but I have a question:
How would one distinguish between a literal and a reference?

E.g. if I have this X3J data:

{
    "=markus":
        {
            "+friend":    "=bill.barnhill"
        }
}

How would I know if it translates to this graph:

=markus
        +friend
                =bill.barnhill

or to this graph:

=markus
        +friend
                "=bill.barnhill"

??

Markus

On Fri, Jul 3, 2009 at 12:27 AM, Barnhill, William [USA] <barnhill_william@bah.com> wrote:

I've edited http://wiki.oasis-open.org/xdi/X3Format to add text proposing an X3 representation that is directly in JSON as opposed to similar to JSON.  Given the broad adoption of JSON and the usefulness of this I'm seeing in my work I wanted to share it with the TC.  JSON format is still rough but works. I will add formatting rules section this weekend.
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php





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