Closed reschke closed 2 months ago
Sorry for the noise; apparently the "proper" anchor is on the enclosing element.
It's still bad that the "self link" chooses the wrong anchor, though.
It is not appropriate for the tools to override the anchor names chosen by the authors. We deliberately chose those names and expect them to appear in all section and ToC references. It is still a bug even if the old references work, since we do not want two or three alias names for every section ref. We only want the ones that are authored in the XML.
Describe the issue
It appears that xml2rfc now throws away anchor information from the source document and always uses the "slugifiedName".
Example from rfc9110.xml:
So "range.request" should appear in the HTML.
However (rfc9110.html):
I believe in the past it used both (one for "id=" one for "href=").
In any case, this is a serious problem as it breaks existing anchors in content.
Code of Conduct