ietf-tools / relaton-data-ids

Bibliographic data information for Internet-Drafts in Relaton format
7 stars 10 forks source link

`forename.content` should not be a list #23

Closed stefanomunarini closed 1 year ago

stefanomunarini commented 1 year ago

Regarding https://github.com/ietf-tools/relaton-data-ids/blob/51819883fa002990c8cb638242ebe5ee9b60dc56/data/draft--pale-email-00.yaml#L30 and based on the specs,

forename.content should be a single instance of LocalizedString, and not a list.

stefanomunarini commented 1 year ago

Not sure who to tag/assign here, perhaps @andrew2net ?

andrew2net commented 1 year ago

@stefanomunarini the Relaton YAML doesn't match the diagram literally. In the example, you see a list of forenames, not content. Forename contains LocalizedString and optional initial string. LoclalizedString has its own content attribute. It's not the same content as you see in the spec. In the example, there are 2 forenames. https://github.com/ietf-tools/relaton-data-ids/blob/51819883fa002990c8cb638242ebe5ee9b60dc56/data/draft--pale-email-00.yaml#L29-L35

stefanomunarini commented 1 year ago

Thanks for the clarification @andrew2net . That's correct, I misinterpreted the YAML. Closing this issue