w3c / json-ld-api

JSON-LD 1.1 Processing Algorithms and API Specification
https://w3c.github.io/json-ld-api/
Other
76 stars 29 forks source link

Fix compacting property-based indexes. #528

Closed gkellogg closed 3 years ago

gkellogg commented 3 years ago

The value of @index on a property map can be a Compact IRI in addition to an IRI. The Compaction Algorithm is updated to first expand this value before re-compacting it. Added additional language to the Compaction Algorithm step 12.8.9.6.1 to first expand container key before compacting it.

Also fixed an emergent issue with WebIDL reference for LoadDocumentCallback/url.

Adds two new compaction tests.

Fixes #514.

CC/ @vcharpenay


Preview | Diff