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 2.0.1 XHTML Content Documents MUST contain a doctype declaration #982

Open
rdeltour opened this issue Feb 26, 2019 · 0 comments
Open
Labels
priority: low To be processed when time allows spec: EPUB 2.x Impacting the support of EPUB 2.x specifications status: accepted Ready to be further processed type: improvement The issue suggests an improvement of an existing feature

Comments

@rdeltour
Copy link
Member

Coming from #274:

XHTML 1.1, on the other hand, does require a doctype:

There MUST be a DOCTYPE declaration in the document prior to the root element.
http://www.w3.org/TR/xhtml11/conformance.html#s_conform

So, long story short, epubcheck should have emitted a warning that no doctype was present for the epub 2 content documents, but had doctypes been inserted I still think it would have resulted in confusion since the doctype isn't used for validation.

@rdeltour rdeltour added type: improvement The issue suggests an improvement of an existing feature priority: low To be processed when time allows status: accepted Ready to be further processed spec: EPUB 2.x Impacting the support of EPUB 2.x specifications labels Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low To be processed when time allows spec: EPUB 2.x Impacting the support of EPUB 2.x specifications status: accepted Ready to be further processed type: improvement The issue suggests an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant