| 
			
			 | 
		#1 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 13 
				Karma: 10 
				Join Date: Feb 2010 
				
				
				
				Device: None 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Valid ePub, but not valid enough for iBooks
			 
			
			
			Hello 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Wondering if anybody else has experienced this problem. I'm working on a batch of ePub files originally generated from InDesign and then edited in Calibre. I'm now trying to get them into Apple's iBooks using the iTunes Producer app. On doing so, we're told ERROR ITMS-9000, unmanifested file "calibre_bookmarks.txt". I opened up the ePub to delete this unmanifested file (maybe that was a bad idea...) and checked that the file validated, which it did. So in theory, I think, that should be OK for iBooks - but instead I'm now getting "Invalid URI in NCX file". Any ideas anyone? Also interested, by the way, in experiences with iTunes Producer. We've tried to upload two titles so far - one is sitting on iTunes connect as "pending" (I wonder for how long?) and the other, though apparently uploaded (and reuploaded) successfully doesn't appear at all. Maybe Apple are having a bit of a backlog? Thanks Michael  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | ||
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196 
				Karma: 1281258 
				Join Date: Sep 2009 
				
				
				
				Device: PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 Quite a lot of problems people have reported end up boiling down to character-encoding issues, which is why I'd recommend using Sigil to do the editing instead, as it's strict about enforcing UTF-8 in the current version.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jun 2010 
				
				
				
				Device: ipad 
				
				
				 | 
	
	
	
		
		
			
			 
				
				same problem
			 
			
			
			i, too, am getting an error at the end of the long itunes producer process. i have now been on the phone with apple for 47 minutes and am getting nowhere. if you have found any help for this, can you post? thanks. gail
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Dylanologist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 200 
				Karma: 146754 
				Join Date: Apr 2010 
				Location: Hanover, New Hampshire, USA 
				
				
				Device: none/all/any 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I got the same error. I've been working on creating a "pristine" epub for Apple. I'll keep checking bach here and let you know if it works.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196 
				Karma: 1281258 
				Join Date: Sep 2009 
				
				
				
				Device: PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well the original poster never came back, so I assume he fixed his problem. It's impossible to tell what's causing the problem without seeing your .ncx file. But, as before, messed-up characters (improper coding, spaces being turned into %20's, etc) are the most likely cause.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Dylanologist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 200 
				Karma: 146754 
				Join Date: Apr 2010 
				Location: Hanover, New Hampshire, USA 
				
				
				Device: none/all/any 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Charleski - I often have code with %20s in place of spaces I've typed. Should I be using an underscore instead? Thx.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196 
				Karma: 1281258 
				Join Date: Sep 2009 
				
				
				
				Device: PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, probably safer, though the real problem is whatever software you have that can't deal with spaces in file names.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Member 
			
			![]() Posts: 13 
				Karma: 10 
				Join Date: Feb 2010 
				
				
				
				Device: None 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196 
				Karma: 1281258 
				Join Date: Sep 2009 
				
				
				
				Device: PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The URIs in the ncx file are fairly easy to spot: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	...
            <navPoint id="navPoint-6" playOrder="6">
                <navLabel>
                    <text>4</text>
                </navLabel>
                <content src="Text/Section0007.xhtml"/>
            </navPoint>
...
I would recommend you run it through epubcheck separately, as that will give the line number on which the error occurred.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 frumious Bandersnatch 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570 
				Karma: 20150435 
				Join Date: Jan 2008 
				Location: Spaniard in Sweden 
				
				
				Device: Cybook Orizon, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 13 
				Karma: 10 
				Join Date: Feb 2010 
				
				
				
				Device: None 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks for that charleski and Jellby. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've had a close look at the file but I just can't see any link that doesn't match up. In the NCX I have... <navPoint class="chapter" id="932a1cb0-ec5c-4a75-ac02-9ef00e71d591" playOrder="58"> <navLabel> <text>Also available</text> </navLabel> <content src="OEBPS/split_017.xhtml#also-available"/> </navPoint> ...and in that file I have a... <p class="also-available-title" id="also-available">Also available</p> Don't normally have problems with broken links but I must be missing something obvious here? Still seems odd that the file validates in epubcheck but is rejected by iTunes Producer. Best Michael  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196 
				Karma: 1281258 
				Join Date: Sep 2009 
				
				
				
				Device: PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just a thought - have you tried removing the hyphen from the fragment id? Hyphens are legal in fragment ids, but Apple doesn't always follow the standards completely.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 15 
				Karma: 10 
				Join Date: May 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Line 105 column 29: unfinished element - i'm getting this error with itunes producer, anyone come across it before? cannot for the life of me figure it out, looked at it so many ways, I'm sure I'm missing something simple.  Any help would be great, thanks.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 698 
				Karma: 150000 
				Join Date: Feb 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 author title publisher in the metadata. (i.e. within content.opf in the epub archive) I've no clue if this is your problem, just thought I'd post it as it wasn't obvious to me from the error message, just what was lacking. HTH  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 13 
				Karma: 10 
				Join Date: Feb 2010 
				
				
				
				Device: None 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hello all 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Just had this from Apple support: All characters in the URIs must be valid. Non-alphanumeric characters must be properly encoded. For example, a space should be encoded as '%20'. The problem most often surfaces in URIs in the NCX files. For more information, refer to Metadata, File Formats and Cataloging in the iBookstore FAQS. Thanks! The ref to the FAQ's is quite handy as well (within iTunes connect) - it seems to have been expanded, last time I looked there were only two questions (both about using iBooks rather than making things for it!) Will investigate further and post any progress. @eBookNoir I'm sure you've thought of this, but I think I've had that error with missing out a closing tag in the TOC or in the HTML files. If the latter, you could try validating each file at http://validator.w3.org (or with the developer toolbar in Firefox) to pinpoint the error. Hope that helps... Michael  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| calibre, epub, itunes connect, itunes producer, validation | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| is my epub valid or not ? | NASCARaddicted | ePub | 2 | 02-10-2010 06:56 AM | 
| Smashwords - Valid Until 03.01.10 | Miladysa | Deals and Resources (No Self-Promotion or Affiliate Links) | 4 | 12-28-2009 10:10 AM | 
| With a valid CC and U.S. Address..... | clobber | Sony Reader | 2 | 12-05-2008 11:04 AM | 
| This book is not valid! | James Bryant | Bookeen | 8 | 06-21-2008 12:09 AM |