Skip to content

The validator crashes if the METS contains a DIV without an attribute LABEL #145

@spacid

Description

@spacid

The METS.xsd allows for a DIV element with no LABEL attribute. Even if the LABEL attribute was mandatory, it should be resolved in a graceful way and not crashing.

The code in question:

element.attrib['LABEL'].lower().startswith('representations/'):

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions