| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jul 2010 
				
				
				
				Device: ipad 
				
				
				 | 
	
	
	
		
		
			
			 
				
				element "span" not allowed in this context
			 
			
			
			I am getting the following error while trying to upload an ibook to itunes (with itunes producer) converted to .epub with calibre : 
		
	
		
		
		
		
		
		
		
		
		
		
	
	ERROR ITMS-9000: "element "span" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context" at Book (MZItmspBookPackage) ERROR ITMS-9000: "required attributes missing" at Book (MZItmspBookPackage) There is no "span" tag in my html files. but when I convert it to .epub with calibre it comes automatilcally. What should I do?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 ePub Maker 
			
			![]() Posts: 120 
				Karma: 16 
				Join Date: Dec 2009 
				Location: Mordor 
				
				
				Device: iPad,Kindle 3, Nook 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You can check the source HTML (inside ePub) and replace them. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Could you please post a link of the result file?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553 
				Karma: 950151 
				Join Date: Nov 2008 
				
				
				
				Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hae you checked whether the new epub-fix utility fixes this?   I thought one of its main  purposes in life was to get files past the Apple validator.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			epub fix wont fix XHTML errors. At some point in the future, it might, but at the moment, it wont.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Jul 2010 
				
				
				
				Device: ipad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I solved this problem. text must be wrapped in specific tags. <p>,<b>..etc.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| element "img" not allowed in this context | graniton | Calibre | 5 | 05-15-2012 12:39 AM | 
| Yep. It's official. Sony Reader has "ruined" books for me. A final "review." | WilliamG | Sony Reader | 48 | 01-14-2011 04:49 AM | 
| attribute "span" not | paulpeer | Sigil | 14 | 03-10-2010 06:24 PM | 
| "Zeit-Odyssee"-Trilogie droht das "dunkle Turm"-Schicksal | ThR | E-Books | 4 | 02-10-2010 06:18 AM | 
| Crash on nonexistent "title" metadata element | Valloric | EPUBReader | 3 | 12-10-2009 02:46 PM |