![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 228
Karma: 16000
Join Date: Jun 2009
Device: Sony PRS-T1
|
File rejected by Apple
One of our users submitted an EPUB book for inclusion into the iBookstore. The file passed the epubcheck validation test. But this file was rejected by Apple with the following error message:
Apple ERROR ITMS-4000: Line 89 column 63: bad character content for element at XPath/package/book/assets/asset[2]/data_file/file_name. I googled for this error. The only site page where it is mentioned is a bug report page of Calibre: http://bugs.calibre-ebook.com/ticket/5773 I do not have the "guilty" EPUB file (there are privacy concerns I guess). Can anyone say what this error could mean? Thanks. |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Could some file(s) inside the ePUB have a name with non-ascii characters?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
It's very difficult to say without seeing the actual epub. Since it's coming from a Word file there shouldn't be any encoding issues in the file names, since they're all generated by AWP. Maybe ask if they can extract just the .opf file and send it to you.
|
![]() |
![]() |
![]() |
#4 |
Chocolate Grasshopper ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
From experience passing epubcheck is no guarantee of anything .... Pity the error message was not more expressive .... !
|
![]() |
![]() |
![]() |
#5 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 228
Karma: 16000
Join Date: Jun 2009
Device: Sony PRS-T1
|
Quote:
Quote:
It contains 31 HTMLs (chapters). All use a very basic formatting. I have checked all the files from the EPUB package. There is nothing suspicious in any of them at "line 89 column 63". Only plain English text. I suppose that posting the .opf file is not a problem since it is rather a "technical file" (please see attachment). But it is unlikely that the .opf file could be the problem. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
It looks perfectly fine, they haven't added anything else to the package after it was generated, which is why I suggested looking at the opf.
Right now I think the primary suspicion must be some bug in Apple's system. |
![]() |
![]() |
![]() |
#7 |
Chocolate Grasshopper ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
and there is no line "89" in the .opf
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your problem is that the NCX specification does not allow filenames to start with numbers. Valid identifiers have to start with a letter and use only letters, numbers and underscores.
As far as I know Apple is the only organization simple minded enough to impose this restriction. |
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've had people open tickets about it and changing the filename got the epub accepted by Apple. You're probably right in that the spec doesn't specify that convention for the filename, but I'm fairly certain Apple does.
Of course, as with any closed system, no way to be sure, so I could be wrong, but given that the original error message points to a file_name... |
![]() |
![]() |
![]() |
#11 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 228
Karma: 16000
Join Date: Jun 2009
Device: Sony PRS-T1
|
I have just sent a test version of Atlantis Word Processor to that user. It generates HTML filenames starting with a letter. I will let you know if it worked.
Thanks. |
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Hmm, I am looking forward to the answer to this. We have submitted several epubs to Apple that were initially created from .rtf via Atlantis, and -- I just checked -- they have filenames starting with numbers (1.html, etc.). So far they have been accepted by Apple, and AFIK are offered for sale on iBooks.
|
![]() |
![]() |
![]() |
#13 |
ePub Maker
![]() Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
|
|
![]() |
![]() |
![]() |
#14 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 228
Karma: 16000
Join Date: Jun 2009
Device: Sony PRS-T1
|
I have a reply from the user (she is a production manager at a publishing company). Filenames starting with numbers are not a problem, even to Apple (to iPad and iTunes Producer). She said that they have 102 titles currently active at Apple and 136 that have been submitted and are awaiting acceptance, and all were created with Atlantis Word Processor. They always submit Atlantis EPUBs "as is", without "tweaking" them. That "faulty" eBook is the only file that keeps rejecting. By the way, that eBook contains adult material. Maybe this is why iTunes Producer does not want it to get through.
![]() She also said that she will start the file over from scratch and rebuild it to see if that will fix it. |
![]() |
![]() |
![]() |
#15 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,956
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Given that it's Apple, chances are the book is fine and that it's the content that gets it rejected.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
apple rejected/then rates a dictionary as 17+ do to bad words | ahammer | News | 23 | 08-07-2009 11:51 AM |
WIRED: E-Reader iPhone App Rejected Because Users Can Download Kama Sutra | Kris777 | News | 26 | 05-28-2009 08:23 AM |