You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If term contains neither a colon (:) nor a slash (/), simple term is true, and if the IRI mapping of definition is either an IRI ending with a gen-delim character, or a blank node identifier, set the prefix flag in definition to true.
This was not caught because 1.0 tests, such as expand 0038, are no longer run in jsonld.js. (comments in json-ld-api issue). The above "expected" result does occur with the older 1.0 processor playground: https://json-ld.org/playground/1.0/
(the same issue is present in PyLD: digitalbazaar/pyld#167)
Consider the following:
It expands to
while it should expand to
Indeed, step 14.2.5 of Create Term Definition clearly states:
(emphasis is mine)
Therefore, step 6.4 of IRI Expansion should apply.
The text was updated successfully, but these errors were encountered: