Skip to content

xml2rfc should not change the case of the initials when derived from fullname #1333

Description

@kesara

Description

At the moment, xml2rfc always use the uppercase for initials when initials are derived from the fullname attribute.1

But when initials and surname is provided, xml2rfc doesn't change the case.

Examples:

<author fullname="jane Doe"></author>

generates: J. Doe

<author fullname="jane doe"></author>

generates: J. doe

<author fullname="jane doe" initials="j" surname="doe"></author>

generates: j. doe

In the case of single letter names, both

<author fullname="j doe" surname="doe"></author>

and

<author fullname="j doe"></author>

generates: J doe

Code of Conduct

Footnotes

  1. https://github.com/ietf-tools/xml2rfc/blob/main/xml2rfc/util/name.py#L40

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions