Skip to content

[FEEDBACK] Consider disallowing duplicate attribute names #756

Closed
@catamorphism

Description

@catamorphism

Duplicate option names are a data model error, while duplicate attribute names are allowed.

This makes the implementation a little more complicated, as the code is less uniform when it comes to parsing options vs. attributes.

I know that since attributes are reserved for future use, it might be a bit weird to emit errors related to them. Still, unless there's a use case for multiple attributes with the same name, maybe it's worth specifying that attribute names, like option names, must be unique?

Metadata

Metadata

Assignees

No one assigned

    Labels

    LDML46LDML46 Release (Tech Preview - October 2024)Preview-FeedbackFeedback gathered during the technical previewdata modelIssues related to the Interchange Data ModelnormativeIssue affects normative text in the specificationsyntaxIssues related with syntax or ABNF

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions