Undeclared content is not flagged as a warning in EPUBCheck 5
CircularKen opened this issue · comments
Recently had a few EPUBs returned from a client due to them failing Apple's Transporter checks.
I realise now that through my hand editing some content was commented out from the OPF but not removed from the package folders.
I had checked using Pagina EPUB-Checker 2.0.10 (EPUBCheck 5.1.0) and Pagina EPUB-Checker 2.0.9 (EPUBCheck 5.0.1) and had not had any flagged warnings. The issue IS flagged as a warning in EPUB-Checker 2.0.9 (EPUBCheck 4.2.6).
I have had a look at the release documentation here for EPUBCheck 5 but didn't see a reference to this, so have I (and Apple…) missed the fact that extra files in an EPUB package are no longer raising a warning in EPUBCheck?… or is there an issue with EPUBcheck? or an issue with Pagina's implementation of it?
![Screenshot 2024-02-13 at 11 29 06](https://private-user-images.githubusercontent.com/17338941/304392781-0c854700-590b-4243-8f22-a504dc94068c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyMzEyOTAsIm5iZiI6MTcyMzIzMDk5MCwicGF0aCI6Ii8xNzMzODk0MS8zMDQzOTI3ODEtMGM4NTQ3MDAtNTkwYi00MjQzLThmMjItYTUwNGRjOTQwNjhjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA5VDE5MTYzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBiNmFmNWM1MDFlOGFjZTMwZGJhZmVjMmUwYjlkZmU3MTcyZjAzMmM5MTg0YzhjY2ViOWQzNjdhZjJmNzgxNTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yOMV7nOLq_SscaZKNcXO_CxCg335wyGHN_sUC0buYiI)
Files travelling in the container but not listed in the manifest was downgraded from a warning to a usage message while we were testing spec requirements against epubcheck to get epub 3.3 through W3C process (i.e., it was a case of epubcheck having a rule of its own making as the epub spec doesn't make this a warning).
For more info, see #1465
OK, thanks for the info @mattgarrish
For now we will have to remember to use earlier EPUBcheck before submitting files to Apple!
Closing this issue.