Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Conversion fails on OPF files without a creator #11

Open
mwbenowitz opened this issue Oct 14, 2021 · 0 comments
Open

Conversion fails on OPF files without a creator #11

mwbenowitz opened this issue Oct 14, 2021 · 0 comments

Comments

@mwbenowitz
Copy link
Collaborator

Currently the webpub conversion service fails if no dc:creator field is present in the metadata block of an ePub's OPF file. This should be allowed according to the ePub 3.2 standard which only requires identifier, title and language.

The comment on the extractMetadataMember states that it will return undefined on failure, but the extractContributors method expects this return to always be an array.

I think this could be handled by simply handling the undefined method but I'm not sure if that's in keeping with the standards for how this was built.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant