-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
Context Processing step 5.2.1:
Initialize context to the result of resolving context against base URL.
This base URL
comes directly as the argument to this algorithm. However, in at least one case, the value of base URL
is not an absolute IRI.
The expand()
defintion in JsonLdProcessor Interface step 5 says:
If the expandContext option in options is set, update the active context using the Context Processing algorithm, passing the expandContext as local context and expandContext as base URL.
In test t0077, the value of "expandContext" is simply "0077-context.jsonld"
, which will cause Context Processing to attempt to resolve a relative IRI against another relative IRI. I don't think that's what is intended here.