-
Notifications
You must be signed in to change notification settings - Fork 580
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
Sigil create new epub3, epubcheck failed. #250
Comments
That may be an error in epubcheck. Doctypes on pure xml files like the toc.ncx are allowed and are needed for backwards compatibility with epub2 readers. The dtd is allowed to be there as well again for backwards compatibility. I think there is an official epubcheck bug already filed on this someplace on their site. Sent from my iPad
|
FWIW, I think we could modify the code to remove the DOCTYPE on the toc.ncx just for epub3, but it really makes no sense given the only reason to have a toc.ncx under epub3 is for backwards compatibility with epub2 ereaders. I will look into this as epubcheck rarely if ever updates and fixes its own bugs. |
epubcheck has a closed issue above. |
For what it's worth, none of the commercial epub3s I'm seeing include the DOCTYPE in the NCX. And I'm seeing no compatibilty issues in epub2 reading systems (mainly older ADE on desktops and RMSDK-based portables) as a result. |
Just committed fix for this to master. Closing this issue. |
How to reproduce:
Validating using EPUB version 3.0.1 rules.
ERROR(OPF-073): e3.epub/OEBPS/toc.ncx(3,52): External identifiers must not appear in the document type declaration.
The text was updated successfully, but these errors were encountered: