-
Notifications
You must be signed in to change notification settings - Fork 46
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
URLs within specification HTML file are not "memorable" #533
Comments
Additional question: Are the For a standards document that has excellent section anchors and IDs, see the C++ programming language. |
Why not use a map in the implementation language which should be easily derivable from the spec html (table of contents)? |
When I'm looking at a URL, I want to know exactly what this URL is about. The anchor If OASIS should ever decide that the HTML version of the specification would be regenerated, all previous references to the sections would become broken. Not so for the C++ standard, as the anchors are human-centered and give a strong hint what they are about. As long as the content of the C++ standard stays the same, these anchors will survive. Not so for the OASIS standards, where the anchors differ between the These stable URLs (and more generally: stable identifiers) are what Tim Berners Lee described in the Cool URIs article.
A map in the implementation would only have this limited scope, for this one implementation. This limits the usefulness of the OASIS standard. By the way, POSIX has done the same mistake by using anchors of the form |
That was the point: Being helpful for the case brought up. That being "said": The members of the committee may always consider and adopt such quest for semantic links / anchors. |
Let's put this in the editorial backlog for action in 2.2. Clearly an opportunity to do a better job. I have personally experienced a fair amount of pain myself obtaining links to various doc sections. We're moving to markdown, it appears, and will have more control over the design here. |
Document location for issue:Generic issue - no specific location. |
I'm working on a SARIF consumer (updating GCC to be able to view SARIF files to replay them, using GCC's output formats; as opposed to issue #531, which is GCC as a SARIF producer).
My code can issue complaints about malformed SARIF files e.g.:
where I'm capturing the fact that this file violates [SARIF v2.1.0 §3.11.11].
I'd like to be able to provide a URL for the specific part of the specification that is violated (both as a hyperlink in the output, and as the 3.49.12 reportingDescriptor.helpUri property when reporting the violation in SARIF form)
Unfortunately, looking at:
https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html
the HTML for that section is:
i.e. the anchor for section 3.11.11 has name "_Ref508811093". The anchor IDs appear to have been auto-generated by an output tool, rather than having meanings.
Is there a way to fix this? Are there canonical URIs for the various parts of the specification?
See e.g. https://www.w3.org/Provider/Style/URI.html
The text was updated successfully, but these errors were encountered: