View Single Post
Old 01-21-2013, 09:53 PM   #1
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
Calibre conversion creates invalid ID

I'm using ebook-convert on the command line to convert EPUB3 to EPUB2 (don't ask). The generated content.opf contains the following line:

<item href="OEBPS/text/cover.jpg" id="45a4ece0-c511-41cf-a1fd-4c2214c2e0bd" media-type="image/jpeg"/>

Turns out this ID is actually invalid, since ID's are not supposed to start with numbers, it would appear. And epubcheck complains, of course, and some overly picky bookstores would actually reject the books for this reason.

Any suggested workarounds other than manually editing the resulting files?
--
BOb
rtmyers is offline   Reply With Quote