-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
While building the ebook multi-agent-model with the current version (086aca6), the epub is not a valid XML which breaks my reader (OReader at C-Tech Lexis; works for ~99% other epubs).
The issues reported by Calibre book editor (in calibre: edit imported book -> check book) are abount an undefined namespace. Indeed the header of chapter files is:
<html xmlns="http://www.w3.org/1999/xhtml"><head/><body><section epub:type="chapter" id="chapter">
<!-- Your contents here -->
<h1>Against "System 1" and "System 2" (subagent sequence) </h1><div><p>The terms System 1 and System 2 [...]This is weird since the template for a chapter (templates/chapter.xhtml) has a different structure and does declare the namespace ...
Perhaps the template is not used, or the EPUB library silently does something weird to it afterwards?
Errors from calibre. Manually removing the namespace epub: fixed this for my reader.
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-10.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-11.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-12.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-13.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-14.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-15.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-16.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-17.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-18.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-2.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-3.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-4.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-5.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-6.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-7.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-8.xhtml]
ERROR: Parsing failed: Namespace prefix epub for type on section is not defined, line 1, column 98 [OEBPS/chapter-9.xhtml]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels