Closed yarikoptic closed 4 years ago
You should use the published version at https://www.w3.org/TR/json-ld11/, which is the result of processing the editors draft and resolving all such links.
The editors draft is in a "raw" format, and makes use of ReSpec. It does provide some features that the published version doesn't (unfortunately), such as highlighted variables within algorithms. ReSpec is widely used for W3C specifications.
There is a processes used in our continuous integration to create a fully resolved version from the source in .travis-ci.yaml, if you really want to work off of the editor's draft:
Resolved to close, as the final form will have anchors in the html.
Thank you @gkellogg !
JS-powered https://w3c.github.io/json-ld-syntax is really nice, but we encountered difficulty with linkchecker to verify that URLs we use are still correct. The reason is that it seems that the anchors are populated and/or handled by JS, so anything which just downloads the page without running JS would fail to find those id's.
E.g. in our case it is https://w3c.github.io/json-ld-syntax/#named-graphs link, for which there is no "named-graphs" id in the actual source .html:
I am not sure if there is an easy workaround at any level, or may be some alternative link which would lead to an .html version with those anchors?
PS Please pardon my ignorance if it is something really simple ;)