|05-02-2011, 10:31 PM||#1|
Join Date: May 2011
"Content is not allowed in prolog." - Enhanced Epub Error Help?
Hello all! I will fully admit to being a noob at the epub game, so please be gentle.
I have an enhanced epub with video that I have created for the iPad. When I sync through iTunes it works perfectly.
The problem comes when posting through iTunesPublisher. Has anyone seen the error: "Content is not allowed in prolog." If so, what does that mean and any thoughts on how to fix it?
BTW, why does Apple make this such a difficult process? If it runs on my iPad during testing, shouldn't it run on every other iPad?
Anyway, thanks for any insights.
Kelly R. Kerr
|05-03-2011, 10:29 AM||#2|
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
The main problems are, that video is not really part of the epub specs and the iBooks app on the iPad is a crap program. The iBooks program doesn't follow a lot of specs and you have to work around it.
Then again, after working around it, it will probably only work on the iBooks app.
Like I said, video is not part of the specs. If you get it to work, there are no garantues. I would advise search around on this forum. Various posts about video on the iPad in a iPub (since it won't be an ePub) are made and I believe also methods to make it work.
|05-03-2011, 12:38 PM||#3|
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
"Content is not allowed in prolog" is a general XML error and it usually means that you have whitespace before the beginning of the content so instead of
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> .... yadda yadda yadda ....
You may have
(new lines or tabs ) <?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
EDIT: ... alternatively ... it's not about your ePub at all, but is a problem sending the request to the Apple servers (firewall, et al inserting content into the body).
Last edited by Jim Lester; 05-03-2011 at 12:41 PM.
|content not allowed, enhanced epub|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Keep getting "Page Error" on epub file when I open it on my PRS-300 (filesize > 25MB)||ryancolm||Sigil||6||09-03-2010 11:45 AM|
|"Protect Page" error with Public Library EPUB books||DojoPat||Sony Reader||28||07-13-2010 01:09 AM|
|Creator taking control of the "first page" link in the "content" menu||cyberbaffled||Kindle Formats||2||07-11-2010 05:21 PM|
|Epub Fixer Error: "zip error: 15"||Gordo29||Kobo Reader||0||06-26-2010 02:57 PM|
|JBL- Calibre ePub sometimes = "File too Large" Error||Ken Maltby||Ectaco jetBook||13||01-09-2010 02:27 PM|