-
Notifications
You must be signed in to change notification settings - Fork 23
Describe scoped context with @base for id map? #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Irrelevant as in no longer works? (And if so ... wouldn't that be a normative change?) |
No, it's relevant. |
It might be considered a bug, but the algorithm doesn't set the local context when processing id-map keys, it is deferred until processing values, thus your example won't work. We could (probably should) add a step after 13.8.3.1 to set map context if This will require more tests for this. In the mean time, I'm just going to update the example to set |
Hmm, then I'm doubly glad I found it, as it works in the playground just fine! |
(Relabeling so we know to discuss on a call) |
Adding
@base
as a scoped context below an id map makes the structure much more useful:As then the URIs become relative to base, and can thus be simple keys / slugs.
The text was updated successfully, but these errors were encountered: