Open asbjornu opened 1 month ago
This is bad in particular as the document author has only limited control about what goes into the "slugifiedName" (as the algorithm for generating it is undefined).
As noted by @reschke, name-range-requests
anchor comes from slugifiedName
.
The preptool step adds the following line:
<name slugifiedName="name-range-requests">Range Requests</name>
But I'm not sure this counts as a bug since internal references still use the author-provided (range.requests
) anchor.
The table of contents uses the slugifiedName
according to RFC 7992 ^1.
It's a bug, as we want the author-provided anchors to be used. Those should be used by default (stability across revisions), and thus need to be what the readers see in the address bar (for bookmarking etc).
Describe the issue
As pointed out by @royfielding in https://github.com/ietf-tools/xml2rfc/issues/1156#issuecomment-2338999795:
As an example, the Range Requests header in RFC 9110 points to the anchor
#name-range-requests
, while the appropriate anchor to point to would be#range.requests
, as the presumably author-chosen identifier of the header's parent element:Code of Conduct