エラーの原因と思われた箇所を修正してできたEPUB3フォーマットのHelloWorld文書は以下のようになりました。
mimetype(固定ファイル)
┃
META-INF
┣ container.xml(コンテナ情報)
Content
┣ HelloWorld.opf(パッケージ文書)
┣ navi.xhtml(ナビゲーション用)
┗ HelloWorld.xhtml(本文)
mimetype
application/epub+zip
container.xml
<?xml version="1.0"?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
<rootfile full-path="Content/HelloWorld.opf"
media-type="application/oebps-package+xml" />
</rootfiles>
</container>
HelloWorld.opf
<?xml version="1.0"?>
<package version="3.0" xml:lang="en" xmlns="http://www.idpf.org/2007/opf" unique-identifier="pub-id">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:identifier id="pub-id">urn:uuid:B9B412F2-CAAD-4A44-B91F-A375068478A0</dc:identifier>
<dc:language>en</dc:language>
<dc:title>HelloWorld</dc:title>
<meta property="dcterms:modified">2013-02-28T12:00:00Z</meta>
</metadata>
<manifest>
<item id="HelloWorld" href="HelloWorld.xhtml" media-type="application/xhtml+xml"/>
<item id="nav" href="navi.xhtml" media-type="application/xhtml+xml" properties="nav"/>
</manifest>
<spine>
<itemref idref="nav"/>
<itemref idref="HelloWorld"/>
</spine>
</package>
navi.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>HelloWorld</title>
</head>
<body>
<nav epub:type="toc" id="toc">
<ol>
<li><a href="HelloWorld.xhtml">HelloWorld!</a></li>
</ol>
</nav>
</body>
</html>
HelloWorld.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>HelloWorld</title>
</head>
<body>
HelloWorld!
</body>
</html>

EPUB Validator (beta)による検証では、EPUB 3.0形式の文書として認識されチェックをパス。

前回は表示できなかったiPad miniのiBooks3.0でも表示できるようになりました。

ひとまず最低限のテキストを表示するEPUB3フォーマットはできました。
Tweet