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

ClassCastException w/ multiple <langusage> nodes #516

Open
mikesname opened this issue Oct 1, 2021 · 0 comments
Open

ClassCastException w/ multiple <langusage> nodes #516

mikesname opened this issue Oct 1, 2021 · 0 comments
Labels

Comments

@mikesname
Copy link
Contributor

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.

@mikesname mikesname added the bug label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant