-
Notifications
You must be signed in to change notification settings - Fork 24
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
Collection of Dataset without "href" element hangs #15
Comments
We couldn't reproduce the error (by "hangs" I'm assuming you mean the document doesn't validate). After removing the "href", have you verified the document is still valid JSON? |
At the bottom of this message are the modified jsonstat file http://json-stat.org/samples/oecd-canada-col.json with the "href" element on dataset class removed. Opening it with http://json-stat.com/explorer/ will produce the following screen, and it doesn't open the dataset. `{
}` |
Ah ok, now I understand. This is not an issue of the format or the validator, just a limitation of the JSON-stat Explorer, which can be considered a demo. It's true: the Explorer assumes the more common case that collections don't have embedded content, or if they have it is also available by reference (href). If I have the time I'll try to improve this aspect of the Explorer. |
Collection of Dataset without "href" element hangs
Reproducing the issue:
Edit the jsonstat file http://json-stat.org/samples/oecd-canada-col.json, remove "href" element in each dataset and parse.
The text was updated successfully, but these errors were encountered: