-
Notifications
You must be signed in to change notification settings - Fork 145
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
Could not load schema with relative uris definitions #156
Comments
Relative paths are not supported I think. If the standard allows it, it could be supported, though. |
I think |
It should be the user-supplied loader-callback handling path-lookup and thus evaluating relative-path. Not the validator. |
Its been a while since I opened this, but as I recall :
|
OK; so what would need to be added to the loader callback is return-value containing canonicalized URL after "resolution". Or maybe there should be even a dedicated callback for URL canonicalization which is then use for loading... I don't know. |
Hello, some help needed with this ...
When validating the following msg.json with schema hierarchy1 works fine:
msg.json:
Schema hierarchy1:
/root.json
/common.json
/v2.json
/v1/v1.json
When changing to hierarchy2 it validates the doc but also complains inserting the root schema:
Schema hierarchy2 with same docs except:
/root.json
/v2/v2.json
I am using tag 2.1.0 and nlohmann/json v3.8.0.
Thanks in advance,
The text was updated successfully, but these errors were encountered: