06-21-2011, 06:41 AM | #1 |
Junior Member
Posts: 7
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 |
06-21-2011, 09:36 PM | #2 |
Resident Curmudgeon
Posts: 75,788
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You have to look at the file wonderland_split_001.html. Did you look at that file?
|
Advert | |
|
06-23-2011, 11:24 AM | #3 |
Junior Member
Posts: 7
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...) :-( |
06-23-2011, 08:35 PM | #4 |
Booklegger
Posts: 1,801
Karma: 7999816
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. |
06-24-2011, 07:41 AM | #5 |
Junior Member
Posts: 7
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"> </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 |
Advert | |
|
06-24-2011, 01:07 PM | #6 |
Grand Sorcerer
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
|
I have heard that iBooks does not understand the syntax. It is a serious limitation, if true.
|
06-24-2011, 06:20 PM | #7 |
Resident Curmudgeon
Posts: 75,788
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
iBooks does a lot of weird and not wonderful things.
|
06-24-2011, 07:08 PM | #8 | |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
Quote:
|
|
Thread Tools | Search this Thread |
|
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 |