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

ePub v2 fails validation with ePubCheck in pandoc 3.1.12 - worked previously #9469

Closed
shoesforindustry opened this issue Feb 16, 2024 · 0 comments
Labels

Comments

@shoesforindustry
Copy link

shoesforindustry commented Feb 16, 2024

Validating an ePub v2 with ePubCheck fails validation with the following errors in pandoc 3.1.12. The same validation on the same ePub worked in the previous version:

Validating using EPUB version 2.0.1 rules.
ERROR(RSC-005): ./book.epub/EPUB/content.opf(2,108): Error while parsing file: attribute "xml:lang" not allowed here; expected attribute "id" or "unique-identifier"

These two are repeated 6 more times:
ERROR(RSC-005): ./book.epub/EPUB/content.opf(27,36): Error while parsing file: element "meta" missing required attribute "content"

ERROR(RSC-005): ./book.epub/EPUB/content.opf(27,43): Error while parsing file: text not allowed here; expected the element end-tag

It seems maybe the accessibility and xml:lang stuff that was added in pandoc 3.1.12 version should not be included for epub2 as it won't validate?

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