W3C home > Mailing lists > Public > public-openannotation@w3.org > July 2012

Literals as Body

From: Reto Bachmann-Gmür <reto@apache.org>
Date: Fri, 20 Jul 2012 15:01:40 -0700
Message-ID: <CALvhUEX3+=H4hKWGHDddRGXAf7r1y0e+Kv10i2bgWP6_=K39ZQ@mail.gmail.com>
To: public-openannotation <public-openannotation@w3.org>
Hi,

I was wondering if

    {
        "@type": "oax:Comment",
        "oa:hasBody" : "No longer persian cats but golden retrivers are the
favourite pets in San Jose.",
        "oa:hasTarget": "_doc"
    }

is or should be allowed as a short form equivalent to

    {
        "@type": "oax:Comment",
        "oa:hasBody" : {
               "dc:format": "text/plain",
               "cnt:chars": "No longer persian cats but golden retrivers
are the favourite pets in San Jose."
        },
        "oa:hasTarget": "_doc"
    }

Cheers,
Reto
Received on Friday, 20 July 2012 22:02:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:38:10 UTC