W3C home > Mailing lists > Public > public-rdf-comments@w3.org > February 2014

Errata in Example

From: Anthony Kirkpatrick <ozekine@gmail.com>
Date: Tue, 25 Feb 2014 12:10:51 -0500
Message-ID: <CANs+Uh6=z_mqcinLLmG-6bSKpsWzz4Xcc6_OB605UY34zVSG7A@mail.gmail.com>
To: public-rdf-comments@w3.org

I've found what seems to be an error in example #28 of the JSON-LD 1.0
Specification (link to the section
The error itself is simply a misplaced quote terminating the context
definition, as well as a missing quote that should be terminating the name
value within that context.

The defined context in the listing itself is

    "name": "http://example.com/person#name,
    "details": "http://example.com/person#details"

.... but should be (I think)

    "name": "http://example.com/person#name",
    "details": "http://example.com/person#details"

Barring the ellipsis in the full listing, the example with corrections
parses correctly according to http://jsonlint.com/.

Just thought I'd point this out!

Anthony Kirkpatrick
Received on Wednesday, 26 February 2014 14:59:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:59 UTC