ietf-tools / bibxml-service

Django-based Web service implementing IETF BibXML APIs
https://bib.ietf.org
BSD 3-Clause "New" or "Revised" License
16 stars 19 forks source link

bibxml (bibxml-rfcs): missing initials attribute for author of RFC 4885 #335

Open ajeanmahoney opened 1 year ago

ajeanmahoney commented 1 year ago

Describe the issue

Please see https://bib.ietf.org/public/rfc/bibxml/reference.RFC.4885.xml

The following author information: <author fullname="H-Y. Lach" surname="H-Y. Lach"/>

Should be: <author fullname="H-Y. Lach" initials="H-Y." surname="H-Y. Lach"/>

The source data in rfc-index.xml seems to be okay, but maybe there's a issue creating the bibxml data due to the hyphen?

I've also checked another RFC that has an author with hyphenated initials (RFC 6184). Its bibxml data is correct and xml2rfc renders it correctly: https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6184.xml

Note that xml2rfc handles the bibxml data for RFC 4885 by converting the bibxml data to "Lach, H.".

Code of Conduct

ajeanmahoney commented 1 year ago

We have found some more examples of missing author initials in the bibxml files. In these RFCs, the author mostly presents his initials as Y(J):

RFC 4553 (everything matches here, but the initials do not include parentheses) Document header: YJ. Stein, Ed. bibxml: fullname="YJ. Stein" initials="YJ." role="editor" reference output: YJ. Stein, Ed.

In the following RFCs, where the author places one initial in parentheses, the initials attribute is missing in the bibxml and the initial in parentheses is missing in the output:

RFC 5087
Document header: Y(J). Stein
bibxml: fullname="Y(J). Stein" surname="Y(J). Stein" reference output: Stein, Y.

RFC 5287
Document header: Y(J). Stein
bibxml: fullname="Y(J). Stein" surname="Y(J). Stein" reference output: Y. Stein

RFC 6310
Document header: Y(J). Stein bibxml: fullname="Y(J). Stein" surname="Y(J). Stein" reference output: Y. Stein

RFC 7893 Document header: Y(J) Stein bibxml: fullname="Y(J) Stein" surname="Y(J) Stein reference output: Stein, Y.

ajeanmahoney commented 1 year ago

Hi all, is there a status update on this? Thanks!

rjsparks commented 1 year ago

This will get tied into the re-calculation of all of bibxml-ids (as the datatracker Author records will get updated). It's suffering from exactly the same problem bibxml-ids is.