Skip to content

ClassCastException w/ multiple <langusage> nodes #516

@mikesname

Description

@mikesname

If an EAD looks like this:

<langusage>
    <language code="eng">English</language>
    <language code="cze">Czech</language>
</langusage>

...the result will be a ClassCastException: java.util.ArrayList cannot be cast to java.lang.String

We only support single-language EADs so this should be a validation error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions