View Single Post
Old 03-28-2012, 07:31 PM   #1
seanbob
Enthusiast
seanbob is on a distinguished road
 
Posts: 27
Karma: 52
Join Date: Jun 2009
Device: Sony PRS-650
Page Map Problems

I'm new to using Sigil (v0.5.3), which I'm using to correct typos and create nested TOCs in some commercial ePubs that I've purchased and DRM-stripped. But the resulting ePubs will not open in ADE afterwards.

Validating the ePub in Sigil indicates that the page map references in content.opf need to be changed, along with a host of error messages for every XML in the ePub (missing required attribute 'content' and attribute 'value' is not declared for element meta).

I've also noticed that the _page_map_.xml file has had all its data removed, which originally looked like this:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<page-map xmlns="http://www.idpf.org/2007/opf">
  <page name="1" href="titlepage.xml" />
  ...etc...
This behavior even occurs prior to making any edits to the ePub. Opening and saving the file in Sigil gives the same results on multiple eBooks. Although I can remove references to the page map in content.opf to get the ePub working again, I'd prefer to retain the page map information.

What am I doing wrong that is causing Sigil to overwrite the page map XML and cause these errors? And what can I do to work in Sigil and properly retain the page map file when I'm done?
seanbob is offline   Reply With Quote