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

EPUB 2.0.1 XHTML Content Documents MUST contain a doctype declaration #982

rdeltour opened this issue Feb 26, 2019 · 0 comments

Comments

@rdeltour
Copy link
Member

@rdeltour rdeltour commented Feb 26, 2019

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.

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

Successfully merging a pull request may close this issue.

None yet
1 participant