Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2014, 06:04 PM   #1
pressmatters
Junior Member
pressmatters began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2014
Device: ipad
Unhappy EPUB3 Fixed Layout Errors... OPF Version Not Found & Prefix Already Specified

Hello all,

I am building a fixed-layout epub for ibooks and have two errors when I run epubcheck 3.0.1:

EXCEPTION: /Users/TechIntern/Desktop/epubbase/epubbase.epub/OEBPS/content.opf: Attribute "prefix" was already specified for element "package".
ERROR: /Users/TechIntern/Desktop/epubbase/epubbase.epub/OEBPS/content.opf: Version not found


The opening section of the offending file looks like this:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package version="3.0" unique-identifier="PrimaryID" xmlns="http://www.idpf.org/2007/opf" prefix="rendition: http://www.idpf.org/vocab/rendition/#" prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/">
	<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
Any help is greatly appreciated. I've been hitting my head against a brick wall for hours now!
pressmatters is offline   Reply With Quote
Old 10-03-2014, 06:50 PM   #2
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Prefix is entered twice on the same line. I am not sure epubcheck will work properly with the iBook version of fixed-layout.

Dale
DaleDe is offline   Reply With Quote
Old 10-29-2014, 08:23 AM   #3
Pinkelman
Junior Member
Pinkelman began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2007
Device: Sony PRS-505
Quote:
Originally Posted by pressmatters View Post
Hello all,

I am building a fixed-layout epub for ibooks and have two errors when I run epubcheck 3.0.1:

EXCEPTION: /Users/TechIntern/Desktop/epubbase/epubbase.epub/OEBPS/content.opf: Attribute "prefix" was already specified for element "package".
ERROR: /Users/TechIntern/Desktop/epubbase/epubbase.epub/OEBPS/content.opf: Version not found


The opening section of the offending file looks like this:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package version="3.0" unique-identifier="PrimaryID" xmlns="http://www.idpf.org/2007/opf" prefix="rendition: http://www.idpf.org/vocab/rendition/#" prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/">
	<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
Any help is greatly appreciated. I've been hitting my head against a brick wall for hours now!
You can combine the two prefix-declarations into one:

Code:
prefix="rendition: http://www.idpf.org/vocab/rendition/#  ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/"
No idea what could be wrong about the version-error though.
Pinkelman is offline   Reply With Quote
Old 10-29-2014, 02:22 PM   #4
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
ePubCheck will validate an EPUB3 with Fixed layout just fine if you follow the rules
odedta is offline   Reply With Quote
Reply

Tags
attribute, fixed layout, opf, package

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ibooks, Epub3 and fixed layout overflow? fdeandao ePub 5 05-15-2014 11:30 PM
Problems with fixed layout epub 3 and iBooks version 2 verydeepwater ePub 10 04-22-2014 05:11 PM
Start page on fixed layout epub3 brunobruno ePub 12 03-30-2013 01:50 AM
Creating Fixed Layout ePub3 from InDesign flipick ePub 12 03-14-2013 09:22 AM
epub3 Sigil Poetry(fixed layout) Giggleton Sigil 7 04-04-2011 12:58 PM


All times are GMT -4. The time now is 07:22 AM.


MobileRead.com is a privately owned, operated and funded community.