Skip to content
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

Context Processing Algorithm Dependency Resolution #151

Closed
dlongley opened this issue Aug 1, 2012 · 3 comments
Closed

Context Processing Algorithm Dependency Resolution #151

dlongley opened this issue Aug 1, 2012 · 3 comments
Assignees

Comments

@dlongley
Copy link
Member

dlongley commented Aug 1, 2012

The current context processing algorithm in the JSON-LD API doesn't address resolving dependencies when defining context mappings where keys contain prefixes. It also does not handle raising an error when a circular dependency is detected.

The jsonld.js implementation handles both of these things and could potentially be used as a guide for adding this to the existing algorithm.

@msporny
Copy link
Member

msporny commented Aug 13, 2012

The working group needs to resolve the following things:

PROPOSAL: Document a @context processing algorithm that is capable of deterministically resolving dependencies and detecting cyclical dependencies, and raising errors when a cycle is detected. The primary candidate for this algorithm is in the jsonld.js implementation.

@lanthaler
Copy link
Member

ACTION: @dlongley to send suggested spec text to modify the algorithm to public-rdf-comments@w3.org

@lanthaler
Copy link
Member

Closing this issue as we updated the spec. There are still some problems for which I'll open a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants