Exported ePub won't open in Apple Books

I used the Epub Validator at draft2digital.com/book/epubcheck/upload to check the Epub file you sent.

The validator reported five fatal errors.

Two of these were reported with the following message:

The element type “br” must be terminated by the matching end-tag “</br>”.

I checked one of these, and it was some code you had inserted directly, not anything that Notenik had generated. Looked like you used <br> instead of <br />, which is required for XHTML. (See here for reference.) EPUB still requires strict XHTML.

The other three errors were reported with the following message:

The entity name must immediately follow the ‘&’ in the entity reference.

These were all caused by bugs in Notenik.

I’ve been able to supply a quick fix for one of these problems, responsible for two of the error messages, and the 16.5.6 beta should incorporate this fix. If you can test and validate, that would be great.

It will take me a little longer to look into the other error (perhaps a day or two or three). In the meantime, though, it seems to arise with cases where an ampersand is used without a following space – as in B&L and M&D.

Thanks for reporting the problems!

1 Like