Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise better exception if a schema contains duplicate IDs #32

Open
StokesMIDE opened this issue Jan 3, 2020 · 0 comments
Open

Raise better exception if a schema contains duplicate IDs #32

StokesMIDE opened this issue Jan 3, 2020 · 0 comments
Labels
enhancement New feature or request Schema Related to the EBML schemata

Comments

@StokesMIDE
Copy link
Member

An element that duplicates a name with a different ID raises an appropriate type error when the schema is imported. An element with a duplicate ID and a different name raises a KeyError; it should raise something with a message stating that the ID has already been used.

@StokesMIDE StokesMIDE added enhancement New feature or request Schema Related to the EBML schemata labels Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Schema Related to the EBML schemata
Projects
None yet
Development

No branches or pull requests

1 participant