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 06-21-2011, 06:41 AM   #1
Firebrand007
Junior Member
Firebrand007 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: Ipad
Itunes Producer weird error message

Hello,
I'm trying to submit my first ebook to the Appstore through Itunes Producer, I created it with Calibre and then corrected a few errors manually with Sigil.

What's weird is I get the following error message with Itunes Producer , although my Epub is validated by Flightcheck and EpubChecker :

ERROR ITMS-9000: "wonderland_split_001.html(331): element "p" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context" at Book (MZItmspBookPackage)

Any idea where this might come from ? I have no line 331 in the epub, too, it stops at line 161... I'm despairing :-P
Firebrand007 is offline   Reply With Quote
Old 06-21-2011, 09:36 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,496
Karma: 17660776
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
You have to look at the file wonderland_split_001.html. Did you look at that file?
JSWolf is offline   Reply With Quote
Old 06-23-2011, 11:24 AM   #3
Firebrand007
Junior Member
Firebrand007 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: Ipad
Hey JSWolf,
Yes, I did look at wonderland_split_001.html after unzipping the Epub, it is my only file as it is a short story. And I have no idea what I should look at for this error (I have only 161 lines there, the error message seems to refer to line 331...) :-(
Firebrand007 is offline   Reply With Quote
Old 06-23-2011, 08:35 PM   #4
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,786
Karma: 7999034
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
I can think of two possibilities:
1 - You may have very long lines which get split into multiple lines by iTunes Producer. This might happen if your originating software makes each paragraph a single line, as most word processors do. I hate this because I use simple minded text editors like vim or gedit which don't wrap lines, forcing me to scroll sideways when I fix up html code. Html parsers don't generally care about white space, so they can use smaller read buffers than word processors.
2 - Have you tried using an xml verifier on the xhtml file? It should use the xml schema specified in the file and point you to the problem. It sounds sort of like a prematurely terminated body, to me. Sorry I can't think of a verifier for you to use.
pholy is offline   Reply With Quote
Old 06-24-2011, 07:41 AM   #5
Firebrand007
Junior Member
Firebrand007 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: Ipad
Thanks for your suggestions, pholy.
You are right about the long lines, that must be why I get this (331) error.
I edited out 2 sections of "<p>" that seemed a bit weird , and it did the trick, my epub was delivered to Ibookstore !

I think what was causing a problem may have been either
<p class="calibre10 sgc-1">&nbsp;</p>
right before the </body> tag
or
<p><span class="calibre7"><br class="calibre8" id="calibre_pb_7" /></span></p>
which was at the beginning.

Cheers
Firebrand007 is offline   Reply With Quote
Old 06-24-2011, 01:07 PM   #6
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: 9,540
Karma: 4597554
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
I have heard that iBooks does not understand the &nbsp; syntax. It is a serious limitation, if true.
DaleDe is offline   Reply With Quote
Old 06-24-2011, 06:20 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,496
Karma: 17660776
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
iBooks does a lot of weird and not wonderful things.
JSWolf is offline   Reply With Quote
Old 06-24-2011, 07:08 PM   #8
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,786
Karma: 7999034
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
Quote:
or
<p><span class="calibre7"><br class="calibre8" id="calibre_pb_7" /></span></p>
which was at the beginning.
If that part was at the beginning of the file or outside the <body>...</body> it would certainly cause problems... and I'm not sure a <p> without text (although I think the &nbsp; is text) is is correct xhtml...
pholy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any publishers using Itunes producer out there? flfpress Apple Devices 2 05-27-2012 06:30 AM
iTunes upload error message Grady Hendrix Sigil 5 04-29-2011 10:33 AM
My experiments with using a G3 iBook to run iTunes Producer. delphidb96 Apple Devices 4 10-09-2010 03:28 PM
weird epub validation error message GFMCo ePub 2 09-09-2010 07:25 PM
Apple iTunes Producer Error Message Tim Ransom Calibre 0 08-15-2010 03:33 PM


All times are GMT -4. The time now is 10:16 PM.


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