Skip to content

fix(bibxml): Improve author name processing - #11500

Open
kesara wants to merge 2 commits into
ietf-tools:feat/bibgenfrom
kesara:fix/initials
Open

fix(bibxml): Improve author name processing#11500
kesara wants to merge 2 commits into
ietf-tools:feat/bibgenfrom
kesara:fix/initials

Conversation

@kesara

@kesara kesara commented Aug 12, 2026

Copy link
Copy Markdown
Member

This PR improves author name processing.
While this matches the existing output mostly, there are some improvements.
Improved scenarios:

  • When the initials has a hyphen.
    Example: RFC 9845
    Existing output: <author fullname="M-P. Odini" surname="M-P. Odini"/>
    New output: <author fullname="M-P. Odini" initials="M-P." surname="Odini"/>

  • When the initials has multiple letters.
    Example: RFC 5930
    Existing output: <author fullname="NSS. Murthy" surname="NSS. Murthy"/>
    New output: <author fullname="NSS. Murthy" initials="NSS." surname="Murthy"/>

  • When the author has brackets in initials (without period).
    Example: RFC 7893
    Existing output: <author fullname="Y(J) Stein" surname="Y(J) Stein"/>
    New output: <author fullname="Y(J) Stein" initials="Y(J)" surname="Stein"/>

  • When the author has brackets in initials (without out period).
    Example: RFC 6310
    Existing output: <author fullname="Y(J). Stein" surname="Y(J). Stein"/>
    New output: <author fullname="Y(J). Stein" initials="Y(J)." surname="Stein"/>

NOTE that regex in this PR is assisted by Claude Opus 5.

@kesara
kesara requested a review from rjsparks August 12, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant