Skip to content

Duplicate IDs with same attributes but different names do not raise exceptions #74

@StokesMIDE

Description

@StokesMIDE

If an EBML ID is reused for another element, importing the schema will only raise an exception if either the base element type is different or the element's attributes differ. The element name should also be considered.

Implementation detail: this might be easily solved by just explicitly adding the name to the list of attributes in Schema.addElement() (somewhere around here: https://github.com/MideTechnology/ebmlite/blob/development/ebmlite/core.py#L1201-L1207)

Metadata

Metadata

Assignees

No one assigned

    Labels

    SchemaRelated to the EBML schematabugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions