- From: Matt Garrish <matt.garrish@gmail.com>
- Date: Sat, 4 Nov 2017 05:29:04 -0700
- To: "C.J.S. Hayward" <christos.jonathan.hayward@gmail.com>, public-epubcheck@w3.org
- Message-ID: <CAEfJPCSYyj+rGF5XU5SRgvD+YTrpZPqdZ-H44iXECt9UCS=YCQ@mail.gmail.com>
The short answer is that you can't just change the version number of an EPUB 2 and get a valid EPUB 3. Another short answer is that you can't just add an 'x' to the extension of an html file and get valid XHTML content. The longer answer is that the epub is riddled with errors because of that strategy. I would suggest reverting back to an epub 2 file and fixing the structural problems with your zip archive first (cover.jpg is in a subdirectory, for example, toc.xhtml isn't found because you left the extension as .html, stylesheet.css is nowhere to be found, the mimetype file has an extra hard return, etc. etc. etc.). After you fix those problems, you can tackle all the invalid xhtml, like fixing necessary self-closing tags, escaping ampersands in URLs, etc. It's all fun and games to have broken xhtml until someone tries to open your book in a reading system that uses an xml parser and gets nothing but error pages. Matt *From:* C.J.S. Hayward [mailto:christos.jonathan.hayward@gmail.com] *Sent:* November 3, 2017 5:07 AM *To:* public-epubcheck@w3.org *Subject:* File not seen error I'm working with an ePub file, and KindleGen is giving numerous warnings about missing close tags, and (at least in one case) a real error that I don't yet understand. (I'm having a little more trouble identifying files and lines with ePubChecker.) The KindleGen error is: Error(core):E1005: Could not access file. in file: /tmp/mobi-KViwv6/OEBPS/title-page.xhtml In the directory I zipped the ePub file from, there is an OEBPS/content.opf and an OEBPS/title-page.xhtml: *content.opf:* <?xml version="1.0" encoding="UTF-8"> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookID" version="3.0"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> <dc:title>A Wonderful Life</dc:title> <dc:creator opf:role="aut">C.J.S. Hayward</dc:creator> <dc:language>en-US</dc:language> <dc:rights>© 1993-2017 by C.J.S. Hayward. Distribute freely.</dc:rights> <dc:publisher>C.J.S. Hayward Publications, CJSHayward.com</dc:publisher> <dc:identifier id="BookID" opf:scheme="UUID">C.J.S. HaywardWisdom Literature</dc:identifier> <meta name="cover" content="cover-image" /> </metadata> <manifest> <item id="cover-image" href="cover.jpg" media-type="image/jpeg" /> <item id="ncx" href="toc.xhtml" media-type="application/x-dtbncx+xml" /> <item id="style" href="stylesheet.css" media-type="text/css" /> <item id="pagetemplate" href="page-template.xpgt" media-type="application/vnd.adobe-page-template+xml" /> <item id="titlepage" href="title-page.xhtml" media-type="application/xhtml+xml" /> <item id="doxology" href="doxology.xhtml" media-type="application/xhtml+ xml" /> <item id="letters" href="letters.xhtml" media-type="application/xhtml+xml" /> <item id="apprentice" href="apprentice.xhtml" media-type="application/xhtml+ xml" /> <item id="providence" href="providence.xhtml" media-type="application/xhtml+ xml" /> <item id="father" href="father.xhtml" media-type="application/xhtml+xml" /> <item id="money" href="money.xhtml" media-type="application/xhtml+xml" /> <item id="love" href="love.xhtml" media-type="application/xhtml+xml" /> <item id="meatspace" href="meatspace.xhtml" media-type="application/xhtml+xml" / > <item id="sacrament" href="sacrament.xhtml" media-type="application/xhtml+xml" / > <item id="commentary" href="commentary.xhtml" media-type="application/xhtml+ xml" /> <item id="gandhi" href="gandhi.xhtml" media-type="application/xhtml+xml" /> <item id="exotic" href="exotic.xhtml" media-type="application/xhtml+xml" /> <item id="steel" href="steel.xhtml" media-type="application/xhtml+xml" /> <item id="narnia" href="narnia.xhtml" media-type="application/xhtml+xml" /> <item id="repentance-heavens-best-kept-secret" href="repentance-heavens-best-kep t-secret.xhtml" media-type="application/xhtml+xml" /> <item id="unashamed" href="unashamed.xhtml" media-type="application/xhtml+xml" / > <item id="silence" href="silence.xhtml" media-type="application/xhtml+xml" /> <item id="open" href="open.xhtml" media-type="application/xhtml+xml" /> <item id="hydra" href="hydra.xhtml" media-type="application/xhtml+xml" /> <item id="ordinary" href="ordinary.xhtml" media-type="application/xhtml+xml" /> <item id="athanasius" href="athanasius.xhtml" media-type="application/xhtml+ xml" /> <item id="philaret" href="philaret.xhtml" media-type="application/xhtml+xml" /> <item id="joy" href="joy.xhtml" media-type="application/xhtml+xml" /> <item id="gamechanger" href="gamechanger.xhtml" media-type="application/xhtml+xm l" /> <item id="pet" href="pet.xhtml" media-type="application/xhtml+xml" /> <item id="rules-of-engagement" href="rules-of-engagement.xhtml" media-type="appl ication/xhtml+xml" /> <item id="grace" href="grace.xhtml" media-type="application/xhtml+xml" /> <item id="no_rights" href="no_rights.xhtml" media-type="application/xhtml+xml" / > <item id="memoirs" href="memoirs.xhtml" media-type="application/xhtml+xml" /> <item id="contemplation" href="contemplation.xhtml" media-type="application/xhtm l+xml" /> <item id="arena" href="arena.xhtml" media-type="application/xhtml+xml" /> <item id="decisive" href="decisive.xhtml" media-type="application/xhtml+xml" /> <item id="maximum" href="maximum.xhtml" media-type="application/xhtml+xml" /> <item id="pride" href="pride.xhtml" media-type="application/xhtml+xml" /> <item id="survive" href="survive.xhtml" media-type="application/xhtml+xml" /> <item id="find-a-job" href="find-a-job.xhtml" media-type="application/xhtml+ xml" /> <item id="russia" href="russia.xhtml" media-type="application/xhtml+xml" /> <item id="spectacles" href="spectacles.xhtml" media-type="application/xhtml+ xml" /> <item id="maximos" href="maximos.xhtml" media-type="application/xhtml+xml" /> <item id="blackbird" href="blackbird.xhtml" media-type="application/xhtml+xml" / > <item id="profoundly-gifted" href="profoundly-gifted.xhtml" media-type="applicat ion/xhtml+xml" /> <item id="zeitgeist" href="zeitgeist.xhtml" media-type="application/xhtml+xml" / > <item id="martial-arts" href="martial-arts.xhtml" media-type="application/xhtml+ xml" /> <item id="now" href="now.xhtml" media-type="application/xhtml+xml" /> <item id="best" href="best.xhtml" media-type="application/xhtml+xml" /> <item id="death" href="death.xhtml" media-type="application/xhtml+xml" /> <item id="sermon" href="sermon.xhtml" media-type="application/xhtml+xml" /> <item id="desire" href="desire.xhtml" media-type="application/xhtml+xml" /> <item id="icons" href="icons.xhtml" media-type="application/xhtml+xml" /> <item id="transcendent" href="transcendent.xhtml" media-type="application/xhtml+ xml" /> <item id="halloween" href="halloween.xhtml" media-type="application/xhtml+xml" / > <item id="disruptive-unbranding" href="disruptive-unbranding.xhtml" media-type=" application/xhtml+xml" /> <item id="humor" href="humor.xhtml" media-type="application/xhtml+xml" /> <item id="pleasure" href="pleasure.xhtml" media-type="application/xhtml+xml" /> <item id="hell" href="hell.xhtml" media-type="application/xhtml+xml" /> <item id="God" href="God.xhtml" media-type="application/xhtml+xml" /> <item id="admin" href="admin.xhtml" media-type="application/xhtml+xml" /> <item id="strength" href="strength.xhtml" media-type="application/xhtml+xml" /> <item id="mindstorm" href="mindstorm.xhtml" media-type="application/xhtml+xml" / > <item id="modus" href="modus.xhtml" media-type="application/xhtml+xml" /> <item id="lent" href="lent.xhtml" media-type="application/xhtml+xml" /> <item id="treasure" href="treasure.xhtml" media-type="application/xhtml+xml" /> <item id="jesus-prayer" href="jesus-prayer.xhtml" media-type="application/xhtml+ xml" /> <item id="monarchy" href="monarchy.xhtml" media-type="application/xhtml+xml" /> <item id="pilgrim" href="pilgrim.xhtml" media-type="application/xhtml+xml" /> <item id="punk-eek" href="punk-eek.xhtml" media-type="application/xhtml+xml" /> <item id="creation" href="creation.xhtml" media-type="application/xhtml+xml" /> <item id="plato" href="plato.xhtml" media-type="application/xhtml+xml" /> <item id="picture" href="picture.xhtml" media-type="application/xhtml+xml" /> <item id="avatar" href="avatar.xhtml" media-type="application/xhtml+xml" /> <item id="social-antibodies" href="social-antibodies.xhtml" media-type="applicat ion/xhtml+xml" /> <item id="backswing" href="backswing.xhtml" media-type="application/xhtml+xml" / > <item id="singularity" href="singularity.xhtml" media-type="application/xhtml+xm l" /> <item id="women" href="women.xhtml" media-type="application/xhtml+xml" /> <item id="fulfillment" href="fulfillment.xhtml" media-type="application/xhtml+xm l" /> <item id="dissent" href="dissent.xhtml" media-type="application/xhtml+xml" /> <item id="yoke" href="yoke.xhtml" media-type="application/xhtml+xml" /> <item id="spirit" href="spirit.xhtml" media-type="application/xhtml+xml" /> <item id="how-shall-we-live" href="how-shall-we-live.xhtml" media-type="applicat ion/xhtml+xml" /> <item id="treasures-in-heaven" href="treasures-in-heaven.xhtml" media-type="appl ication/xhtml+xml" /> <item id="attraction" href="attraction.xhtml" media-type="application/xhtml+ xml" /> <item id="secret" href="secret.xhtml" media-type="application/xhtml+xml" /> <item id="orthodox-martial-art" href="orthodox-martial-art.xhtml" media-type="ap plication/xhtml+xml" /> <item id="work-mystic" href="work-mystic.xhtml" media-type="application/xhtml+xm l" /> <item id="life" href="life.xhtml" media-type="application/xhtml+xml" /> </manifest> <spine toc="ncx"> <itemref idref="doxology" /> <itemref idref="letters" /> <itemref idref="apprentice" /> <itemref idref="providence" /> <itemref idref="father" /> <itemref idref="money" /> <itemref idref="love" /> <itemref idref="meatspace" /> <itemref idref="sacrament" /> <itemref idref="commentary" /> <itemref idref="gandhi" /> <itemref idref="exotic" /> <itemref idref="steel" /> <itemref idref="narnia" /> <itemref idref="repentance-heavens-best-kept-secret" /> <itemref idref="unashamed" /> <itemref idref="silence" /> <itemref idref="open" /> <itemref idref="hydra" /> <itemref idref="ordinary" /> <itemref idref="athanasius" /> <itemref idref="philaret" /> <itemref idref="joy" /> <itemref idref="gamechanger" /> <itemref idref="pet" /> <itemref idref="rules-of-engagement" /> <itemref idref="grace" /> <itemref idref="no_rights" /> <itemref idref="memoirs" /> <itemref idref="contemplation" /> <itemref idref="arena" /> <itemref idref="decisive" /> <itemref idref="maximum" /> <itemref idref="pride" /> <itemref idref="survive" /> <itemref idref="find-a-job" /> <itemref idref="russia" /> <itemref idref="spectacles" /> <itemref idref="maximos" /> <itemref idref="blackbird" /> <itemref idref="profoundly-gifted" /> <itemref idref="zeitgeist" /> <itemref idref="martial-arts" /> <itemref idref="now" /> <itemref idref="best" /> <itemref idref="death" /> <itemref idref="sermon" /> <itemref idref="desire" /> <itemref idref="icons" /> <itemref idref="transcendent" /> <itemref idref="halloween" /> <itemref idref="disruptive-unbranding" /> <itemref idref="humor" /> <itemref idref="pleasure" /> <itemref idref="hell" /> <itemref idref="God" /> <itemref idref="admin" /> <itemref idref="strength" /> <itemref idref="mindstorm" /> <itemref idref="modus" /> <itemref idref="lent" /> <itemref idref="treasure" /> <itemref idref="jesus-prayer" /> <itemref idref="monarchy" /> <itemref idref="pilgrim" /> <itemref idref="punk-eek" /> <itemref idref="creation" /> <itemref idref="plato" /> <itemref idref="picture" /> <itemref idref="avatar" /> <itemref idref="social-antibodies" /> <itemref idref="backswing" /> <itemref idref="singularity" /> <itemref idref="women" /> <itemref idref="fulfillment" /> <itemref idref="dissent" /> <itemref idref="yoke" /> <itemref idref="spirit" /> <itemref idref="how-shall-we-live" /> <itemref idref="treasures-in-heaven" /> <itemref idref="attraction" /> <itemref idref="secret" /> <itemref idref="orthodox-martial-art" /> <itemref idref="work-mystic" /> <itemref idref="life" /> </spine> <guide> <reference href="cover.html" type="cover" title="Cover" /> </guide> </package> *title-page.xhtml:* <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> <head> <title>A Wonderful Life</title> <style type="text/css"> body { text-align: center; } </style> </head> <body> <h1>A Wonderful Life</h1> <h2>by<br />C.J.S. Hayward</h2> <p>C.J.S. Hayward Publications, Wheaton</p> </body> </html> The ePub file, such as I have, is online now at http://haywardfamily.org/ Wisdom%20Literature.epub. It is large because of the volume of text; its structure though is meant to be almost at a "Hello, world!" level of simplicity. -- Christos Jonathan Seth Hayward, An Orthodox Christian author. Amazon <http://amazon.com/author/cjshayward> - email <christos.jonathan.hayward@gmail.com> - website <https://cjshayward.com>. Would you help me get to Mount Athos? <https://gofundme.com/the-holy-mountain>
Received on Saturday, 4 November 2017 12:29:37 UTC