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

Resolve file URIs locally instead of over HTTP #44

Closed
lkitching opened this issue May 25, 2020 · 0 comments
Closed

Resolve file URIs locally instead of over HTTP #44

lkitching opened this issue May 25, 2020 · 0 comments

Comments

@lkitching
Copy link
Contributor

lkitching commented May 25, 2020

All JSON URIs are resolved by attempting to access them over HTTP. File URIs should be resolved by reading the referenced file instead. This can be reproduced with the following invocation from the root of the repository:

 java -jar target/csv2rdf-0.4.5-SNAPSHOT-standalone.jar \
    -u w3c-csvw/tests/test034/csv-metadata.json \
    -m annotated -o output.ttl
lkitching added a commit that referenced this issue May 25, 2020
Issue #44 - Add read-uri-json multimethod which dispatches on the URI
scheme. Add implementions for HTTP(S) and file schemes and raise an
error in the default implementation. Delegate to this method within
the URI implementation of JSONSource.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant