epubcheck
https://github.com/w3c/epubcheck
Java
The conformance checker for EPUB publications
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported3 Subscribers
Add a CodeTriage badge to epubcheck
Help out
- Issues
- EPUB 2: three EPUB 3.3 container rules are applied to OCF 2.0.1 (`|` in file names, names that differ only in normalization, a second OPF rootfile)
- EPUB 2: UTF-16 files are reported (HTM_058 error, RSC-027 and CSS-003 warnings), though OCF, OPF and OPS 2.0.1 allow UTF-16
- `<script type="module">` is treated as a data block: OPF-015 with the scripted property, nothing without it
- IllegalStateException in OCFChecker.checkPublicationVersion when the package document cannot be parsed
- Doesn't Handle Nesting Selector (&)?
- CSS-008 is an error for CSS that EPUB 3.3 allows (parse errors, nested rules, bad urls)
- HTM-057: viewport width and height accept 0, and reject +1200 and .5
- HTM-047: a valueless viewport property followed by a space is reported as a syntax error
- EPUB 2: an object's fallback (a nested object, or text) is not counted, so RSC-032 is reported
- Navigation document: a heading is required on other nav types and hgroup is accepted, unlike EPUB 3.3 section 7.3
- Docs
- Java not yet supported