Open aucampia opened 4 years ago
It seems to me that the problem isn't that "relative path to context does not work", but that its resolving relative paths based on the current working directory, instead of the basedir
of the resource being processed. I was able to work around this (here) by using a cd
, but it seems wrong. Alternatively, I was able to work around it (here) by using a --base=
- but requiring that seems a bit redundant, to me. Perhaps this is related to #24.
@davidlehn @msporny FYI
Is this still an issue? I tried it and it worked but with the relative context in the output.
{
"@context": "./person.jsonld",
"telephone": "1323"
}
If I specify a relative path to a context file I get a jsonld.InvalidUrl error
Steps to reproduce
Expected output
Actual output
Notes:
Following works fine:
url to context
full path to context