-
Notifications
You must be signed in to change notification settings - Fork 35
Unclear how to set original base URL in Context Processing #370
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
This is not dissimilar from Turtle serialization from a form, rather than a remote document. Also, the JSON-LD Playground. Implementations provide a reasonable default to use as a document base. Perhaps if step 7 of the |
Actually, the LoadDocumentCallback will generate a "loading document failed" error if the URL can't be resolved, so no new error detection is required. I did add changes to the |
… This uses `JsonLdOptions/base`, which could be null, or something else appropriate for when the `input` or `expandContext` is not a URL. For #370.
Updated in 50a50ca0356146974532507c5e01d3ce2798e324, and to give |
Updated in #377. |
… This uses `JsonLdOptions/base`, which could be null, or something else appropriate for when the `input` or `expandContext` is not a URL. For #370.
(Related to #265, #356)
Context Processing Overview 4.1.1 says:
What about when there is no
documentUrl
? Is itnull
, or is it the current base IRI? ThedocumentUrl
field is only relevant when the LoadDocumentCallback has been used.This also impacts
compact()
step 3, andexpand()
step 4.The text was updated successfully, but these errors were encountered: