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

The wording of step 19.1 is: > If result is a map which is empty, or contains only the entries `@value` or `@list`, set result to null. That *only* indicates...

spec:bug
spec:substantive
defer-future-version
Errata

In my current implementation of the expansion algorithm, when the expanded node only contains value entries (i.e. `@language` or `@direction` entries), then it is dropped. In my interpretation of the...

spec:bug
spec:substantive
test:needs tests
ErratumRaised
class-3

From the step 5.7 of the context processing algorithm it is clear that a `@base` value is accepted iff it is `null` (step 5.7.2) or an IRI (5.7.3) or a...

spec:enhancement
spec:substantive
test:needs tests
ErratumRaised

Hi, Step 5.5.1 of the Context Processing Algorithm says: > If `override protected` is false and `active context` contains any protected term definitions, an `invalid context nullification` has been detected...

spec:bug
spec:substantive
Errata

The test [compact#t0080] is wrong, IMO. The input (which is in expanded form) corresponds to the following dataset: ``` _:b0 . _:b1 "x" . ``` however, the expected compacted result...

spec:bug
class-3

Point 8 in IRI Expansion https://www.w3.org/TR/json-ld11-api/#iri-expansion says nothing about an integer JSON value that is expanded to an IRI in presence of a base IRI . So this should be...

ms:future-work
spec:enhancement
spec:substantive
defer-future-version

The definition of the [JsonLdOptions Type](https://www.w3.org/TR/json-ld11-api/#the-jsonldoptions-type) specifies that the default value for produceGeneralizedRdf is `true`. However, there are tests that fail if this is the case (e.g. the toRdf test...

spec:bug
spec:substantive
defer-future-version
Errata

I was trying to get my implementation of the compaction algorithm to pass test c013 and I think that the spec may be misleading. Step 5 reverts `active context` if...

spec:bug
spec:substantive
defer-future-version
Errata

From https://github.com/digitalbazaar/jsonld.js/issues/498. cc/ @pchampin @davidlehn (the same issue is present in PyLD: https://github.com/digitalbazaar/pyld/issues/167) Consider the following: ``` { "@context": { "t": "_:b" }, "@type": "t:x" } ``` It expands to...

test:needs implementation
test:missing-coverage

I believe that an instruction is missing from step 6.10 of [Node Map Generation](https://www.w3.org/TR/json-ld11-api/#node-map-generation), namely: - if node map does not contain an id entry, create one and initialize its...

spec:bug
ErratumRaised