-
Notifications
You must be signed in to change notification settings - Fork 60
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
trailing whitespace in mimetype file #1250
Labels
Topic-OCF
The issue affects the OCF section of the core EPUB 3 specification
Comments
dauwhe
added
the
Topic-OCF
The issue affects the OCF section of the core EPUB 3 specification
label
Mar 26, 2019
I think epubcheck enforces this, but the spec should say no leading or trailing whitespace. One more reason to break up that awful run-together sentence of requirements. |
@mattgarrish your wish is my command |
Closed via #1251 |
rdeltour
added a commit
to w3c/epubcheck
that referenced
this issue
Mar 29, 2019
rdeltour
added a commit
to w3c/epubcheck
that referenced
this issue
Apr 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In testing EPUBCheck 4.2, I found several errors on old EPUB 2 files around the mimetype. I tracked them down to mimetype files that contained a linebreak after the required string.
We are certainly less specific about trailing whitespace than leading whitespace. Should we mention this in the spec? Does this actually break the magic number?
Bad EPUB:
Good EPUB:
The text was updated successfully, but these errors were encountered: