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

epubcheck 5.1.0 failing on books with TDM opt-outs #1574

Open
liisamk opened this issue Sep 13, 2024 · 3 comments
Open

epubcheck 5.1.0 failing on books with TDM opt-outs #1574

liisamk opened this issue Sep 13, 2024 · 3 comments

Comments

@liisamk
Copy link

liisamk commented Sep 13, 2024

When we test including a TDM opt-out in our OPF files, we are consistently getting an epubcheck error: ERROR (OPF-028): Undeclared prefix: "tdm"

Since this is an industry standard that many publishers around the world are starting to implement, it should be fixed.

Example file TK

@TzviyaSiegman
Copy link
Collaborator

@mattgarrish
Copy link
Member

Have you declared a prefix as in the example @TzviyaSiegman cited?

If so, what version of epubcheck are you running? I can't reproduce the error if the prefix is declared.

If you're wanting to skip declaring a prefix, you need to get the epub standard amended to add tdm as a reserved prefix.

@liisamk
Copy link
Author

liisamk commented Sep 13, 2024

Ah- mea culpa. The prefix was not declared. When we add it, the validation in 5.1.0 works.

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

No branches or pull requests

3 participants