json-ld-api icon indicating copy to clipboard operation
json-ld-api copied to clipboard

JSON-LD 1.1 Processing Algorithms and API Specification

Results 56 json-ld-api issues
Sort by recently updated
recently updated
newest added

https://www.w3.org/TR/json-ld-api/#algorithm uses a `LoadDocumentCallback` in two places, but its interface doesn't say any such callback should be passed in.

https://www.w3.org/TR/json-ld-api/#deserialize-json-ld-to-rdf-algorithm says > This algorithm deserializes a JSON-LD document to an [RDF dataset](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset). But the [algorithm inside it](https://www.w3.org/TR/json-ld-api/#algorithm-12) says > The algorithm takes a [map](https://infra.spec.whatwg.org/#ordered-map) node map, which is the...

spec:editorial
ErratumRaised
class-2

jsonld.js had a bug not being strict enough when parsing IRIs. For input like `123:abc` it would think `123` was a URI scheme. https://github.com/digitalbazaar/jsonld.js/issues/523 This may not be a common...

The Context Overflow definition from the Context Processing Algorithm, 5.2.3 reads as follows: > If the number of entries in the remote contexts array exceeds a processor defined limit, a...

spec:bug
ErratumRaised
class-3

This was raised against another spec in https://github.com/w3c/rdf-canon/issues/18, and a similar change should be made here and in Framing. Note that this shouldn't affect any actual test results. The definition...

wr:spec-updated
Errata
Editorial
class-3

The following compact data expands as expected to a `@list` of vocabulary term IRIs: ```json { "@context": { "owl": "http://www.w3.org/2002/07/owl#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "owl:unionOf": {"@container": "@list", "@type": "@vocab"}, "@base":...

spec:enhancement
spec:substantive
ErratumRaised
class-3

Hi, from [expansion algorithm](https://www.w3.org/TR/json-ld11-api/#expansion-algorithm), I don't understand how nesting is supposed to work, especially when step 14.2.2 specifies to "Recursively repeat steps [13](https://www.w3.org/TR/json-ld11-api/#alg-expand-each-key-value) and [14](https://www.w3.org/TR/json-ld11-api/#alg-expand-resolve-nest) using nested value for element",...

In 5.2.1 of the context processing algorithm it says: > Initialize context to the result of resolving context against base URL. If base URL is not a valid [IRI](https://tools.ietf.org/html/rfc3987#section-2), then...

ErratumRaised
Editorial
class-2

The 1.1 spec and test cases are missing coverage of how to handle various `@json` processing issues and possible data. This work started when looking into a a jsonld.js issue...

test:missing-coverage
defer-future-version
ErratumRaised
class-4

In the expansion algorith, step 7 says: https://github.com/w3c/json-ld-api/blob/9db973ab00f9f0764943b497d5be0c62a9d78c77/index.html#L2524-L2529 On line 2527 there is an opening parenthesis that is not closed. I can only guess that the intention was to close...

spec:editorial
ErratumRaised
Editorial
class-2